Backout files and records are required to enable package outputs to be shipped using the Package Ship facility. For USS supported files, the ENUSSUTL utility creates the backout files and records. The processor that is associated to the element type must include the ENUSSUTL utility to collect and associate the backout files to the element.
Follow these steps:
The ENUSSUTL syntax depends on whether it is used in a Move, Generate, or Delete processor. Move and Generate processors use Copy statements. Delete processors use Delete statements.
COPY syntax—Copy, Select group statements are used in Generate and Move processors. In a generate processor, copy the USS file from the CA Endevor SCM path location to a temporary path. Then use this file as input into the ENUSSUTL utility.
Copy Indd dd-name Outdd dd-name . Select File file-name [Newfile file-name].
Identifies the dd-name copy source and target path locations.
Specifies the dd-name source location. CA Endevor SCM and user symbolics can be used on the JCL path name specification.
Specifies the dd-name target location. CA Endevor SCM and user symbolics can be used on the JCL path name specification.
Specifies the name of the file at the source location for the associated Copy statement. If the Newfile clause is not used, this file specification will be used at the target location. A file name can be up to 255 characters. See the SCL Reference Guide for information on how to specify a value that spans multiple 80 character lines. Multiple select statements can follow the copy statement. Copy and Select group statements are supported. Select statements are paired with the copy statement that precedes it. CA Endevor SCM and user symbolics can be used on the file name specification.
(Optional.) Specifies the copy file name to be used for the file at the target location. If this clause is not used, the file specification name is used. The name can be up to 255 characters. See the SCL Reference Guide for information on how to specify a value that spans multiple 80 character lines. CA Endevor SCM and user symbolics can be used on the file name specification.
//COPY1 EXEC PGM=ENUSSUTL //INPUT DD PATH=’input-pathame’ //OUTPUT DD PATH=’output-pathname’, // PATHMODE=(SIRWXU,SIRWXG,SIRWXO) //ENUSSIN DD * COPY INDD ‘INPUT’ OUTDD ‘OUTPUT’ . SELECT FILE ‘fileone.ext’ . SELECT FILE ‘filetwo.ext’ .
//BPXW1 EXEC PGM=BPXBATCH //STDPARM DD * //SH cp -B ‘pathname.&C1ELELMNT255.’ ‘temp-pathname.&C1ELELMNT255.’; //STDOUT DD SYSOUT=* //STDERR DD SYSOUT=* //COPY1 EXEC PGM=ENUSSUTL //INPUT DD PATH=’temp-pathame’ //OUTPUT DD PATH=’pathname’, // PATHMODE=(SIRWXU,SIRWXG,SIRWXO) //ENUSSIN DD * COPY INDD ‘INPUT’ OUTDD ‘OUTPUT’ . SELECT FILE &C1ELELMNT255. .
COPY INDD ‘INPT1’ OUTDD ‘OUTP1’ .
SELECT FILE ‘fileone.ext’ .
SELECT FILE ‘filetwo.ext’ .
COPY INDD ‘INP2’ OUTDD ‘OUTP2’ .
SELECT FILE ‘filethree.ext’ .
DELETE Syntax—Use the utility’s Delete and Select group statements in a delete processor.
Delete FRomDD dd-name . Select File file-name .
Identifies the DELETE target path locations.
Specifies the FROM dd-name. CA Endevor SCM and user symbolics can be used on the JCL path name specification.
Specifies the name of the file to be deleted that is associated with the Delete statement. A file name can be up to 255 characters. See the SCL Reference Guide for information on how to specify a value that spans multiple 80 character lines. Multiple select statements can follow the delete statement. Delete and Select group statements are supported. Select statements are paired with the delete statement that precedes it. CA Endevor SCM and user symbolics can be used on the file name specification.
//DEL1 EXEC PGM=ENUSSUTL //FROM DD PATH=’pathname’, // PATHMODE=(SIRWXU,SIRWXG,SIRWXO) //ENUSSIN DD * DELETE FROMDD ‘FROM’ SELECT FILE ‘fileone.ext’ . SELECT FILE ‘filetwo.ext’ .
DELETE FROMDD ‘FROM1’ .
SELECT FILE ‘fileone.ext’ .
SELECT FILE ‘filetwo.ext’ .
DELETE FROMDD ‘FROM2’ .
SELECT FILE ‘filethree.ext’ .
Suppresses the SCL statements from appearing in the C1MSGS1 output.
For example, the following EXEC statement includes the NOECHO parameter and will prevent the ENUSSUTL commands from appearing in the C1MSGS1 output:
//STEPxx EXEC PGM=ENUSSUTL,PARM=’NOECHO’
|
Copyright © 2014 CA.
All rights reserved.
|
|