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.

  1. 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.
  2. Assemble or compile your subroutine, and then catalog it into the CA EPIC for z/VSE library as TSIDPR.OBJ.
  3. 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
    /*
    /&
    
  4. Execute the TSIDBPR program in any available partition.
  5. To terminate the label printing function, execute the TSIDPEN program in any available partition.