what happens if job falls in loop ? how to resolve it ?

Answers were Sorted based on User's Feedback



what happens if job falls in loop ? how to resolve it ?..

Answer / srk

we can specify a time limit for the execution of the job or
job step through time parameter, after the time limit is
reached the job or job step is automatically terminated.


//jobname job time=(minits,seconds)

Is This Answer Correct ?    8 Yes 0 No

what happens if job falls in loop ? how to resolve it ?..

Answer / lu

when you run your job, you guest how long it takes, if you
see it runs for a little while,try get into SDSF in ouput
queue, hit enter to see a cpu time... you cancel your job
and dump it and read it... To solve it put display in your
program and rerun..

Is This Answer Correct ?    1 Yes 1 No

what happens if job falls in loop ? how to resolve it ?..

Answer / vinay sonar

If your job is going in loop you will get system abend S322.
It will cause your server to hang.

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More JCL Interview Questions

Hi, I have a requirement File A : I have 6 records out of which 4 are same. File B: I have 8 records out of 6 records are same. The 4 records in FILEA and 6 records in FILE B are same. If we substract we will get two records, I need these two records in output file This is because to remove the duplicates from the database. Through easytrieve we can compare but for that there should not duplicates, but in my file I have duplicates. Thanks in advance!!

2 Answers  


Step 1 RC 4 Step 2 Step 3 I want to know the COND parameter which can be coded in step 2 or 3. Step 2 should be executed based on Step 1 RC and Step 3 should not be executed based on step 1's RC

0 Answers  


How to execute a set of JCL statements from a COBOL program ?

6 Answers  


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  


Explain the function of //cntl statement?

0 Answers  






How to execute step2,step5,step7 of a proc of 10 steps? You are not allowed to change in JCL.

3 Answers   IBM,


hi friends........if u know syntax of IEBEDIT IN JCL

2 Answers  


Why include statement is used in a jcl?

0 Answers  


Can I concatenate various datasets whose organization are different from each other. Lets say I want to cancatenate a PDS file, a PS file, a GDG file etc. Can You do that ?? If yes, how ? is there any separate Utility to do so ???

4 Answers  


How to identify in JCL that an input file is empty without reading it?

4 Answers   L&T,


I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?

0 Answers  


What is model dataset label(Model DSCB)?

1 Answers  


Categories