|
|
| Author |
Message |
UmeySan
Senior Member
Joined: 22 Aug 2006 Posts: 624 Location: Germany
|
|
|
|
There is nothing intresting.
It is exactly as gcicchet already mentioned some post's before.
If you have a clear look at the JCL of srramesh and Gousiya Mulla,
you could see the difference.
Add space-parameter in the delete-step, and that's it. |
|
| Back to top |
|
 |
References
|
Posted: Tue Jul 22, 2008 8:32 pm Post subject: Re: |
 |
|
|
 |
dick scherrer
Global Moderator
Joined: 23 Nov 2006 Posts: 7505 Location: 221 B Baker St
|
|
|
|
Hello srramesh,
As you've been asked before - do not use images/screen captures to show your info. Used the "Code" tag on the Reply panel.
If other posts arrive with images, they will be deleted. |
|
| Back to top |
|
 |
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 456
|
|
|
|
Hi Gousiya,
your post will not work even though you say it worked.
//STEPDEL1 EXEC PGM=IEFBR14
//FILE1 DD DSN=TFPZ.TEST5.FILE
//STEPDEL1 EXEC PGM=IEFBR14
//OUTFILE DD DSN=TFPZ.TEST5.FILE,
// DISP=(NEW,CATLG,DELETE),
// UNIT=SYSDA,SPACE=(TRK,(5,3),RLSE),
// DCB=(DSORG=PS,RECFM=FB,LRECL=80,BLKSIZE=800)
//*
In step STEPDEL1 you have not coded any disposition, the only reason it worked is because the file did not exist, no disp defaults to
DISP=(NEW,DELETE), had the file existed it would have resulted in a JCL error, duplicate name.
Gerry |
|
| Back to top |
|
 |
Gousiya Mulla
New User
Joined: 02 Jun 2008 Posts: 20 Location: bangalore
|
|
|
|
| Quote: |
| had the file existed it would have resulted in a JCL error |
Hi Gerry ,
Yes it is , But I was checking for the code mentioned as initial query by srramesh . |
|
| Back to top |
|
 |
|
|
|