i want to restart frm step 2, previously i coded cond parameter on step2 wht happens at tht time ?

Answers were Sorted based on User's Feedback



i want to restart frm step 2, previously i coded cond parameter on step2 wht happens at tht time ?..

Answer / praveen bejjanki

If you give Restart=step2 in jobname, it will ignore the
cond paramater on step2.
Dont modify the existing cond parm on step2.
Generally if you restart a jcl from a particular step it
will ignore the cond parm for that particular step.

Is This Answer Correct ?    8 Yes 0 No

i want to restart frm step 2, previously i coded cond parameter on step2 wht happens at tht time ?..

Answer / suman

you specify cond=even in step2 and restart step2 by useing
restart parmeter

Is This Answer Correct ?    3 Yes 1 No

i want to restart frm step 2, previously i coded cond parameter on step2 wht happens at tht time ?..

Answer / vimal

you can uncomment the restart step2. so it will work.
and your cond command will have to match that step2 shud
take the input that you have given in step2 rather than
waiting for first step input.

Is This Answer Correct ?    2 Yes 2 No

i want to restart frm step 2, previously i coded cond parameter on step2 wht happens at tht time ?..

Answer / lu

it restart step2 if u keep restart step2 in your JCL,you
have to modify COND...

Is This Answer Correct ?    0 Yes 4 No

Post New Answer

More JCL Interview Questions

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,


When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?

0 Answers   IBM,


I have GDG defined e.g. GDG.smaplegdg.base, after processing the GDG. it contains some records and which is input to the second step2. How can I use GDG to use it as input file at step2.

3 Answers   Wipro,


I have a input file. Data like: ABCDEFGH.... i want out put file like AB BC CD DE....How can do this??

7 Answers   UST,


What is the significance of addrspc parameter in the exec statement?

0 Answers  






How many steps we can overide in the proc's?

2 Answers   CS,


I need to compare two VSAm files. In input VSAM file some fields are updating and the updated feilds are coming into the output file. now i need to compare these two files with respect to a perticular field. Please suggest a suitable JCL code me.

2 Answers   Cognizant, Wipro,


I have 20 steps in a job... step01, 02....step17...step20. For some reason I want to execute step17 only if the return code for all the previous steps are less than or equal to 4. otherwise if return code for any of the previous 16 steps is greater than 4, then step17 should be bypassed. How do I do that ?? how and in which step should i formulate COND parameter

8 Answers  


how to run JCL thru COBOL.

1 Answers   Patni,


How do you find which GDG is using which dataset?

3 Answers   Patni,


How to send different PARM values based on the any condition to the program in a JCL? For example :- If the time is before 12:00 pm, I want to send "A" to some program and if it past 12:00 pm , I want to send "B" as a PARM value to that program. How to do it thur JCL only?

0 Answers   UHG,


We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?

0 Answers   IBM,


Categories