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

adrdssu tool to dump a files from a PDS


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Kannan Ramalingam

New User


Joined: 01 Nov 2019
Posts: 2
Location: united kingdom

PostPosted: Fri Nov 01, 2019 6:25 pm
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8700
Location: Dubuque, Iowa, USA

PostPosted: Fri Nov 01, 2019 7:18 pm
Reply with quote

Use the FILTER option for INCLUDE.
Back to top
View user's profile Send private message
sergeyken

Senior Member


Joined: 29 Apr 2008
Posts: 2141
Location: USA

PostPosted: Fri Nov 01, 2019 7:40 pm
Reply with quote

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
View user's profile Send private message
Kannan Ramalingam

New User


Joined: 01 Nov 2019
Posts: 2
Location: united kingdom

PostPosted: Fri Nov 01, 2019 7:54 pm
Reply with quote

sorry, i shouldn't post it as PDS. It is actually PS
Back to top
View user's profile Send private message
steve-myers

Active Member


Joined: 30 Nov 2013
Posts: 917
Location: The Universe

PostPosted: Fri Nov 01, 2019 8:22 pm
Reply with quote

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
View user's profile Send private message
Willy Jensen

Active Member


Joined: 01 Sep 2015
Posts: 734
Location: Denmark

PostPosted: Fri Nov 01, 2019 9:28 pm
Reply with quote

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
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 3 files concatenated to 1 DFSORT/ICETOOL 2
No new posts JCL sort to compare dates in two file... DFSORT/ICETOOL 2
No new posts SDUMPX macro fails to dump requested ... PL/I & Assembler 5
No new posts Need help In Mainframe Automation AF/... CLIST & REXX 14
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
Search our Forums:

Back to Top