|
View previous topic :: View next topic
|
| Author |
Message |
kalaignar_S Warnings : 1 New User
Joined: 06 Jan 2006 Posts: 21
|
|
|
|
Hi..
I have a jcl containg 5
| Code: |
//job
//step1 exec pgm=test
//dd1 dd dsn=app.ks94431.ps,disp=(new,pass,delete)
//step2 exec pgm=test1
//step3 exec pgm=test2
//step4 exec pgm=test3
//step5 exec pgm=test4 |
after successful run of the above job.
what wil happend to the dataset app.ks94431.ps?
Thanks
Kalaignar |
|
| Back to top |
|
 |
priyesh.agrawal
Senior Member

Joined: 28 Mar 2005 Posts: 1448 Location: Chicago, IL
|
|
|
|
Frm the Manuals...
| Quote: |
PASS
Indicates that the data set is to be passed for use by a subsequent step in the same job. |
Check the link for complete reference...
Regards,
Priyesh. |
|
| Back to top |
|
 |
kalaignar_S Warnings : 1 New User
Joined: 06 Jan 2006 Posts: 21
|
|
|
|
Priyesh..
Pls let me know the status of the dataset after the successful run of the job..
Whether deleted or catlg?
kalaignar |
|
| Back to top |
|
 |
priyesh.agrawal
Senior Member

Joined: 28 Mar 2005 Posts: 1448 Location: Chicago, IL
|
|
|
|
After successful completion of the job this dataset would not be catalogged. It would be available within the job.
Regards,
Priyesh. |
|
| Back to top |
|
 |
martin9
Active User

Joined: 01 Mar 2006 Posts: 290 Location: Basel, Switzerland
|
|
|
|
hy kalaignar_S,
your file is not deleted,
therefore exists, but uncatalogued.
use DISP=(NEW,CATLG,DELETE)
if it is catalogued, all next steps can refer to it.
martin9 |
|
| Back to top |
|
 |
|
|