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
 
Is it possible even if job abends a gdg version can be creat

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

New User


Joined: 21 Jul 2006
Posts: 18
Location: Pune

PostPosted: Mon Nov 26, 2007 12:27 pm    Post subject: Is it possible even if job abends a gdg version can be creat
Reply with quote

Hi All,

I would like to know is it possible for a gdg version or flat file which can be created even if job abends with SOC7 or MAXCC = 12.

Thanks,
Arvind
Back to top
View user's profile Send private message

murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1439
Location: Bangalore,India

PostPosted: Mon Nov 26, 2007 12:30 pm    Post subject:
Reply with quote

Arvind,

It depends on your disp value.
Back to top
View user's profile Send private message
amajhi

New User


Joined: 21 Jul 2006
Posts: 18
Location: Pune

PostPosted: Mon Nov 26, 2007 1:39 pm    Post subject: Reply to: Is it possible even if job abends a gdg version ca
Reply with quote

It is correct, but what will happen if DISP=(NEW,CATLG,DELETE)

Will it allow to create GDG version ?
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1703
Location: Australia

PostPosted: Wed Nov 28, 2007 8:36 am    Post subject:
Reply with quote

Hi,
a DISP=(,CATLG,DELETE) will still create the dataset if the return code is a 12.

The DELETE parameter is for an abend condition, a CC of 12 is not an abend.

Gerry
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4650
Location: Raleigh, NC, USA

PostPosted: Wed Nov 28, 2007 6:38 pm    Post subject: Reply to: Is it possible even if job abends a gdg version ca
Reply with quote

Arvind, one thing that's been overlooked here is that you're asking if the dataset will still be cataloged if the JOB abends, not if the STEP abends.

If the step completes successfully, then your dataset will be cataloged. If the step abends, then your dataset will be deleted and uncataloged.

If the step completes successfully, and the job abends further down in a subsequent step, your dataset will still be cataloged.
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 Spool Extract for Z /os 1.04 version Khadhar Basha CLIST & REXX 3 Thu Sep 28, 2017 3:14 pm
No new posts GDG version number PANDU1 JCL & VSAM 4 Sat Mar 04, 2017 8:28 pm
No new posts COBOL Version 6.1 Virendra Shambharkar COBOL Programming 15 Tue Nov 01, 2016 11:24 am
No new posts Is there a time Version of DATEDIFF ? Bill Woodger DFSORT/ICETOOL 1 Wed Aug 17, 2016 7:06 pm
No new posts Syncsort version supporting FINDREP c... juares castro SYNCSORT 9 Tue Aug 09, 2016 6:54 pm

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