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

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


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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
Reply with quote

Adhiraj_Singh,

your question should have been posted here:
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
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Mon Sep 17, 2012 5:02 pm
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
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
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
www-03.ibm.com/systems/z/os/zos/bkserv/index.html
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: Mon Sep 17, 2012 9:03 pm
Reply with quote

Hello and welcome to the forum,

The link DBZ posted:
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 Member


Joined: 31 Dec 2009
Posts: 580
Location: London

PostPosted: Thu Sep 20, 2012 1:43 pm
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: 792
Location: Pennsylvania

PostPosted: Thu Sep 20, 2012 5:19 pm
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 Member


Joined: 31 Dec 2009
Posts: 580
Location: London

PostPosted: Thu Sep 20, 2012 5:56 pm
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: 792
Location: Pennsylvania

PostPosted: Thu Sep 20, 2012 6:03 pm
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Using the Jobname parameter in a Qual... ABENDS & Debugging 1
No new posts ISRSUPC search utility - using high l... TSO/ISPF 2
No new posts Demand with DEADLINE TIME parameter CA Products 4
No new posts Option DYNALLOC second parameter. DFSORT/ICETOOL 11
No new posts Writing the output file name from a p... JCL & VSAM 7
Search our Forums:

Back to Top