Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
while submitting the job first time the file does not exist.
Goto page Previous  1, 2
 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL
Author Message
UmeySan

Senior Member


Joined: 22 Aug 2006
Posts: 624
Location: Germany

PostPosted: Tue Jul 22, 2008 8:32 pm    Post subject:
Reply with quote

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
View user's profile Send private message
References
PostPosted: Tue Jul 22, 2008 8:32 pm    Post subject: Re: Reply with quote

dick scherrer

Global Moderator


Joined: 23 Nov 2006
Posts: 7505
Location: 221 B Baker St

PostPosted: Tue Jul 22, 2008 10:00 pm    Post subject:
Reply with quote

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
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 456

PostPosted: Wed Jul 23, 2008 4:02 am    Post subject:
Reply with quote

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
View user's profile Send private message
Gousiya Mulla

New User


Joined: 02 Jun 2008
Posts: 20
Location: bangalore

PostPosted: Wed Jul 23, 2008 6:56 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL All times are GMT + 6 HoursGoto page Previous  1, 2
Page 2 of 2