View previous topic :: View next topic
|
Author |
Message |
veena_nagesh2002 Warnings : 1 Active User
Joined: 07 May 2005 Posts: 110 Location: hyderabad
|
|
|
|
Note : May be known and repeated topic, but didn't get expected results in form seach
How to verify whether a Dataset is present or not (either DS/PS) through rexx. i want to delete if its present else i want to create
please provide me same code |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Quote: |
please provide me same code |
Please provide me with daily rate 0f 750 euro.
It is not clear what you want to do.
If the file is present - you want to delete it and then re allocate it or do you only want to delete it.
If the file is not present, then you want to allocate it.
Please clarify.
And DO NOT ask for code |
|
Back to top |
|
|
Aaru
Senior Member
Joined: 03 Jul 2007 Posts: 1287 Location: Chennai, India
|
|
|
|
Veena,
Quote: |
How to verify whether a Dataset is present or not (either DS/PS) through rexx. |
You can use SYSDSN for your requirement.
something like this
Code: |
ADDRESS "TSO"
NAME= your dataset
IF SYSDSN(NAME)='OK' THEN
DO
statements
END |
|
|
Back to top |
|
|
veena_nagesh2002 Warnings : 1 Active User
Joined: 07 May 2005 Posts: 110 Location: hyderabad
|
|
|
|
Aaru Vedam
really thanks alot for your help, its working 100%
thanks alot once again |
|
Back to top |
|
|
Aaru
Senior Member
Joined: 03 Jul 2007 Posts: 1287 Location: Chennai, India
|
|
|
|
Veena,
Quote: |
thanks alot once again |
You are welc me. |
|
Back to top |
|
|
|