I have 2 steps in my exec statement , in first step I am
creating a gdg, and the output of this step is going into
second step as a input, and this second step is abended ,
now how could i approach in this case.

Answer Posted / luiz roberto

In my opinion it depends of the abend.
Why was the cause of STEP2 abend? If it was because a bad
file created on STEP1 we should correct the program that
generates the file (on STEP1), uncatlg the bad GDG created,
and then resubmit the job from STEP1.
If the STEP2 cancelled and the input file is good, we should
fix the STEP2 and restart the job from STEP2 using GDG(0).

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

when does a dataset go uncataloged?

827


What is the function of //jcllib statement?

802


have in 100 records in a file i want to read first 3 records and skip next 3 records and agan i want to read 3 records and again i want to skip 3 records... run a loop from record one to 10 evaluate i/3 if comes even then skip else write to output file

921


what is DSN parameter and DISP parameter is used for?

673


Immediate Job opening for mainframe professionals in Keane Bangalore. Please find the below details: Organization: Keane India Location: Bangalore Skill: COBOL, JCL,VSAM,DB2,CICS,IMS,REXX,CLIST Exp: 1 to 4 years only Employment Type: Permenant Employee Note: If you have attended keane interview in past 6 months please ignore this job opening. Please respond to email id keanemfjob@gmail.com OR keanemfjob@yahoo.in with your latest resume and following details, We will contact you within 24 hours: Total IT Exp: Exp in Mainframe: Current CTC: Expected CTC: Notice Period:

3528






What is the maximum length of a single line of jcl?

825


What is the syntax of JCL statement?

692


How would you understand error(execution phase)?

621


How do you access an uncatalogued dataset in a jcl?

724


When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?

930


I need exexution process for JCL programs

1847


How gdg are concatenated?

668


Why include statement is used in a jcl?

689


The disp in the JCL is MOD and the program opens the file in OUTPUT mode. What happens ? The disp in the JCL is SHR and the pgm opens the file in EXTEND mode. What happens ?

940


I want to join to input files and write the matching fields on to an output file but i dont want the output file a sorted one

1927