HP3000-L Archives

October 2005, Week 1

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:
Paul H Christidis <[log in to unmask]>
Reply To:
Paul H Christidis <[log in to unmask]>
Date:
Tue, 4 Oct 2005 16:36:52 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (48 lines)
Brian,

I suspect that the job has to be in the 'exec' state in order for its 
$stdlist to be opened and thus the HPLASTSPID to contain a valid value. 

A quick test, raised the jobfence to where the new job went into the 
'deferred' state, seems to confirm it. 

Could it be that your call occurs before the job has begun executing?

Regards
Paul Christidis


----------------------------------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please 
delete without copying and kindly advise us by e-mail of the mistake in 
delivery. NOTE: Regardless of content, this e-mail shall not operate to 
bind CSC to any order or other contract unless pursuant to explicit 
written agreement or government initiative expressly permitting the use of 
e-mail for such purpose.
----------------------------------------------------------------------------------------



I have a Cobol/VPlus app that streams jobs. I use the COMMAND intrinsic to 
 
stream the
jobs. Works fine, streams the jobs ok.
 
Then I immediately call the intrinsic "HPCIGETVAR" to get the variables 
HPLASTJOB and HPLASTSPID
 
The intrinsic always returns HPLASTJOB every time but the HPLASTSPID is 
flakey, sometimes it is blank, sometimes not.
 
Anyone know why it isn't giving the HPLASTSPID ?
 
TIA
 
Brian Donaldson.

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2