Previous Topic: Text Extraction (+ and –)Next Topic: Special Characters


Segmented PTEXT Strings

You can specify a series of text strings separated by periods, referred to as segmented text strings. If segmented text is specified:

The report is scanned until the first segment of PTEXT text is located, and then it is scanned for the next segment, and so on, until the last segment is found.

For the specification

PTEXT1='SYSLMOD'.'LOAD('

when the following JCL is scanned:

//LKED.SYSLMOD  DD  DSN=PROD.LOAD(PGMA130),DISP=SHR

the extracted SYSOUT ID is the member name PGMA130.

Notice that the text segments SYSLMOD and LOAD are enclosed in single quotation marks to show that the period is a segment delimiter.