| Date: | Tue, 14 Feb 2006 23:26:17 -0800 |
| Reply-To: | chethan.gurumurthy@GMAIL.COM |
| Sender: | "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> |
| From: | chethan.gurumurthy@GMAIL.COM |
| Organization: | http://groups.google.com |
| 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
remaining statements.
If the dataset doesn't exist then write the dataset doesn't
exist...then comeout of the program.
Thanks a lot well in advance.
Chethan
|