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 Export flat file data into excel sheet murali.andaluri DFSORT/ICETOOL 2 Mon Mar 20, 2017 5:39 pm
No new posts Append data from two files into a sin... Praveen04 DFSORT/ICETOOL 5 Thu Mar 16, 2017 7:29 pm
No new posts SPUFI -- Joining 3 tables – data in... Sysaron DB2 2 Wed Mar 08, 2017 4:18 am
No new posts Overriding PS data in rexx Shaheen Shaik CLIST & REXX 8 Fri Mar 03, 2017 5:08 pm
No new posts JCL to get submitted once dataset has... vinu78 JCL & VSAM 17 Thu Feb 16, 2017 7:32 am


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