Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
adrdssu tool to dump a files from a PDS

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: adrdssu tool to dump a files from a PDS
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: 8497
Location: Dubuque, Iowa, USA

PostPosted: Fri Nov 01, 2019 7:18 pm    Post subject: Reply to: adrdssu tool to dump a files from a PDS
Reply with quote

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

Active Member


Joined: 29 Apr 2008
Posts: 607
Location: Maryland

PostPosted: Fri Nov 01, 2019 7:40 pm    Post subject: Re: adrdssu tool to dump a files from a PDS
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    Post subject: Reply to: adrdssu tool to dump a files from a PS file
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: 758
Location: The Universe

PostPosted: Fri Nov 01, 2019 8:22 pm    Post subject:
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 User


Joined: 01 Sep 2015
Posts: 323
Location: Denmark

PostPosted: Fri Nov 01, 2019 9:28 pm    Post subject:
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    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 adrdssu for copy all data robyjhl JCL & VSAM 5 Tue Nov 12, 2019 11:17 pm
No new posts ADRDSSU BY(REFDT... not selecting cor... Greg Roschel IBM Tools 2 Wed Sep 18, 2019 7:23 pm
No new posts Pack to Unpack conversion for sending... A_programmers COBOL Programming 13 Wed Sep 11, 2019 10:46 pm
This topic is locked: you cannot edit posts or make replies. Compare two files logic in COBOL Nishant Singhal COBOL Programming 4 Sun Aug 25, 2019 2:25 am
No new posts Concatenate two files of variable rec... Thiru S DFSORT/ICETOOL 3 Wed Aug 21, 2019 11:53 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us