Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Make the job run without abending when there r data in GDG

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
jayakumar-v

New User


Joined: 06 Mar 2007
Posts: 2
Location: bangalore

PostPosted: Wed Mar 07, 2007 1:10 pm    Post subject: Make the job run without abending when there r data in GDG
Reply with quote

Need to the run the job without abending. In step01 it is loading the data, step02 it is sorting and in step03, some comparision is happening. During this process the job is abending with the GDG having a record. But want to continue the job without abending.
Back to top
View user's profile Send private message

diwa_thilak

Active User


Joined: 13 Jul 2006
Posts: 205
Location: At my desk

PostPosted: Wed Mar 07, 2007 3:29 pm    Post subject:
Reply with quote

Jayakumar,

You can use the condition parameter in the next step. If the subsequent steps are using this GDG as the only input, there wont be any use in continuing the steps.

Also you can try using the IF condion in the JCL.

// IF (RC LT 9) THEN
// Execute this step
// ELSE
//Execute this step
// ENDIF

Hope i answered you question.

Diwakar
--------------------------------
Nobody is perfect . I am Nobody
Back to top
View user's profile Send private message
jayakumar-v

New User


Joined: 06 Mar 2007
Posts: 2
Location: bangalore

PostPosted: Thu Mar 08, 2007 5:12 pm    Post subject: Re: make the job run without abending when there r data in G
Reply with quote

Hi, Thanks for your valuable input
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Thu Mar 08, 2007 9:51 pm    Post subject:
Reply with quote

Hello,

What does this mean?
Quote:
the job is abending with the GDG having a record


Why would a job abend because of this? If the situation is invalid, why continue the run?

Please post your jcl and abend info and what you would like to happen.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Storing huge volume of data, compare ... Pradeep K M All Other Mainframe Topics 3 Mon Jan 16, 2017 5:08 pm
No new posts how to recover an uncataloged VSAM da... archanamuthukrishnan All Other Mainframe Topics 3 Wed Jan 11, 2017 6:18 pm
No new posts HALDB data refresh/copy from producti... vineetanand2007 IMS DB/DC 1 Mon Jan 02, 2017 11:16 am
No new posts JES2 JEC: Use UNIX Pipes to Pass Data... Virendra Shambharkar JCL & VSAM 21 Tue Dec 20, 2016 6:55 pm
No new posts Is the 'prompt' data for the DSLIST p... Willy Jensen TSO/ISPF 2 Tue Dec 06, 2016 4:38 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us