Date: Tue, 14 Feb 2006 23:26:17 -0800
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
Subject: To check whether dataset exist or not in JCL
Content-Type: text/plain; charset="iso-8859-1"
Hi JCL Friends,
It would be a great help if u could solve my problem.
Following is the problem i do have....
Before reading or creating any dataset in the program i want to check
whether the particular dataset exist or not.IS there any function to
check whether the dataset exist or not.
The following is the stuff i want to do.
If the dataset exist then rename dataset X to y,and continue with the
If the dataset doesn't exist then write the dataset doesn't
exist...then comeout of the program.
Thanks a lot well in advance.