HP3000-L Archives

May 2005, Week 2

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:
Greg Skvorak <[log in to unmask]>
Reply To:
Greg Skvorak <[log in to unmask]>
Date:
Tue, 10 May 2005 09:28:15 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (37 lines)
----- 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 *

ATOM RSS1 RSS2