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: 8551
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: 803
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: 833
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: 362
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 PKZIP - extracting multiple txt files drarem All Other Mainframe Topics 3 Tue Jul 07, 2020 8:47 pm
No new posts Sorry - Trying again: How can we impr... praveenkvma ABENDS & Debugging 2 Thu Jun 11, 2020 10:21 pm
No new posts Compare multiple files using JCL/Rexx... tanvi110788 JCL & VSAM 4 Tue May 19, 2020 5:47 pm
No new posts Need help to concatenate files with w... ssuthagar All Other Mainframe Topics 3 Fri May 15, 2020 1:39 am
No new posts Java Batch launcher JVMPRC86 does not... harisukumaran IBM Tools 2 Wed Apr 15, 2020 12:37 am

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