PERFORM a setptr with the spool file open and extract the actual file from the result
Les Sherlock Hewkin Senior Developer Core Systems - 9951 01604 592289 -----Original Message----- From: Tom Dodds [mailto:[EMAIL PROTECTED] Sent: 15 February 2006 15:53 To: User group U2 Subject: [U2] Capturing hold file numbers. Hi all: I need a little printer help if someone has experience with this situation. When you use the SETPTR command to direct printed output to a HOLD file and turn on the INFORM option (SETPTR 0,,,,,1,AT ASHTEST,HOLD,INFORM) you get the number of the hold file that is generated, displayed to the screen when the printer is turned OFF, CLOSED or the program is terminated. How can you capture this number, the Hold file number, within the executing program? Thanks in advance for you assistance. Tom Dodds [EMAIL PROTECTED] 708-234-9608 Office 630-235-2975 Cell ------- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ This message has been comprehensively scanned for viruses, please visit http://www.avg.power.net.uk/ for details. This e-mail and any attachments are confidential and intended solely for the use of the addressee only. If you have received this message in error, you must not copy, distribute or disclose the contents; please notify the sender immediately and delete the message. This message is attributed to the sender and may not necessarily reflect the view of Travis Perkins plc or its subsidiaries (Travis Perkins). Agreements binding Travis Perkins may not be concluded by means of e-mail communication. E-mail transmissions are not secure and Travis Perkins accepts no responsibility for changes made to this message after it was sent. Whilst steps have been taken to ensure that this message is virus free, Travis Perkins accepts no liability for infection and recommends that you scan this e-mail and any attachments. Part of Travis Perkins plc. Registered Office: Lodge Way House, Lodge Way, Harlestone Road, Northampton, NN5 7UG. ------- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/