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
 

 

Can we use SYMBOLIC parameter as last qualifier of GDG base?

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

New User


Joined: 27 Jun 2012
Posts: 3
Location: INDIA

PostPosted: Mon Sep 17, 2012 4:25 pm    Post subject: Can we use SYMBOLIC parameter as last qualifier of GDG base?
Reply with quote

Hi,

i wished to know if i could use SYMBOLIC parameter as LAST QUALIFIER of GDG base if yes could you please elaborate?

My requirement basically is:

I wish to create GDG base every quarter with value increasing by 1 every quarter, the best way i could think of, was to use a parameter that would increment the value by 1.

TESTOR00.TE.GR70 ---> GDG base 1st Quarter
TESTOR00.TE.GR71 ---> GDG base 2nd Quarter

and So on.....

Please help.
Back to top
View user's profile Send private message

dbzTHEdinosauer

Global Moderator


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

PostPosted: Mon Sep 17, 2012 4:30 pm    Post subject:
Reply with quote

Adhiraj_Singh,

your question should have been posted here:
http://ibmmainframeforum.com/
Back to top
View user's profile Send private message
Adhiraj_Singh

New User


Joined: 27 Jun 2012
Posts: 3
Location: INDIA

PostPosted: Mon Sep 17, 2012 4:36 pm    Post subject:
Reply with quote

hi dbzTHEdinosauer

thanks for the suggestion,

but seriously am unable to do it even after going through loads of material ...

Please help
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Mon Sep 17, 2012 5:02 pm    Post subject: Reply to: Can we use SYMBOLIC parameter as last qualifier of
Reply with quote

in IT using the proper terminology is essential for effective communication.

review Your understanding of the GDG concept and meditate on
z/OS V1R6.0-V1R10.0 MVS JCL User's Guide
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IEA2B540/CCONTENTS?SHELF=IEA2BK91&DN=SA22-7598-04&DT=20040712160458

and
z/OS V1R10.0 MVS JCL Reference
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IEA2B680/CCONTENTS?SHELF=IEA2BK91&DN=SA22-7597-12&DT=20080604022956
not the latest versions but more than enough to start with

You can find the appropriate manuals for Your zOS version starting from
http://www-03.ibm.com/systems/z/os/zos/bkserv/index.html
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: Mon Sep 17, 2012 9:03 pm    Post subject:
Reply with quote

Hello and welcome to the forum,

The link DBZ posted:
http://ibmmainframeforum.com/

is to our student/fresher forum. Given your limited knowledge/experience with JCL in general and GDG particularly, you will probably get replies you will find a bit eaiser to use. Yes, you do need to study the documentation as well, but you should be able to progess with both.

If i understand what you want to, you can probably use symbolic parameters. Keep in mind, that they will need to be managed. . .
Back to top
View user's profile Send private message
Pete Wilson

Active User


Joined: 31 Dec 2009
Posts: 437
Location: London

PostPosted: Thu Sep 20, 2012 1:43 pm    Post subject:
Reply with quote

Why on earth do you want a different GDG base name each quarter! The whole object of a GDG is that you can add a new unique GDS to it, up to whatever LIMIT (number of generations) is defined for it by specifying GDG.BASE.NAME.QTRLY(+1). So using the same GDG base name you can just create a new generation each quarter.
Back to top
View user's profile Send private message
daveporcelan

Active Member


Joined: 01 Dec 2006
Posts: 645
Location: Pennsylvania

PostPosted: Thu Sep 20, 2012 5:19 pm    Post subject:
Reply with quote

Pete,

Just a guess, but perhaps a new generation of the dataset is created daily.

You could not keep a years worth of data in a single gdg structure.

If you changed the base name quarterly, then this would work.

I found my crystal ball under my desk this morning. Really dusty though.
Back to top
View user's profile Send private message
Pete Wilson

Active User


Joined: 31 Dec 2009
Posts: 437
Location: London

PostPosted: Thu Sep 20, 2012 5:56 pm    Post subject:
Reply with quote

Yes I thought of that, but as you say not enough background info to this.

It would be possible to have a DAILY GDG that is then copied enmasse to a QTRLY one and the DAILY cleared down each quarter. Bit of a pain though as most generations would probably be migrated and have to be recalled.

Depending on the amount of data involved it may be better to just write to a normal QSAM file with DISP=MOD for the entire quarter then copy that up to a quarterly GDG with the required number of generations, and redefine the MOD file for the start of the new quarter.
Back to top
View user's profile Send private message
daveporcelan

Active Member


Joined: 01 Dec 2006
Posts: 645
Location: Pennsylvania

PostPosted: Thu Sep 20, 2012 6:03 pm    Post subject:
Reply with quote

I use the technique you discribe often.

Create a weekly qsam file with disp=mod.

Copy it to a weelky backup gdg. Recreate file.

Roll up all weekly files to a yearly gdg file

I do not care about hsm recalls, it comes with the teritory. Plus we use Virtual Tape (no operator intervention).

As usual, the OP has the design in mind, and just wants help implementing.

The experts here could help with design, but why ask for that?
Back to top
View user's profile Send private message
Adhiraj_Singh

New User


Joined: 27 Jun 2012
Posts: 3
Location: INDIA

PostPosted: Thu Oct 11, 2012 4:16 pm    Post subject: hi daveporcelan
Reply with quote

thanks for the suggestion.
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 TOT & DATE parameter in ICEMAN hemanthj642 DFSORT/ICETOOL 4 Mon Nov 14, 2016 5:19 am
No new posts How to display value of an exit param... lind sh CICS 2 Sun Oct 09, 2016 12:28 pm
No new posts Send parameter for macro STIMERM from... Daniel Teolotitla PL/I & Assembler 13 Tue Jul 05, 2016 9:23 pm
No new posts Symbolic Parameters in SYSIN DD state... madishpa DFSORT/ICETOOL 3 Mon Jun 27, 2016 6:23 pm
No new posts COND parameter vs IF THEN ELSE Alks JCL & VSAM 11 Fri Jun 17, 2016 5:28 pm


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