View previous topic :: View next topic |
Author |
Message |
warp5 Intermediate
Joined: 02 Dec 2002 Posts: 429 Topics: 18 Location: Germany
|
Posted: Wed Dec 18, 2002 1:34 am Post subject: |
|
|
Try out the tso LISTALC command. |
|
Back to top |
|
|
Premkumar Moderator
Joined: 28 Nov 2002 Posts: 77 Topics: 7 Location: Chennai, India
|
Posted: Wed Dec 18, 2002 1:59 am Post subject: |
|
|
Ravi,
You will have to use the STATUS operand.
For syntax and operands use "TSO HELP LISTALC". |
|
Back to top |
|
|
warp5 Intermediate
Joined: 02 Dec 2002 Posts: 429 Topics: 18 Location: Germany
|
Posted: Wed Dec 18, 2002 7:24 am Post subject: |
|
|
Premkumar beat me to it. It should be added that you will have to outtrap the LISTALC STA command and process the outtrap data. |
|
Back to top |
|
|
Bill Dennis Advanced
Joined: 03 Dec 2002 Posts: 579 Topics: 1 Location: Iowa, USA
|
Posted: Wed Dec 18, 2002 9:19 am Post subject: |
|
|
The ALLOC command also returns a cond code after execution. Test for CC=0 and your file will be allocated successfully. I do this in CLISTs.
Bill |
|
Back to top |
|
|
fz Beginner
Joined: 18 Dec 2002 Posts: 2 Topics: 0 Location: Bavaria, Germany
|
Posted: Wed Dec 18, 2002 11:00 am Post subject: |
|
|
Try LISTDSI with file option:
Code: |
x=listdsi('DDN1 file')
|
if x=0 you can get the allocated dsn in variable sysdsname. |
|
Back to top |
|
|
|
|