Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

How to compare two files in SYNCSORT and on the mismatch record should be deleted from second file.

5491


We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?

2363


List the different jcl statements that are not permitted in the procedures?

1040


How can an in-stream dataset be terminated?

1310


which parameter is use to declare the name of dataset in dd statement?

1215


How to pass data to a program that is coded in an exec statement?

1289


I want to JCL sort for Non-COMP and COMP-3 fields SORT FIELDS=(1,5,A,6,11,A,12,11,A,19,1,A,20,1,A),FORMAT=BI,EQUALS Length of comp bytes is 11 bytes which start at 6byte and 12 byte considering 11 bytes in comp-3 is 6 bytes. Can anyone tell if the above sort work SORT FIELDS=(1,5,A,6,6,A,12,6,A,19,1,A,20,1,A),FORMAT=BI,EQUALS does not works OK

1903


Explain the function of the steplib dd statement?

1092


how to run batch program without jcl?

11386


How can the attributes of one sms dataset be copied to another dataset?

1380


How can unused space allocation be returned to the system when a dataset is closed?

1432


Give the syntax of job specifying jcl statement.

1096


Explain the hierarchy levels in jcl?

1647


How to find the UNIT and VOLUME of a (a) KEPT (b) UNCATALOGED and (c) CATALOGED dataset - using (i) JCL and using (ii) ISPF ?

2632


What is one line to pass PARM from JCL to COBOL?

4922