RE: [U2] SYSTEM(20)?

2005-07-13 Thread George Gallen
This is what I use on Universe, it may work in Unidata. 0010: * 0011: * 0012:EXECUTE "SETPTR ":PON CAPTURING JUNK 0013:[EMAIL PROTECTED]:"Output to HOLD file" 0014:XX=INDEX(JUNK,SEARCH,1) 0015:IF XX=0 THEN 0016: JOBNAME="" 0017: RETURN 0018:END 0019:JUNK=JUNK[XX

Re: [U2] SYSTEM(20)?

2005-07-13 Thread Timothy Snyder
Check out GETPU() in the UniBasic Commands manual. That should give you what you need. Tim Snyder Consulting I/T Specialist , U2 Professional Services North American Lab Services DB2 Information Management, IBM Software Group 717-545-6403 [EMAIL PROTECTED] --- u2-users mailing list u2-users

Re: [U2] SYSTEM(20)?

2005-07-13 Thread BNeylon
Look up GETPU(unit.number) Bruce M Neylon Health Care Management Group "Norman Morgan" <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 07/13/2005 02:51 PM Please respond to u2-users To: cc: Subject:[U2] SYSTEM(20)? I may have asked this before, if so,

RE: [U2] SYSTEM(20)?

2005-07-13 Thread David Knight
We had the same issue converting from RealityX to universe. The spooler menu on RX was much more user-friendly and listed such helpful options as "pages printed so far" for the displayed job. So we haven't found a solution, probably because we do not use the HOLD file method of managing print jobs.

RE: [U2] SYSTEM(20)?

2005-07-13 Thread Timothy Snyder
David Knight wrote on 07/13/2005 08:03:10 PM: > Reading the manual, the GETPU seems to return everything BUT the current > print job number. Perhaps this is a wish list for the next release of UV. The OP is on UniData. I've been using GETPU() to report the currently open hold entry on each pri

RE: [U2] SYSTEM(20)?

2005-07-14 Thread colin.alfke
Norman; As others pointed out you can use GETPU(). We went a different way and execute a SETPTR command using the "BANNER" option to actually name the _HOLD_ item. This will eliminate the renaming step and perhaps with the right options could eliminate the "editing the printer control characters"

RE: [U2] SYSTEM(20)?

2005-07-14 Thread TPellitieri
Norman Morgan <[EMAIL PROTECTED]> wrote on Wed, 13 Jul 2005 13:51:59 -0500 > I need to find a workaround for a D3 feature that I have become > dependent on. SYSTEM(20) returns the number of the last spooler > entry you created. DICT _HOLD_ NEXT.HOLD contains the next job number to use. Reading

RE: [U2] SYSTEM(20)?

2005-07-14 Thread Norman Morgan
> We had the same issue converting from RealityX to universe. The > spooler menu on RX was much more user-friendly and listed such > helpful options as "pages printed so far" for the displayed job. Tell me about it! We came to D3/SB+/AIX 10 years ago from a Wang VS environment. I don't miss writ

Re: [U2] SYSTEM(20)?

2005-07-14 Thread Don Kibbey
The Wang spooler was probably running directly attached printers (via serial or parralell interfaces). This would allow the spooler to "know" much more about the status of a job than the more "modern" printers that are network attached (and deal with complete print jobs in one fell swoop). For a

RE: [U2] SYSTEM(20)?

2005-07-14 Thread Norman Morgan
t; -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Don Kibbey > Sent: Thursday, July 14, 2005 10:36 AM > To: u2-users@listserver.u2ug.org > Subject: Re: [U2] SYSTEM(20)? > > > > Today we just print the whole thing, take one lo

Re: [U2] SYSTEM(20)?

2005-07-14 Thread Mark Johnson
was too good to die with MCD. MJ - Original Message - From: "Norman Morgan" <[EMAIL PROTECTED]> To: Sent: Thursday, July 14, 2005 9:28 AM Subject: RE: [U2] SYSTEM(20)? > > We had the same issue converting from RealityX to universe. The > > spooler menu on RX