Results 1 to 2 of 2

Thread: JCL Abend

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Junior Member
    Join Date
    Feb 2007
    Answers
    4

    JCL Abend

    I have a JCL like this :

    //JOB1 JOB NOTIFY=&SYSUID
    //STEP1 EXEC PGM=IEBGENER
    //SYSPRINT DD SYSOUT=*
    //SYSOUT DD SYSOUT=*
    //DD1 DD DSN=input-dsn,DISP=SHR
    //DD2 DD DSN=output-dsn,DISP=SHR
    //STEP2 IF RC=0 THEN
    //STEP3 EXEC PGM=abc
    //STEP4 EXEC PGM=sdr
    //STEP5 EXEC PGM=xyz
    //STEP6 ELSE
    //STEP7 EXEC PGM=pqr
    // ENDIF

    if a job abends at step5, then from where should it be restarted-since steps3,4,5 are within IF...THEN..ELSE conditions


  2. #2
    Junior Member
    Join Date
    Sep 2006
    Answers
    27

    Re: JCL Abend

    You have to restart from STEP2 if the job abends at step5 because steps3,4,5 are within IF...THEN..ELSE condition.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact