Years ago we faced this same issue and decided that it was better to force the hold file open at the beginning and capture the number then. I don't recall the specifics right now, but I do recall having a program that generated a proc with the SETPTR command and then executing that, capturing the output and parsing the hold file number from there.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tom Dodds Sent: Wednesday, February 15, 2006 8:53 AM 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 [email protected] To unsubscribe please visit http://listserver.u2ug.org/ -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.375 / Virus Database: 267.15.9/261 - Release Date: 2/15/2006 ------- u2-users mailing list [email protected] To unsubscribe please visit http://listserver.u2ug.org/
