Subject: | |
From: | |
Reply To: | |
Date: | Tue, 10 May 2005 09:28:15 -0400 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
----- Original Message -----
From: "Greg Stigers" <[log in to unmask]>
To: <[log in to unmask]>
Sent: Tuesday, May 10, 2005 12:04 AM
Subject: hplastjob and jobname
> Given hplastjob and hplastspid of a job that is no longer running, how
> might
> a command file determine the job name using those? JINFO requires that the
> job exist.
>
> Greg Stigers
>
> * To join/leave the list, search archives, change list settings, *
> * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
Greg,
I'm making the assumption you want the result in a variable since you
mention the use of JINFO for use like:
:setvar myjobname,jinfo('#j29', 'jobname')
You can parse output from a LISTSPF.
:listspf !hplastspid;detail > lstemp1
:print lstemp1;start=6;end=6 > lstemp2
:xeq cut.hpbin.sys "-c 21-28"<lstemp2>lstemp3
:input myjobname < lstemp3
:showvar myjobname
Greg Skvorak
Beechglen Development, Inc.
Cincinnati, Ohio
(513) 922-0509
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|
|
|