View previous topic :: View next topic
|
Author |
Message |
nitya Warnings : 2 New User
Joined: 09 Dec 2005 Posts: 17 Location: Tirupathi
|
|
|
|
If the COND specifed in the JOB statement becomes true for any JOB step, then
a) ALL the subsequent steps of the job are bypassed
b) The JOB abends
c) The COND on the JOB statement is ignored
d) None of the above
can anyone tell me about this??
Regards
Nitya |
|
Back to top |
|
|
Phrzby Phil
Senior Member
Joined: 31 Oct 2006 Posts: 1042 Location: Richmond, Virginia
|
|
|
|
You can test this kind of question very simply with code similar to the following, changing the settings and tests accordingly:
//JOBNAME JOB (QQSP0000090,20),ETC.,
// COND=(4,LT)
//*
//IDCAMS EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
SET MAXCC = 2
//A EXEC PGM=IEFBR14,COND=(0,NE)
// |
|
Back to top |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
The ans is "A". |
|
Back to top |
|
|
krishna_sureka
New User
Joined: 05 Sep 2006 Posts: 7 Location: Pune
|
|
|
|
I will go with "D".
The job behaviour will also depend on if there is any COND at subsequent steps. Step level COND will override JOB level condition. Also if there is EVEN or ONLY at subsequent steps, It will decide if the step will be executed or bypassed.
|
|
Back to top |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
From the Zos JCL Reference Manual:
Quote: |
When a step is bypassed because of a JOB COND parameter, all following steps in the job are bypassed. |
|
|
Back to top |
|
|
deepak.vl
New User
Joined: 17 Feb 2007 Posts: 38 Location: Hyderabad
|
|
|
|
krishna_sureka wrote: |
I will go with "D".
The job behaviour will also depend on if there is any COND at subsequent steps. Step level COND will override JOB level condition. Also if there is EVEN or ONLY at subsequent steps, It will decide if the step will be executed or bypassed.
|
Mr. Sureka,
How r u doing?
I think, assuming no step has a COND parameter, it will bypass all the subsequent steps. If any of the step has a COND parameter then what ever you said will work. |
|
Back to top |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
I give up. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Bet that terminal comes with a DWIT key.
Do What I Think. |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
dick scherrer wrote: |
DWIT key |
|
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Gotta scroll down and read it all
Quote: |
Bet that terminal comes with a DWIT key.
Do What I Think.
|
|
|
Back to top |
|
|
|