Description:
VPSTRACEs are used to debug file create problems when using the virtual printer interface. The NODE parameter can be used to create VPSTRACE files by adding VPSTRACE=cccccccc or VPSTRACE=*ALL, but sometimes it isn't easy to use.
The easiest way to do this is with commands issued to the started task. All you need is the virtual printer name that you want to trace. This is found on the NODE statement as parameter VPS=<virtual printer name>. Once you have the correct virtual printer name you can issue the below commands. First start the trace. Then run the print transaction to create the report file. Once the file is created in CA Spool you will need to stop the vpstrace.
TV,<virtual printer name>.*ALL This turns on the vpstrace TV,<virtual printer name>.*STOP This turns off the vpstrace
Another way of doing this is through the menu interface. You would need to have full authority to the CA Spool menu. I will use <virtual printer name> as the virtual printer for this example.
Spool (nnnnnnnn ) CA-Spool r11 Ln - / Sub LV31 Nje RN RG RU Col to of -------------------------------------------------------------------------- Command ===> v F - Display files awaiting print FA - Display all files P - Display printers N - Display NJE nodes V - Display virtual printers ? - Help OP - Set owner prefix PP - Set printer prefix RP - Set report prefix RG - Set related group RN - Set related printername SUB - Set subsystem name NJE - Set NJE name
Spool (nnnnnnnn ) Virtual printers Ln 1 - 4 Sub LV31 Nje RN RG RU Col 1 to 54 ------------------------------------------------------------------------ Command ===> Action VPS name Prt name Prt alias Sessions Rc Status <vitual printer name> AAAA 08,5A CLOSE DISABLED x <vitual printer name> BBBB RPPTV 000 OPEN ENABLED <virual printer name> CCCC VPIPRT1 000 OPEN ENABLED <virtual printer name> DDDD VPIPRT2 000 OPEN ENABLED
Spool (BIEHE02 ) Virtual printers Ln 1 - 1 Sub LV31 Nje RN RG RU Col 1 to 53 ----------------------------------------------------------------------- Command ===> Action VPS name Curr plu File seqno Records Clu Trace Plu
<vitual printer name>
Spool (BIEHE02 ) Virtual printers Ln 1 - 1 / 1 Sub LV31 Nje RN RG RU Col 1 to 53 of 53 ------------------------------------------------------------------------------- Command ===> Action VPS name Curr plu File seqno Records Clu Trace Plu m <vitual printer name>
Spool (nnnnnnnn ) Virtual printers Ln 1 - 1 / 1 Sub LV31 Nje RN RG RU Col 1 to 53 of 53 ------------------------------------------------------------------------------- Command ===> Action VPS name Curr plu File seqno Records Clu Trace Plu
<vitual printer name> *ALL
Spool (nnnnnnnn ) Virtual printers Ln 1 - 1 / 1 Sub LV31 Nje RN RG RU Col 1 to 53 of 53 ------------------------------------------------------------------------------- Command ===> Action VPS name Curr plu File seqno Records Clu Trace Plu
<vitual printer name>