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

dfsmsdss full volume backups using mounted volumes list


IBM Mainframe Forums -> IBM Tools
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Alan Playford

New User


Joined: 22 Aug 2012
Posts: 48
Location: UK

PostPosted: Fri Jul 04, 2014 3:11 am
Reply with quote

Hi guys!
I am used to specifying DASD volume serials and generic volsers (e.g. first 2 or 3 chars of the volser) to Innovation's FDRABR to allow it to automatically select the matching volumes to backup to a tape.

But is there anything comparable in IBM's dfsmsdss? I know that SMS Storage Groups can be specified, but what if the volumes are not SMS managed? Can it still be done that way?

Anybody found a way (using REXX exec's or similar) to generate the codee to do such a thing?

Regards,
Alan
Back to top
View user's profile Send private message
Paul Voyner

New User


Joined: 26 Nov 2012
Posts: 52
Location: UK

PostPosted: Fri Jul 04, 2014 12:25 pm
Reply with quote

The relevant parameter is INDYNAM, and it says in the DSS book
"You cannot specify a nonspecific volume serial number using an asterisk (*)". So that's a No, then.
You could do something clever with rexx to process a list of the volumes you want (every site has some tool to generate a list of volumes from a generic pattern) and build a list which you can supply as JCL to INDDNAME, or else as input statements for FILTERDD.
Back to top
View user's profile Send private message
Alan Playford

New User


Joined: 22 Aug 2012
Posts: 48
Location: UK

PostPosted: Fri Jul 04, 2014 2:06 pm
Reply with quote

Thanks Paul.
That's the only way I can see of doing it too! icon_sad.gif
Certainly something that should be suggested as dss enhancement for the future, you feel!

Anybody got any sample REXX I can snaffle and adapt?
Back to top
View user's profile Send private message
Paul Voyner

New User


Joined: 26 Nov 2012
Posts: 52
Location: UK

PostPosted: Fri Jul 04, 2014 3:04 pm
Reply with quote

Hi Alan, glad to help.
DCOLLECT can give you a list of volumes. Then just read into rexx, filter the volumes you want, and output in a format for the DSS job. Should only take a few minutes if you know your way around rexx.
DCOLLECT:
Code:

//STEP1 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//O       DD   DSN=xxx.DCOLLECT.OUTPUT1,
//       DSORG=PS,
//       DCB=(RECFM=VB,LRECL=644,BLKSIZE=0),
//       SPACE=(CYL,(1,1)),
//       DISP=(NEW,CATLG,KEEP)
//SYSIN    DD *
  DCOLLECT OUTFILE(O) -
    VOLUMES( *) -
    NODATAINFO
//

Paul
Back to top
View user's profile Send private message
Alan Playford

New User


Joined: 22 Aug 2012
Posts: 48
Location: UK

PostPosted: Fri Jul 04, 2014 4:44 pm
Reply with quote

Many thanks Paul!
Bit rusty on REXX, but I can read a manual! icon_biggrin.gif

I'll give this a go.
Thanks again!
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 -> IBM Tools

 


Similar Topics
Topic Forum Replies
No new posts VB to VB copy - Full length reached SYNCSORT 8
No new posts How to create a list of SAR jobs with... CA Products 3
No new posts Volume chain using DFSORT DFSORT/ICETOOL 17
No new posts Build dataset list with properties us... PL/I & Assembler 4
No new posts list pds members name starting with xyz CLIST & REXX 11
Search our Forums:

Back to Top