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

How to create two pds in single step


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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: 2358
Location: Israel

PostPosted: Sun Aug 27, 2006 4:04 pm
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
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Return codes-Normal & Abnormal te... JCL & VSAM 7
No new posts How to create a list of SAR jobs with... CA Products 3
No new posts How to append a PS file into multiple... JCL & VSAM 3
No new posts Submit multiple jobs from a library t... JCL & VSAM 14
No new posts Convert single row multi cols to sing... DFSORT/ICETOOL 6
Search our Forums:

Back to Top