Below is a sample DFDSS JCL that can be used. Just add the name of the files:
//*-------------------------------------------------------
//STEP1 EXEC PGM=ADRDSSU,REGION=64M
//SYSPRINT DD SYSOUT=*
//OUT DD DISP=(,CATLG),DSN=your.dump.dsn.here,
// UNIT=SYSDA,SPACE=(CYL,(100,150),RLSE)
//SYSIN DD *
DUMP OUTDD(OUT) COMPRESS OPT(4) TOL(ENQF) -
DATASET( INCLUDE( -
your.dsn -
your.dsn2 -
) )
/*
For details see https://www.ibm.com/docs/en/zos/3.1.0?topic=commands-dump-command-dfsmsdss
TRSMAIN JCL to terse the DFDSS dump file:
//*********************************************************
//* TRSMAIN WITH PACK OPTION
//*********************************************************
//STEP1 EXEC PGM=TRSMAIN,PARM='PACK'
//SYSPRINT DD SYSOUT=*
//INFILE DD DISP=SHR,DSN=your.dump.dsn.here
//OUTFILE DD DISP=(,CATLG,DELETE),DSN=your.dump.dsn.tersed.here,
// UNIT=SYSDA,SPACE=(CYL,(25,25),RLSE) *change*
Send the tersed file(s) on our MFT caseid folder when required by BMC Support.