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

Creating multigen step


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Dasarathy

New User


Joined: 20 May 2014
Posts: 5
Location: india

PostPosted: Tue May 20, 2014 7:37 pm
Reply with quote

A GDG Step is already created in the proc... now how can i create a multigen step with that..?

//* INPUT FILES *
//*********************************************************************
//*
//FLWNDATF DD DSN=&STAT.CC.SAW.AIR.CANADA.FLOWN.DATA&GEN0,
// DISP=SHR
//*
Back to top
View user's profile Send private message
David Robinson

Active User


Joined: 21 Dec 2011
Posts: 199
Location: UK

PostPosted: Tue May 20, 2014 7:44 pm
Reply with quote

Please elaborate your requirement. What do you mean by a "multigen step"?
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2455
Location: Hampshire, UK

PostPosted: Tue May 20, 2014 7:45 pm
Reply with quote

No idea what you mean...please show an example of what you are wanting.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue May 20, 2014 7:47 pm
Reply with quote

the question as posed does not make too much sense
also the format of the parametrization is pretty unusual
Code:
//FLWNDATF DD DSN=&STAT.CC.SAW.AIR.CANADA.FLOWN.DATA&GEN0,
// DISP=SHR
//*

the way the dsname is specified DOES NOT MAKE EVIDENT a GDG generation

but if on the other side You had written ...
Code:
//FLWNDATF DD DSN=&STAT.CC.SAW.AIR.CANADA.FLOWN.DATA(&GEN),
// DISP=SHR
//*

the GDG stuff would have been clearer


Quote:
now how can i create a multigen step with that
??????????
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Tue May 20, 2014 7:48 pm
Reply with quote

you may want to rephrase your question.

not really sure what you want.

and you may want to obscure your file names,
as I am sure that air canada would not be thrilled to know that
some beginner was dealing with their data.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Wed May 21, 2014 2:36 pm
Reply with quote

I had been to a shop which used this utility but it's not something which is available from a vendor, it's an in-house program so getting a reply for this specific topic are very slim on a public Forum.

Said that (reading between the lines) - as I said "MULTIGEN" is a utility specific to your site so you should consult someone at your shop, about this.
Back to top
View user's profile Send private message
Gary Jacek

New User


Joined: 17 Dec 2007
Posts: 64
Location: Victoria, BC, Canada

PostPosted: Thu May 22, 2014 11:28 pm
Reply with quote

If we assume that a catalogued procedure is being invoked,
and the dataset is defined as a GDG
and the name of the catalogued procedure is MYPROC,
then

//STEPNAME EXEC PROC=MYPROC,&GEN0='(0)'

would use the most recent generation of the dataset.

//STEPNAME EXEC PROC=MYPROC,&GEN0=''

would use all generations of the dataset, beginning with the most recent, and followed in turn, by each older generation. (This is generally NOT what a business application would want to do, as the data is out of sequence)

zOS 2.1 supports GDGFIFOENABLE, which will provide the GDG datasets in FIFO order. This IBM Redbook provides information on this new feature.

www.redbooks.ibm.com/redpieces/pdfs/sg248190.pdf

//* INPUT FILES *
//*********************************************************************
//*
//FLWNDATF DD DSN=&STAT.CC.SAW.AIR.CANADA.FLOWN.DATA&GEN0,
// DISP=SHR
Back to top
View user's profile Send private message
Gary Jacek

New User


Joined: 17 Dec 2007
Posts: 64
Location: Victoria, BC, Canada

PostPosted: Fri May 23, 2014 3:30 am
Reply with quote

Correction...

//STEPNAME EXEC PROC=MYPROC,GEN0='(0)'

would use the most recent generation of the dataset.

//STEPNAME EXEC PROC=MYPROC,GEN0=''
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2455
Location: Hampshire, UK

PostPosted: Fri May 23, 2014 6:46 pm
Reply with quote

Suggest the topic gets deleted - no one knows what the question really is and the OP has not come back with any sort of clarification.
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: Fri May 23, 2014 6:52 pm
Reply with quote

Hi Nic,

Yup, it this has no reply from TS in another day or so, please remind me and i'll delete the whole topic.
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 -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Return codes-Normal & Abnormal te... JCL & VSAM 7
No new posts How to append a PS file into multiple... JCL & VSAM 3
No new posts Creating Unix Directory using COBOL i... COBOL Programming 2
No new posts Creating Report using SORT DFSORT/ICETOOL 7
No new posts convert file from VB to FB and use tr... DFSORT/ICETOOL 8
Search our Forums:

Back to Top