When you create a VTAMLST member for TPX using the *TPX,MDL Statement you have several options for the SYSUT2 DD-Card.
1. You can specify a dataset defined with Record length of 80 and fixed Block:
//SYSUT2 DD DSN=TPX.DATA.SET,DISP=SHR
2. you can specify DUMMY. If done, the output is located in the Job-Log
//SYSUT2 DD DUMMY
3. If you specify SYSOUT=* for the SYSUT2 DD-Card, then you will suffer a S002 Abend with Returncode 18 in this message
Returncode 18 means:
An incorrect record was encountered on a QSAM PUT operation; the data set uses the variable record format.
The value in the length of the record descriptor word (RDW) is incorrect for one of the following reasons:
o It is greater than 32,767, or greater than the block size specified in the DCB.
o It is less than 4, or less than 5 if ASA or machine control characters are used.
o It specifies a value greater than the DCBLRECL value (maximum record size) that
was specified when the data set was opened.
You can prevent that Abend by using one of the two first SYSUT2-DD-Cards above or by specifying
//SYSUT2 DD SYSOUT=*,LRECL=80,RECFM=FB