HP3000-L Archives

February 2000, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Tim Ericson <[log in to unmask]>
Reply To:
Tim Ericson <[log in to unmask]>
Date:
Fri, 18 Feb 2000 15:58:58 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (43 lines)
Here's and update to the script I just wrote,
courtesy of Jeff Vance!  (thanks, Jeff!)

I wrote (in the script):
>> # re-create the JOB statement
>>
>> showjob #J!res_job > showjobf
>>
>> !hpfile entry_point = showjob < showjobf


And Jeff sez:
> You can replace the above 2 statements and the entire
> entry "showjobf" with the following (if you have 6.0 PP1):
>
>   setvar res_new_rec "!" + "JOB " + &
>          jinfo("J!res_job","JobUserAccountGroup") + &
>          ";outclass=" + jinfo("J!res_job","outclass") + &
>          ";inpri=" + jinfo("J!res_job","inpri")
>   echo ![res_new_rec] > newfile


Pretty cool!  A clever programmer could even include the outclass
priority and number of copies, and allow for hipri jobs!

Note the 6.0 PP1 disclaimer, though!  I've held DenKor on 5.5 PP7
(until 6.5 PP1), so we don't have these features, yet, and I coded
accordingly!

Thanks again, Jeff.

 +-------------------------------------------------------------------+
  My mind is my own, as are my ideas and opinions.
  My heart, body, and soul, however, all belong to others.       Tim.
 +-------------------------------------------------------------------+
  Tim Ericson            tericson      DenKor Dental Management Corp.
  Sr. Systems Analyst     at denkor    503-526-4440 (my direct number)
    (& Systems Manager)     dot com         http://www.denkor.com
  Programming HP3000s since 1983!      Quality dental care since 1970!
 +-------------------------------------------------------------------+
  UDCs and Command Files:  http://www.denkor.com/hp3000/command_files
 +-------------------------------------------------------------------+

ATOM RSS1 RSS2