Interview Questions   Tutorials   Discussions   Programs   

JCL - How can you trap abends in the JCL?




473
views
asked mar September 8, 2014 11:48 AM  

How can you trap abends in the JCL?


           

1 Answers



 
answered By Mswami   0  

Use IF ABEND statement in the JCL.

Example:

//IFBAD IF (ABEND OR STEP1.RC GT 8) THEN
//TRUE EXEC PROC=ERROR
//IFBADEND ENDIF
//NEXTSTEP EXEC PROC=CONTINUE 
flag   
   add comment

Your answer

Join with account you already have

FF

Preview

 Write A Tutorials
Online-Classroom Classes
www.writeabc.com


  1 person following this question

  Question tags

jcl × 1

Asked 2 years and 3 months ago ago
Number of Views -473
Number of Answers -1
Last updated
3 years and 3 months ago ago

Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!

Alert