I am trying to use ENUSSUTL to copy some files from one directory to another with new file names. My Processor looks like this:
//GUSSNEW PROC PFX=PUBLIC.I7227.R@SYMB, USER PREFIX SITE SYM
// WRKUNIT=SYSDA,
// NSOURCE='/u/endevor/Ixxxx/stg1/source/',
// ADDPRE='ADDED.PREFIX.'
//ENUSS1 EXEC PGM=ENUSSUTL
//INPUT DD PATH=&#BASLIB1,
// PATHOPTS=(ORDONLY)
//OUTPUT DD PATH=&NSOURCE,
// PATHMODE=(SIRWXU,SIRWXG,SIRWXO)
//ENUSSIN DD *
COPY INDD INPUT OUTDD OUTPUT
.
S FILE '&C1ELMNT255'
NEWFILE '&ADDPRE&C1ELMNT255'
.
and get a message like this:
BSTPPARS: E004 INVALID COMMAND WORDING, FOUND: 'A1234567890123456789012345678901
ENUSSUTL: E001 INVALID COMMAND SYNTAX RECEIVED.
Set C1WRAP=Y in the PROC. For example:
//GUSSNEW PROC PFX=PUBLIC.I7227.R@SYMB, USER PREFIX SITE SYM
// WRKUNIT=SYSDA,
// NSOURCE='/u/endevor/Ixxxx/stg1/source/',
// ADDPRE='ADDED.PREFIX.' ,
// C1WRAP=Y
This will automatically cause the parm to wrap(generate a continuation).