[an error occurred while processing this directive]

TRSMAIN Utility

Installing TRSMAIN

A copy of the IBM TRSMAIN Utility was obtained from the URL listed below and used to create a sequential compressed data set with LRECL=1024.

http://techsupport.services.ibm.com/390/trsmain.html

Once the sequential compressed data set is binary uploaded to an MVS system, it must be uncompressed. During the uncompression TRSMAIN will recreate the original source data set with all its attributes.

Listed below is sample JCL to uncompress a macro data set.

//UNPACK  JOB (ACCT),NOTIFY=&SYSUID.,CLASS=A,MSGCLASS=H
//*
// SET DSN='SHASMAC'
//*
//****************************************************
//*                                                  *
//*       TRSMAIN WITH UNPACK OPTION                 *
//*                                                  *
//****************************************************
//STEP     EXEC PGM=TRSMAIN,PARM=UNPACK
//SYSPRINT DD   SYSOUT=*
//INFILE   DD   DISP=SHR,DSN=MVS1.SYS1.V2R10M0.&DSN.
//OUTFILE  DD   DISP=(NEW,CATLG),UNIT=SYSDA,
//       SPACE=(TRK,(150,150,150),RLSE),
//       DSN=MVS1.UNPACK.&DSN.
      
[an error occurred while processing this directive]