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
 

 

JCL BACKUP FOR GDG & NON GDG (Formats using symbolic )

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

New User


Joined: 29 Jun 2005
Posts: 86

PostPosted: Thu Jul 12, 2012 1:21 pm    Post subject: JCL BACKUP FOR GDG & NON GDG (Formats using symbolic )
Reply with quote

Hi ,

We are in process of automation for the output files created in monthly job for one of our real time application . So we are writing a new job to take the backup of output files as flat file whether the input is GDG / NON GDG .

We have to use naming convention in the output file for the Input files .

1. For Non GDG input file , the output file will be the same name followed by date (run date )(one of qualifier) that can be picked from job scheduler. We have no problem on it .

2. For GDG input file , we need to have output file as GDG base name followed the Qualifiers like below

for example

My GDG file is A.B.C.G0091V00

my output file A.B.C.V91.D(MMYY)

no problem about the last qualifier but for mentioning the version we stuck with that .

For that we are in process to do the below

1. Input file is of (a.b.c(+0)) and have temp dataset to have only latest version on it.
2. Copy step with symbolic parameters having Version number .

Can any one please help to provide guidelines to implement the above 2 steps . It will be really help for us. We are also trying from our end.

Thanks
Balaji K
Back to top
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Thu Jul 12, 2012 2:05 pm    Post subject:
Reply with quote

I suggest that you use DFdss PGM=ADRDSSU to perform the backups and that way you will only need to change the name of the output backup dataset.

But why oh why do people insist on using dates in dataset names icon_rolleyes.gif
Back to top
View user's profile Send private message
balaji81_k

New User


Joined: 29 Jun 2005
Posts: 86

PostPosted: Thu Jul 12, 2012 2:16 pm    Post subject:
Reply with quote

Hi,

Utility "ADDRSPU" is not enabled in our application .

Thanks
Balaji K
Back to top
View user's profile Send private message
balaji81_k

New User


Joined: 29 Jun 2005
Posts: 86

PostPosted: Thu Jul 12, 2012 2:18 pm    Post subject:
Reply with quote

Sorry its type ADRDSSU and Date we need to do as per our requirements.
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1738
Location: Bloomington, IL

PostPosted: Thu Jul 12, 2012 3:32 pm    Post subject:
Reply with quote

expat wrote:
But why oh why do people insist on using dates in dataset names icon_rolleyes.gif

Because they can't handle the concept of the data set containing a header record that contains, among many other useful things, the processing date icon_razz.gif

Balaji, you have not told us what options are available to you. Writing such a tool in Rexx is quite trivial (although depending on volume may be impractical); it would be harder in COBOL or PL/I, although quite doable. However, I suspect that one of the "requirements" is that it must be implemented by a gaggle of junior "software engineers" that know nothing of programming or software development (as evinced by your -- very common among junior "software engineers" -- of "generation" with "version"). I suggest that your organization hire someone who knows what he's doing.
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 1712
Location: UK

PostPosted: Thu Jul 12, 2012 6:05 pm    Post subject:
Reply with quote

You realise that for the naming convention proposed for the GDG output you need to set up a GDG base for EVERY base name? And that it would hold approximately ONE generation on each base name.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


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

PostPosted: Thu Jul 12, 2012 6:48 pm    Post subject:
Reply with quote

A Back-up is well, a back-up -- so why this much fuss about gdg/non-gdg. And a GDG is just another QSAM file for which you already have a process in place...
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Thu Jul 12, 2012 7:45 pm    Post subject:
Reply with quote

Strange, I thought the DFdss was a standard part of the SMS subsystem and comes FREE from IBM
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


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

PostPosted: Thu Jul 12, 2012 7:51 pm    Post subject:
Reply with quote

expat wrote:
Strange, I thought the DFdss was a standard part of the SMS subsystem and comes FREE from IBM
Ditto.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10201
Location: italy

PostPosted: Thu Jul 12, 2012 8:08 pm    Post subject: Reply to: JCL BACKUP FOR GDG & NON GDG (Formats using
Reply with quote

to all the people wasting time trying to help ...
what is that You do not understand here ?
the requirement forbids <DFDSS> and prescribes a dataset name with the date
icon_biggrin.gif icon_biggrin.gif icon_biggrin.gif

probably time to lock the topic as per
http://www.ibmmainframes.com/viewtopic.php?t=20820&highlight=

Add a DATE and/or TIMESTAMP to a dataset. This Forum recommends that you consult with your Scheduling team first. Otherwise, this topic has already been posted many times. Please search for the answer that best suits your needs.
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 IMS Database backup info ashek15 IMS DB/DC 14 Wed Nov 16, 2016 5:29 am
No new posts Symbolic Parameters in SYSIN DD state... madishpa DFSORT/ICETOOL 3 Mon Jun 27, 2016 6:23 pm
No new posts Need help on FDRABR incremental backu... sanpedro All Other Mainframe Topics 6 Wed Apr 06, 2016 3:24 am
This topic is locked: you cannot edit posts or make replies. Put quotes in Symbolic parameter whil... Yashashri All Other Mainframe Topics 7 Mon Feb 15, 2016 12:24 pm
No new posts Backup directory in USS (OMVS) autobox IBM Tools 3 Tue Jan 12, 2016 8:51 am


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