View previous topic :: View next topic
|
Author |
Message |
Kannan Ramalingam
New User
Joined: 01 Nov 2019 Posts: 2 Location: united kingdom
|
|
|
|
Hi all,
Hope, someone could help me on below query.
we use ADRDSSU to dump set of physical file into a GDG version.
But i have a PDS, which has the list of physical file name.
is there a way, using ADRDSSU utility to create GDG dump from a PDS file(which contains the list of files to be dump)
Thanks in advance for your help
looking for a exact syntax or guidance, where i can take a look |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
Use the FILTER option for INCLUDE. |
|
Back to top |
|
|
sergeyken
Senior Member
Joined: 29 Apr 2008 Posts: 2141 Location: USA
|
|
|
|
Kannan Ramalingam wrote: |
But i have a PDS, which has the list of physical file name. |
PDS (Partitioned Data Set) cannot have "the list of physical file name".
The only entities which any PDS may have is - the list of (library) members. Each member has its own name (8 characters), and can be considered as a separate sequential data set.
Before you understand the fundamental terminology of computer architecture, it's not good idea asking others to do your job instead of you. |
|
Back to top |
|
|
Kannan Ramalingam
New User
Joined: 01 Nov 2019 Posts: 2 Location: united kingdom
|
|
|
|
sorry, i shouldn't post it as PDS. It is actually PS |
|
Back to top |
|
|
steve-myers
Active Member
Joined: 30 Nov 2013 Posts: 917 Location: The Universe
|
|
|
|
Just some advice. Before you put this scheme into production, make 100% certain you know how to restore at least one data set you have dumped from the dump you have created. Too many people think they have created backups and find they can't restore the data they think they have successfully dumped. ADRDSSU is rather unfriendly in this regard. Add a harmless data set to your list, dump it, delete it, and then restore it. |
|
Back to top |
|
|
Willy Jensen
Active Member
Joined: 01 Sep 2015 Posts: 734 Location: Denmark
|
|
|
|
I assume that your PS dataset contains a list of datasets, one per record.
You really should look at the ADRDSSU DUMP FILTERDD command, but a simple solution could be something like this:
Code: |
//B EXEC PGM=ADRDSSU
//BACKUP DD DISP=(,CATLG,DELETE),DSN=SHARE.DS.DUMP(+1),
// UNIT=SYSALLDA, VOL=SER=Z6SYS1,
// SPACE=(CYL,(50,50),RLSE)
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
DUMP DATASET( -
INC(-
// DD DISP=SHR,DSN=DSN.LIST.DS
// DD *
) ) -
ODD(BACKUP) SPHERE TOL(ENQF) SHR |
Note that the datatasets in the list must have at least one blank at the front and a blank and a dash at the end, i.e.
SYS1.PARMLIB -
You can have a maximum of 255 datasets in the list. |
|
Back to top |
|
|
|