View previous topic :: View next topic
|
Author |
Message |
Dasarathy
New User
Joined: 20 May 2014 Posts: 5 Location: india
|
|
|
|
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 |
|
|
David Robinson
Active User
Joined: 21 Dec 2011 Posts: 199 Location: UK
|
|
|
|
Please elaborate your requirement. What do you mean by a "multigen step"? |
|
Back to top |
|
|
Nic Clouston
Global Moderator
Joined: 10 May 2007 Posts: 2455 Location: Hampshire, UK
|
|
|
|
No idea what you mean...please show an example of what you are wanting. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
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 |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
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 |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
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 |
|
|
Gary Jacek
New User
Joined: 17 Dec 2007 Posts: 64 Location: Victoria, BC, Canada
|
|
|
|
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 |
|
|
Gary Jacek
New User
Joined: 17 Dec 2007 Posts: 64 Location: Victoria, BC, Canada
|
|
|
|
Correction...
//STEPNAME EXEC PROC=MYPROC,GEN0='(0)'
would use the most recent generation of the dataset.
//STEPNAME EXEC PROC=MYPROC,GEN0='' |
|
Back to top |
|
|
Nic Clouston
Global Moderator
Joined: 10 May 2007 Posts: 2455 Location: Hampshire, UK
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
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 |
|
|
|