My JCL have five steps & I created new versions of GDG in
first step through fourth step & fifth step I was refered
Step one GDG version. My JCL got abend at 4th step and how
I can restart my JCL Please let me know the answers.

//STEP1 EXEC GDG1(+1) DISP=(NEW)
//STEP2 EXEC GDG1(+2) DISP=(NEW)
//STEP3 EXEC GDG1(+3) DISP=(NEW)
//STEP4 EXEC GDG1(+4) DISP=(NEW)
//STEP5 EXEC GDG1(+1) DISP=(OLD)

Answer Posted / virender

GDS being catalogued or not depends upon the disposition
(DISP) specified upon the abnormal termination of the job.
If the data sets are catalogued, you need to use GDG(-3)in
the rerun in step 5. Otherwise you can simply restart from
top.

Is This Answer Correct ?    11 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is notcat 2 - gs?

934


What is the format of comment statement?

666


I have mainpgm(abc) this is the only cobol pgm(non-db2).And this pgm calling subpgm name "acd" this also only cobol(non- Db)and this pgm calling some other subpgm this pgm has cobol-db2 pgm. 1) IF you calling static mode how to run and how to compile? 2) IF you calling dynamic mode how to run and how to compile? plz suggestion me.

1949


Is condition checking possible in jcl?

718


What do you understand by the term “keyword” with respect to jcl and what is the opposite of the term?

677






Why block size is multiple of lrecl in jcl?

910


What statement marks the beginning of a job step; assigns a name to the step; identifies the program or catalogued or in-stream procedure to be executed in the step?

647


What is the function of the steplib dd statement?

744


List the various advantages of using jcl language?

852


What is the function of dd name parameter with a 2 part structure; audit.report?

698


I have a COBOL program that ACCEPTs some input data. How do you code the JCL statement for this?

700


I want my job (careerride) to be executed in 1 minute and 2 seconds. How do I do that?

709


what is “Cond= even” and “Cond=only”?

740


what is the purpose of coding class parameter in job statement?

721


1) SORT FIELDS=(20,4,CH,D,10,3,CH,D) OUTREC FIELDS=(7:20,4,C' FUTURE ',20,2,10,3,1Z,1,9,13,7, 24,57,TRAN=LTOU,6X'FF') This example illustrates how a fixed-length input data set can be sorted and reformatted for output. The SORTIN LRECL is 80 bytes. The reformatted output records are fixed length with a record size of 103 bytes. SOLRF (the IBM-supplied default) is in effect, so unless the SORTOUT LRECL is specified or available, it will automatically be set to the reformatted record length of 103. in the above example i have some doubts that a) sort fields=(20,4,CH,D,10,3,CH,D) -what exactly it does and this fields related to output record fields or input record fields b)outrec used to refprmat the records after sorting that means could please reply me as soon as possible Thanks. Venkat

7080