Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
Re:-Check for the dataset

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
Author Message
shrivatsa

Active User


Joined: 17 Mar 2006
Posts: 159
Location: Pune

PostPosted: Tue Apr 04, 2006 9:59 am    Post subject: Re:-Check for the dataset
Reply with quote

Hi All,

I have a production Job which is creating a dataset called XXX5.XXXX.X6X601.

I need a help to write a program to check the above dataset is available to use or not?
Is it possible through CLIST or REXX?

Can anyone help me....

Thanks
Shri
Back to top
View user's profile Send private message
References
ap_mainframes

Active User


Joined: 29 Dec 2005
Posts: 140
Location: Canada

PostPosted: Tue Apr 04, 2006 6:52 pm    Post subject: Re: Re:-Check for the dataset
Reply with quote

I suppose that you mean that if the dataset is existing and is available for editing.

You can use
SYSDSN('datasetname') = 'OK' then
its available.


hope this is what you were asking.
ap_mainframes.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1