MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

restarting a step with cond codes !!??

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
mf_user
Intermediate


Joined: 01 Jun 2003
Posts: 372
Topics: 105

PostPosted: Wed Feb 01, 2006 9:20 am    Post subject: restarting a step with cond codes !!?? Reply with quote

Hi,

Is there any significance if we use RESTART a step that has got COND codes?

The situation is a big job was abended with SE37 abend in JS210 step that has COND codes as shown below.

//JS210 EXEC PGM=XXXX,
// REGION=256K,
// COND=((200,EQ,JS010),
// (0,LT,JS200))

//SYSLIB DD DSN=XXXXX.XXXXX.XXXXLIB,
// DISP=(SHR,KEEP,KEEP)
//SYSLIN DD DSN=XXXXX.XXXXX.XXXXECG,
// DISP=(SHR,DELETE,KEEP)
//SYSPRINT DD SYSOUT=*,
// DCB=(RECFM=FBM,LRECL=121,BLKSIZE=0,DSORG=PS)
//SYSTERM DD DUMMY
//SYSUT1 DD UNIT=SYSDA,
// SPACE=(10796,(120,60))
//*

Whether we comment them or leave them as it is, is it going to make any difference when this job is restarted from the particular step?

Also, what can be achieved from the "(0,LT,JS200)"? A step can never issue a return code less than 0 !!

Please explain.
_________________
MF
==
Any training that does not include the emotions, mind and body is incomplete; knowledge fades without feeling.
==
Back to top
View user's profile Send private message Send e-mail
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Wed Feb 01, 2006 9:32 am    Post subject: Reply with quote

mf_user,

Please go back and provide feedback for all the solutions you received on this board and then we will answer your questions

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
mf_user
Intermediate


Joined: 01 Jun 2003
Posts: 372
Topics: 105

PostPosted: Wed Feb 01, 2006 9:47 am    Post subject: Reply with quote

Well....I missed to thank people only twice I believe.......

Bad manners....isn't it? I will be prompt here onwards.

Big Thanks to you people.
_________________
MF
==
Any training that does not include the emotions, mind and body is incomplete; knowledge fades without feeling.
==
Back to top
View user's profile Send private message Send e-mail
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Wed Feb 01, 2006 9:56 am    Post subject: Reply with quote

Mf_user,

It is not the question of thanking the person that helped you. Providing feedback (whether the solution worked or not) will help future searches. Also it does not hurt to thank the person who helped you.

Check this link and read section 16.5.6.5 When the JOB Statement Contains a RESTART Parameter which is a subtopic at the bottom of the link

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IEA2B631/16.5.6?SHELF=&DT=20030423085347&CASE=

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
mf_user
Intermediate


Joined: 01 Jun 2003
Posts: 372
Topics: 105

PostPosted: Wed Feb 01, 2006 9:59 am    Post subject: Reply with quote

Well...well....well...........that was really a beautiful piece of information.

16.5.6.3 COND Parameter on the First Statement in a Job
The system evaluates a COND parameter on the first EXEC statement in a job as false. However, you can use an IF statement before the first EXEC statement in a job to bypass the step. See Chapter 17, "IF/THEN/ELSE/ENDIF Statement Construct" in topic 17.0 for more information.

It has completely cleared my doubt. Thanks a lot Kolusu.
_________________
MF
==
Any training that does not include the emotions, mind and body is incomplete; knowledge fades without feeling.
==
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group