IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

disp=(new,pass,delete)


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
kalaignar_S
Warnings : 1

New User


Joined: 06 Jan 2006
Posts: 21

PostPosted: Wed Apr 05, 2006 12:00 pm
Reply with quote

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
View user's profile Send private message
priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1448
Location: Chicago, IL

PostPosted: Wed Apr 05, 2006 12:09 pm
Reply with quote

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
View user's profile Send private message
kalaignar_S
Warnings : 1

New User


Joined: 06 Jan 2006
Posts: 21

PostPosted: Wed Apr 05, 2006 12:12 pm
Reply with quote

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
View user's profile Send private message
priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1448
Location: Chicago, IL

PostPosted: Wed Apr 05, 2006 1:08 pm
Reply with quote

After successful completion of the job this dataset would not be catalogged. It would be available within the job.

Regards,
Priyesh.
Back to top
View user's profile Send private message
martin9

Active User


Joined: 01 Mar 2006
Posts: 290
Location: Basel, Switzerland

PostPosted: Wed Apr 05, 2006 2:36 pm
Reply with quote

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
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Is this possible via sort (in one pass)? SYNCSORT 4
No new posts DELETE SPUFI DB2 1
No new posts DSNTIAUL driven delete IBM Tools 0
No new posts How to pass the PARM value to my targ... COBOL Programming 8
No new posts Dynamically pass table name to a sele... DB2 2
Search our Forums:


Back to Top