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 / garry

Pls code GDG(0) and the data set at step 2 is created, you need to take care of this as well (may or may not created).

I am assuming created, then delete is first:
Couple of options are:

1. Manual Delete and JCL will create it again as //STEP2 ......... DD DSN=.....DISP=(new,catlg,catlg{if delete was coded hear you may ignore my steps})

2. Use IEBGBER at step0 to delete previously created d/st by DISP=(MOD,delete,delete).

Pls check, if my response is not clear let me know.

Garry

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of dd dummy statement?

942


What are the parameters that are used in creating a gdg?

735


Mainframes gets a text file that contains the name of the file. Now using JCL i want to locate that file name in the mainframe system and perform further processing. Please tell how to proceed

1963


Name the parameters which can be used to limit the number of records written to a sysout dataset?

648


How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length ----TRY

857






which utility is used a dummy utility?

787


what sort card you will use to copy the data from one dataset to another dataset?

724


Where & How Do You Code Identifier In Jcl?

694


What is the function of //cntl statement?

828


I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?

1345


what is SOC4 error?

733


What are hierarchy levels in jcl?

949


What are the difference between jcl and jes?

1048


What are s0c1, s0c4, s0c5, s0c7 and socb?

697


whats the diff bw the evaluate also and and?

1850