Geeks Talk

Prepare for your Next Interview


Welcome to the Geeks Talk forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

JCL Abend

This is a discussion on JCL Abend within the MainFrame forums, part of the Software Development category; 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 ...

Go Back   Geeks Talk > Software Development > MainFrame
Register Blogs FAQ Tag Cloud Calendar Mark Forums Read
  #1 (permalink)  
Old 06-16-2007
Junior Member
 
Join Date: Feb 2007
Location: Chennai
Posts: 6
Thanks: 0
Thanked 1 Time in 1 Post
kanchhana is on a distinguished road
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
Reply With Quote
The Following User Says Thank You to kanchhana For This Useful Post:
Sponsored Links
  #2 (permalink)  
Old 06-28-2007
Junior Member
 
Join Date: Sep 2006
Posts: 27
Thanks: 0
Thanked 2 Times in 2 Posts
SachinDeo is on a distinguished road
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.
Reply With Quote
Reply

  Geeks Talk > Software Development > MainFrame

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Exists, System Parameter, Abend, Logged Members JobHelper DB2 1 06-16-2007 04:38 PM
How to resolve -927 abend Geek_Guest MainFrame 0 04-12-2007 06:58 AM


All times are GMT -4. The time now is 12:25 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.1
Copyright © 2005 - 2010 GeekInterview.com. All Rights Reserved