The system variable ConverseVar.printerAssociation allows you to specify, at run time, the output destination when you print a print form.
ConverseVar.printerAssociation is initialized to the system resource name specified during generation or for debugging. If a program passes control to another program, the value of ConverseVar.printerAssociation is set to the default value for the receiving program.
Even though multiple print jobs are allowed for a given print form, the close statement closes only the file related to the current value of ConverseVar.printerAssociation.
jobID:destination
ConverseVar.printerAssociation = "job1"; print form1; ConverseVar.printerAssociation = "job2"; print form2; ConverseVar.printerAssociation = "job1"; print form3;
vgj.ra.myFile.systemName=printer vgj.ra.myFile.fileType=spool