Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


THERE IS ONE STEP AS BELOW:
//STEPJS060 EXEC PGM=XYX,
COND=((200,EQ,JS010),(0,NE,JS020.C),EVEN)
COULD ANY ONE EXPLAIN HOW COND PARAMETER WORKS HERE?
I AM CONFUSED BECOZ OF "EVEN".

Answers were Sorted based on User's Feedback



THERE IS ONE STEP AS BELOW: //STEPJS060 EXEC PGM=XYX, COND=((200,EQ,JS010),(0,NE,JS020..

Answer / veerakumar k

'Even' is generally used in such a scenerio that even if
the previous step abends, the current step has to be
executed.

Is This Answer Correct ?    2 Yes 2 No

THERE IS ONE STEP AS BELOW: //STEPJS060 EXEC PGM=XYX, COND=((200,EQ,JS010),(0,NE,JS020..

Answer / rookie

Here first
(200,eq,js010) will be checked it true the step will be
bypassed without further processing
if false then
(0,ne,js020.c) will be checked if false then again the step
will bypassed with no further processing of the cond
if false then
even will come to picture and the step will be executed even
if thr was any previous abends.

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More JCL Interview Questions

Please go thru the below points and let me know how to code this. 1. Sort the input dataset for the condition : Starting position is 37,length of the field is 13 based on character and in the ascending order , starting from position 25 length of 12 ,character and in the ascending order. Use a temporary dataset to hold the sorted file. 2. Use the temporary file created in the above step as the input for the next step. The next step is to execute a program and produce an output file. Use the temporary file created in the above as work file 1 and the output of the file to be created in this step work file 2.Also, pass a parameter to the program that is to be executed in this step. The parameter should have the current date in YYYYMMDD format. For the sake of convenience, you can use the below Job Name : Sample1 Input DSN : PCABDT11.CABD.TEST.INPUT Temporary DSN : Sort1 Output DSN : PCABDT11.CABD.TEST.OUTPUT Program Name : SAMPLE Thanks in Advance for your response.

2 Answers  


i have 5 steps to execute in that i want to skip 3nd step and start execute from forth step how can u do this.

7 Answers   Syntel,


What is DYNAMBR in jcl?

2 Answers   CTS,


Max generations in GDG??

15 Answers   Xansa,


I have a JCL with 10 steps, want to execute first 5 steps only, what are ways of doing it?is it possible to control through JOB card?

10 Answers   iGate,


My JOB contains three steps. //STEP1 EXEC PGM=ABC //STEP2 EXEC PGM=DEF //STEP3 EXEC PGM=GHI My Question is 1) I want to execute second step only. How will do. 2) Soppose U consider above three steps are in PROC steps and I want execute the PROC second step only? How to execute the second step only. During exection time its creating any ABEND? Please let me know..........

2 Answers  


Suppose I have 5 dataset listed under a single DD name in a catlogued PROC. How can I override one of those 5 dataset (say 3rd dataset)?

5 Answers   Cognizant,


how do u send return code from cobol to jcl ?

2 Answers   TCS,


What is concatenating?

0 Answers  


What are the common keyword parameters in both job and exec statements

4 Answers   Cap Gemini,


what operation is performed by job statement?

0 Answers   IBM,


Suppose your program is reading a Sequential Vsam file. The file contains 10 records. How will you code the JCL to read only 2nd, 5th, 7th,and 10th record?

1 Answers   Thomson,


Categories