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 copying data without knowing location arunsoods DFSORT/ICETOOL 6 Thu Jul 20, 2017 1:03 pm
This topic is locked: you cannot edit posts or make replies. Fetching data from BAI File arunsoods JCL & VSAM 1 Wed Jul 19, 2017 4:28 pm
No new posts Loading data to table gives wrong for... Raghu navaikulam DB2 19 Thu Jul 13, 2017 2:11 pm
No new posts SQL - select data available in index Nileshkul DB2 3 Mon Jun 26, 2017 1:30 am
No new posts NDM syntax checking without actually ... GAPX1 All Other Mainframe Topics 0 Wed Jun 07, 2017 2:36 am


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