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
 

 

Creating multigen step

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
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    Post subject: Creating multigen step
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: 175
Location: UK

PostPosted: Tue May 20, 2014 7:44 pm    Post subject:
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: 1713
Location: UK

PostPosted: Tue May 20, 2014 7:45 pm    Post subject: Reply to: Creating multigen step
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Tue May 20, 2014 7:47 pm    Post subject: Reply to: Creating multigen step
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    Post subject:
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

Senior Member


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

PostPosted: Wed May 21, 2014 2:36 pm    Post subject:
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: 44
Location: Victoria, BC, Canada

PostPosted: Thu May 22, 2014 11:28 pm    Post subject:
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.

http://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: 44
Location: Victoria, BC, Canada

PostPosted: Fri May 23, 2014 3:30 am    Post subject:
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: 1713
Location: UK

PostPosted: Fri May 23, 2014 6:46 pm    Post subject: Reply to: Creating multigen step
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

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Fri May 23, 2014 6:52 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Converting multiple VB files to FB fi... Viswanath Reddy JCL & VSAM 6 Mon Aug 08, 2016 11:49 pm
No new posts Creating an 'Enter' event with IMS MF... dileep chirasani Java & MQSeries 1 Sat Aug 06, 2016 2:23 am
No new posts Creating a dynamic sort card in JCL u... ChitraChhabra DFSORT/ICETOOL 4 Wed Aug 03, 2016 6:15 pm
This topic is locked: you cannot edit posts or make replies. JCL MULTIPLE STEP EXECUTION QUERY Susanta JCL & VSAM 18 Sat Jul 30, 2016 1:17 pm
No new posts creating a physical sequential file i... Shaheen Shaik JCL & VSAM 8 Wed Jun 29, 2016 3:46 pm


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