Previous Topic: Assign SYSOUT IDs Based on Embedded TextNext Topic: Segmented PTEXT Strings


Text Extraction (+ and –)

Prefix the PTEXT text string with a plus or minus sign to indicate if the SYSOUT ID is to be the characters to the right of the PTEXT (specified with +) or to the left (specified with –). The default is plus.

The characters following or preceding the PTEXT string are searched for the first non-blank valid SYSOUT ID character. Characters are extracted until an invalid character is encountered or 32 characters are obtained.

PTEXT1='LOADLIB('

The report can be a JCL listing containing the following:

//SYSLMOD DD DSN=PROD.LOADLIB(DEVWORK),DISP=SHR

The extracted SYSOUT ID is DEVWORK.