Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 How to convert 2 bytes into single by... pkmurali DB2 4 Fri May 25, 2018 1:41 pm
No new posts SORT 3 files,extract specific fields ... Kiransr DFSORT/ICETOOL 13 Fri Mar 23, 2018 10:54 am
No new posts Need better approach to create a sort... Vamshi Veludandi DFSORT/ICETOOL 8 Thu Mar 08, 2018 5:59 pm
No new posts Xpediter: STEP OVER cobol section Auryn Compuware & Other Tools 0 Thu Feb 22, 2018 9:30 pm
No new posts Can we create REXX ouput in an Excel ... upendrasri CLIST & REXX 3 Wed Jan 17, 2018 8:19 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us