LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous (more recent) messageNext (less recent) messagePrevious (more recent) in topicNext (less recent) in topicPrevious (more recent) by same authorNext (less recent) by same authorPrevious page (February 2006, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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
Comments: To: sas-l@uga.edu
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


Back to: Top of message | Previous page | Main SAS-L page