On Fri, 19 Dec 2025 19:06:45 +0400, Peter <[email protected]> wrote:

>Is there a sample JCL to dump the dataset to a compressed multi volume
>dataset ?

Doc for dump logical dataset 
https://www.ibm.com/docs/en/zos/2.1.0?topic=dfsmsdss-dump-dataset-syntax-logical-data-set
 which should be reviewed for options you may need. You'll find RESTORE in this 
same manual.

//STEP1    EXEC  PGM=ADRDSSU
//DUMPDD    DD    DSN=BACKUP.DSN,DISP=(NEW,CATLG),
//    SPACE=(CYL,(50000,50000),RLSE)
//SYSPRINT DD    SYSOUT=A
//SYSIN    DD    *
 DUMP OUTDD(DUMPDD) -
   DS(INCL(DATASET.TO.DUMP)) -
   /* TOL(ENQF) WAIT(0,0) /* if you can't quiesce the dataset and accept the 
risks */ -
    COMPRESS /* or HWCOMPRESS */
/*
 
>So what would be the recommended size to dump on a compressed dataset? 

Since it's a vsam dataset and you are compressing the backup to use as little 
space as possible. Additionally, ADRDSSU uses full track. Look at the options 
to see if there is anything relevant to your situation.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to