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
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 |
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 |
I am getting the file from Unix to Mainframes for every 15 minutes. The mainframe job get abended with bad records coming from unix. I recovered that by deleting the bad data. I need permenant solution how to fix the issue? The record is getting characters in in first 9 positions which it should not. Please provide me the solution how to skip the records if it finds the charcters in the first 9 positions. K
If i am going to change some variable in a copybook( size or variable type) ,what are the changes that need to be done in the corresponding JCL.
What is NOTCAT ?
can we maintain 2 generations with different Lengths in Same GDG ?
Does jcl support automatic restart?
in jcl you are having JCLLIB and STEPLIB what happens
Suppose there are 2 Input files Infile-1 and Infile-2. Both the Files contain Employee Records. You need to compare both the files and Write the Common Records in third file named Outfile. How can we do this using File-Aid?
The disp in the JCL is MOD and the program opens the file in OUTPUT mode. What happens ? The disp in the JCL is SHR and the pgm opens the file in EXTEND mode. What happens ?
which utility is used a dummy utility?
If a jcl has just 1 step and the input file to this does not exist, then what will happen if we submit this job?
Can a job have only steplib and no joblib ?
Can we find specific member without knowing the name of PDS or can we search a member to which PDS it belongs to? if so how?