Description:
The TPX Batch Administration Guide contains a chapter on Using VTAM Modeling Statements. This provides a batch facility using wildcards and system variables to generate your VTAM APPL statements rather than creating everything manually.
The documentation contains this sample model job:
//USER54 JOB (0,A300),MODELJCL,CLASS=V,MSGCLASS=H,NOTIFY=USER54
// EXEC procname,VNODE='*MODEL*'
//LOG DD SYSOUT=*
//XTRACE DD DUMMY
//SYSIN DD input file containing models
//SYSUT2 DD output file that will contain the expanded statements
This job will fail with error TPB583 XTRACE DATASET UNUSABLE, INVALID DEVICE TYPE.
Do not include the //XTRACE DD DUMMY statement.
The XTRACE DD from the TPX PROC should be used rather than being dummied out.
The sample model job should be:
//USER54 JOB (0,A300),MODELJCL,CLASS=V,MSGCLASS=H,NOTIFY=USER54
// EXEC procname,VNODE='*MODEL*'
//LOG DD SYSOUT=*
//SYSIN DD input file containing models
//SYSUT2 DD output file that will contain the expanded statements
This documentation will be updated in a future release.