If you could gain access to @.IN.HPSPOOL, the contents of the job was
there. Then you would have to recreate the job card. That is the MPE
solution.
I think that if you're going to be doing this type of processing, then
maybe using 3rd party software is the better solution. At least then doing
tasks like this would be easier.
Ron Horner
Consulting Computer Specialist
http://horner.horner.home.mindspring.com
-----Original Message-----
From: Tim Ericson [SMTP:[log in to unmask]]
Sent: Friday, February 18, 2000 5:59 PM
To: [log in to unmask]
Subject: Re: START JOB EARLY
lHere'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
+-------------------------------------------------------------------+
|