Folks,
At times we are in need to know if few datasets already exist in HOST.It's a very easy piece of code that would help us to know if dataset exist or not.
/***************REXX AT REXXPROGRAMMING.BLOGSPOT.COM***************/
IF SYSDSN("dataset.name") = "OK" THEN
DO
SAY "DATASET EXISTING"
END
ELSE
DO
SAY "DATASET DOES NOT EXIST"
END
EXIT
where 'dataset,name' is the dataset to be checked for existence.
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-33389906-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
At times we are in need to know if few datasets already exist in HOST.It's a very easy piece of code that would help us to know if dataset exist or not.
/***************REXX AT REXXPROGRAMMING.BLOGSPOT.COM***************/
IF SYSDSN("dataset.name") = "OK" THEN
DO
SAY "DATASET EXISTING"
END
ELSE
DO
SAY "DATASET DOES NOT EXIST"
END
EXIT
where 'dataset,name' is the dataset to be checked for existence.
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-33389906-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
How can I check missing files in list of files using Rexx and the missing files will be stored in another dataset
ReplyDelete