JCL Sample (SXGLINIT and SXGLUTIL)

A sample procedure and JCL are provided to execute the LTA Services Utility.

//LTAINIT PROC FILE=USERHLQ.LOG.DISKF1
//*
//LOGINIT EXEC PGM=SXL3LOGS,REGION=0M,
// PARM='-FX -IV -XY'
//STEPLIB  DD DISP=SHR,DSN=USERHLQ.LOAD
//SXLLOG1  DD DISP=SHR,DSN=&FILE
//SXLDEBUG DD SYSOUT=* DEBUG MESSAGES FROM VSAM ACCESS
//SXLPRINT DD SYSOUT=* FORMATTED OUTPUT
//SYSPRINT DD SYSOUT=*
//SYSOUT   DD SYSOUT=*
//CEEDUMP  DD SYSOUT=*
//SYSUDUMP DD SYSOUT=*
//SYSIN    DD DUMMY
//ARCHIVE  DD DISP=(,DELETE),DSN=&&ARCHIVE,UNIT=SYSDA,
//         SPACE=(TRK,(20,40)),
//         DCB=(RECFM=VB,LRECL=1048,BLKSIZE=18000)
// PEND

The following table describes the DD Names.

Services Utility DDNames
DD Name Description
SXLLOG1 This DD Name specifies the LTA VSAM file for Substation ES and is required for the -IV operand.
SXLDEBUG This DD Name is for utility diagnostics.
SXLPRINT This DD Name is used if formatted printing is requested.
ARCHIVE

You must supply this DD Name when specifying the Copy or Archive keyword. This is an output file that must have RECFM=VB.

You must supply this DD Name when specifying the PRINT keyword phrases and -IA operand to print an archived file. This is the DD Name of an input archive file.