IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

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


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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
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
Reply with quote

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

Moderator Emeritus


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

PostPosted: Thu Mar 08, 2007 9:51 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Store the data for fixed length COBOL Programming 1
No new posts Data set Rec-Cnt and Byte-Cnt Testing & Performance 2
No new posts SCOPE PENDING option -check data DB2 2
No new posts Check data with Exception Table DB2 0
No new posts JCL EXEC PARM data in C Java & MQSeries 2
Search our Forums:

Back to Top