View previous topic :: View next topic
|
Author |
Message |
sunny_io
New User
Joined: 11 Jul 2007 Posts: 68 Location: noida
|
|
|
|
Hi All ..
I am using the following code.
Code: |
//PS000 EXEC PGM=IEFBR14
//SYSTSPRT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//DD01 DD DSN=my-file-name ,
// DISP=(MOD,DELETE,DELETE),
// MGMTCLAS=STANDARD,STORCLAS=BASE,
// AVGREC=K,SPACE=(4096,(1,2),RLSE)
// RECFM=VB,LRECL=12284 |
Can you pls clarify which all parameters are required and in case I am missing some/using some extra
thanks in advance |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
You need the DSN, DISP=(MOD,DELETE,DELETE) and space parameters for it to work.
Usually SPACE=(TRK,0) will suffice.
But the interest is why do you not use IDCAMS |
|
Back to top |
|
|
sunny_io
New User
Joined: 11 Jul 2007 Posts: 68 Location: noida
|
|
|
|
The file I'm using as input has symbolic parameters in its name..
So I am not using IDCAMS as giving the datasets in SYSIN card.
the job dosn't resolve them so I opted the IBM dummy IEFBR14 program..
Does it effect the performance or depict naive coding ?
Appreciate the concern.
Thanks
Sunny |
|
Back to top |
|
|
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 1702 Location: Australia
|
|
|
|
Hi,
the difference between using IEFBR14 and IDCAMS is that if the dataset is migrated, IEFBR14 will recall the dataset back to disk and then delete it,
IDCAMS will issue a HDELETE instead.
Gerry |
|
Back to top |
|
|
|