Additional CA EPIC for z/VSE Utilities › Coding the Label Print Subroutine › Printing Labels In Batch Mode
Printing Labels In Batch Mode
If you are running under VM and processing with VIRTUAL=REAL (instead of VIRTUAL=VIRTUAL), we recommend that you use CICS for your label printing.
- Create your subroutine to format and print the label from the record passed by TSIDBPR. Use the sample programs found in the CA EPIC for z/VSE installation library as examples. Both an Assembler example, TSIDPR.A, and a COBOL example, TSIDPR.C, are provided.
- Assemble or compile your subroutine, and then catalog it into the CA EPIC for z/VSE library as TSIDPR.OBJ.
- Link TSIDPR with TSIDBPR and catalog the phase into the CA EPIC for z/VSE library. TSIDBPR uses standard linkage conventions. The following JCL example can be used to catalog the phase.
// JOB CATALOG TSIDBPR
// OPTION CATAL
ACTION CLEAR
INCLUDE TSIDBPR
INCLUDE TSIDPR
/*
// EXEC LNKEDT
/*
/&
- Execute the TSIDBPR program in any available partition.
- To terminate the label printing function, execute the TSIDPEN program in any available partition.