prtfil control option open and close prtfil for each spool file
search cancel

prtfil control option open and close prtfil for each spool file

book

Article ID: 125039

calendar_today

Updated On:

Products

CA 2E

Issue/Introduction

Looking for a way within a print file function (prtfil) to open/close the print file in order to generate separate spool file entries for each document being printed.

Is there option in CA 2E to do this or can this be accomplished using User Source exit point? 

Environment

CA 2E

Resolution

CA 2E does not have any out of box functionality for this type of request, but you can use the following to achieve the same.

In CA 2E, you can modify/insert generated lines with the help of the ”YSCNRPLSRC" command (For example USROPN in F-Spec). 

Secondly, you can use function type “EXCUSRSRC” to insert a line of code (For example: OPEN/CLOSE opcodes(operations)) in the appropriate action diagram user points to achieve this task.