Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How to create two pds in single step

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
rameshwar

New User


Joined: 26 Aug 2006
Posts: 2

PostPosted: Sun Aug 27, 2006 3:21 pm    Post subject: How to create two pds in single step
Reply with quote

hi,all
how can i create two pds in single step.And delete them in single step.
Back to top
View user's profile Send private message

ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Sun Aug 27, 2006 4:04 pm    Post subject:
Reply with quote

1. REXX
2. ISPF Services
3. IKJEFT01

o.
Back to top
View user's profile Send private message
stly
Warnings : 1

New User


Joined: 25 Jul 2005
Posts: 93

PostPosted: Mon Aug 28, 2006 10:58 am    Post subject: Re: How to create two pds in single step
Reply with quote

Hi here is the simple JCL to create 2 PDS in a single step.


//abc JOB (TDEV,TST),'abc',MSGCLASS=9,
// CLASS=C,NOTIFY=abc
//*
//STEP01 EXEC PGM=IEFBR14
//DD01 DD DSN=temp1.TEMP.FILE4,
// DISP=(MOD,CATLG,DELETE),
// SPACE=(TRK,1),UNIT=SYSDA,
// DCB=(DSCB1,RECFM=FB,LRECL=80,BLKSIZE=0)
//SYSOUT DD SYSOUT=*
//DD02 DD DSN=temp1.TEMP.FILE3,
// DISP=(MOD,CATLG,DELETE),
// SPACE=(TRK,1),UNIT=SYSDA,
// DCB=(DSCB1,RECFM=FB,LRECL=80,BLKSIZE=0)
//SYSOUT DD SYSOUT=*
//*



similarly u can delete the pds in a single step.


correct me if i m not correct
Back to top
View user's profile Send private message
stly
Warnings : 1

New User


Joined: 25 Jul 2005
Posts: 93

PostPosted: Fri Sep 01, 2006 3:10 pm    Post subject: Re: How to create two pds in single step
Reply with quote

Hi ramesh,
small correction for my prev post.i have coded space paramter such that PS will be created.
just change the space parameter.

ex:SPACE=(CYL,(2,5,5),rlse)


5-specifies the directory block
Back to top
View user's profile Send private message
rameshwar

New User


Joined: 26 Aug 2006
Posts: 2

PostPosted: Thu Sep 07, 2006 9:39 pm    Post subject: Re: How to create two pds in single step
Reply with quote

hi
Its working fine.thanks for your kind support
regards
Rameshwar
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Validate date and numeric fields and ... Rick Silvers DFSORT/ICETOOL 6 Thu May 11, 2017 6:51 pm
No new posts Unable to create multiple files using... mbattu COBOL Programming 3 Fri May 05, 2017 5:35 pm
No new posts copy SEQ to PDS and create stats steve-myers JCL & VSAM 5 Thu Apr 27, 2017 1:15 am
This topic is locked: you cannot edit posts or make replies. SDSF multiple spool datasets extracte... PJAlarcon CLIST & REXX 1 Fri Apr 21, 2017 10:50 pm
No new posts Data replication from multiple Db2 ta... kishpra DB2 9 Mon Mar 27, 2017 9:58 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us