システム変数 ConverseVar.printerAssociation を使用すると、 実行時に、印刷書式を印刷するときの出力の宛先を指定することができます。
ConverseVar.printerAssociation は、生成時に指定された、またはデバッグの目的で指定されたシステム・リソース名に初期設定されます。 プログラムが別のプログラムに制御を渡すと、ConverseVar.printerAssociation の値は受け取り側のプログラムのデフォルト値に設定されます。
特定の印刷書式について、複数の印刷ジョブが可能であったとしても、close 文は、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