Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am
No new posts File Aid tool to compare numeric data balaji81_k Compuware & Other Tools 2 Tue Sep 26, 2017 3:35 am
No new posts Question related to Data dictionary f... rexx77 SYNCSORT 3 Thu Aug 31, 2017 7:23 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us