PRTOPTNS changes the name of the print options (in the printer inventory) used 
to format and print the dataset. You can change the PRTOPTNS name in the 
Routing Exit only. 

If you must change PRTOPTNS using information in the print file, you would need 
to use the Record Exit to read the print data, but by this time formatting and 
transmission will have already begun, so it is too late to change PRTOPTNS.

The only way to accomplish what you describe is to use a Filter (Unix or DLL 
filter). Filters see the print file before any PrintWay processing is done. You 
would use the filter to read the file, extract the new PRTOPTNS name, and 
resubmit the job with the new PRTOPTNS name. There is no job attribute for 
PRTOPTNS, so you'd need to use dynamic output (PRTOPTNS is key x'39'). I don't 
see PRTOPTNS in the BPXWDYN supported dynamic output keys, so you'll likely 
need Assembler.


Howard Turetzky
Advanced Technical Support, M/S 004L Dept 966
InfoPrint Solutions Company
6300 Diagonal Hwy, Boulder, CO 80301
[email protected]

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to