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
 

 

dfsmsdss full volume backups using mounted volumes list

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IBM Tools
View previous topic :: :: View next topic  
Author Message
Alan Playford

New User


Joined: 22 Aug 2012
Posts: 8
Location: UK

PostPosted: Fri Jul 04, 2014 3:11 am    Post subject: dfsmsdss full volume backups using mounted volumes list
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: 51
Location: Switz

PostPosted: Fri Jul 04, 2014 12:25 pm    Post subject:
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: 8
Location: UK

PostPosted: Fri Jul 04, 2014 2:06 pm    Post subject:
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: 51
Location: Switz

PostPosted: Fri Jul 04, 2014 3:04 pm    Post subject:
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: 8
Location: UK

PostPosted: Fri Jul 04, 2014 4:44 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> IBM Tools All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Cobol list of programs being called biswajit.dattagupta COBOL Programming 5 Tue Nov 01, 2016 2:10 am
No new posts reorder screeNS using SWAP LIST? mrsidhu12 TSO/ISPF 5 Thu Sep 01, 2016 2:19 pm
No new posts Getting list of tables defined under ... kishpra DB2 2 Wed Aug 24, 2016 10:36 am
No new posts Reading selected volumes of a multi-v... RickBig JCL & VSAM 6 Wed Jul 13, 2016 7:26 pm
No new posts Need Short Cut to Take Dump of Volumes newsysprg JCL & VSAM 4 Wed Jul 13, 2016 5:54 pm


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