in step1 of a jcl,disp=(mod,delete,delete)
step02 exec pgm=ccc,cond=(0,le)
will step02 be executed?
i)never
ii)always
iii)
iv)...
i dont remember options
Answers were Sorted based on User's Feedback
Answer / y@$w@nth
disp=(mod,delete,delete)
will tells that if the file is not previously created create
it if it is already created then use that file.
the two delete statements will tell that delete the file
after norml and abnormal termination.
step02 exec pgm=ccc,cond=(0,le)
Here step02 was coded as condition code which always falls
to true so this step wont execute in any situation......
Is This Answer Correct ? | 26 Yes | 0 No |
Answer / vinay sonar
Step2 will not execute because always true condition is
coded in step2.
condition code(cc) 0 will be always less than any previous
step cc say 0,4,8,4095 etc. so condition is always true.So
step2 wont execute
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / sowmya
step2 will be executed.the steps after the step2 will be by-
passed
Is This Answer Correct ? | 1 Yes | 9 No |
how can we pass parameters from JCL to cobol subprogram...my requirement is i should not get data from mainprogram but i need it from JCL directly
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 program opens the file in EXTEND mode. What happens ?
I am having one step in my jcl.in that step,i am calling one proc.In that proc,i have 10 steps.i want to call a particular step in that proc without writing any new jcl ike iebedit utility...
lines(1,cancel)??What is meant by that??Plz explain it....
Mention the types of job control statements?
What is Backward Referencing ?
Can a job have only steplib and no joblib ?
Hi, My dataset have multiple records, say 100. I want to start copy records only after a record contain a specific value that may be in a specific position. Secondly I want to stop copying rest records if certain record contains a specific value. Can it be done using SORT/ICETOOL utilities?
Do we need to code DCB parameters when using DISP position as MOD?
If a JOBSTEP abends, AND without using COND also, all the subsequent steps execute, then what is the use of using EVEN ? Why do we use EVEN when without it also all the JOBSTEPs execute ?
How dummy is used in jcl?
How do you send the output of a COBOL program to a member of a PDS?