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:
Tony Summers <[log in to unmask]>
Reply To:
Tony Summers <[log in to unmask]>
Date:
Wed, 5 Oct 2005 15:48:29 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (132 lines)
Turn the problem round - create a logon UDC that is invoked for every
job that logs on (a system level logon UDC).    Have the logon UDC
invoke a bespoke program of your choice that captures the STDLIST number


 

Try streaming the following job and looking at what is in TEMPJOB file -
it should give you the information you need (the spoolf command would be
part of the logonUDC/bespoke program.  

 

You'll probably find this information is also available via some obscure
intrinsic. 

 

!JOB SUASRUN2,prog.develop,tony;INPRI=08;OUTCLASS=LP,1;SPSAVE

!spoolf @;show;seleq=[jobnum=j!hpjobnum] >tempjob

!print tempjob

!#

!EOJ

 

________________________________

From: [log in to unmask] [mailto:[log in to unmask]] 
Sent: 05 October 2005 14:29
To: Tony Summers
Cc: [log in to unmask]
Subject: HPLASTJOB and HPLASTSPID problem

 

<<snip>>

 

Paul's answer is what I would have given.   If you need the LASTSPID
number then you need to ensure that the job can logon straight away.

Two ways come to mind 1) allow the job to logon with HIPRI 2) use
user-defined job queues. 

I'm guessing,  but I expect you would also fail to get the LASTSPID once
the job has logged off and the STDLIST has been deleted (either by being
printed with no SPSAVE option, or by forcing the STDLIST to be deleted
in the Job stream's JCL). 
<<end of snip>>

 

Yep, that's exactly what is happening. There is no spoofl id until the
job logs on (EXEC state)

and once the spoofl is printed/deleted it is then gone forever....

 

So that is why I wrote this app -- It captures the job jumber, its
associated spoofl id's and writes this info to a logfile for future
reference.

 

Of course, if the job doesn't immediately log on then the spoofl id is
blank. So I plugged a 2 second pause in the program. However, if a job
is scheduled to run at a later time then the

spooflid doesn't exist and won't be captured anyway. 

 

Guess I have to live with what I've got right now.

    

Such is life.......

 

Brian Donaldson.

 

 


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________



The contents of this email are confidential to the intended recipient
and may not be disclosed. Although it is believed that this email and
any attachments are virus free, it is the responsibility of the recipient to confirm this.

Smith & Williamson Corporate Finance Limited - A member of the London Stock Exchange.  
A member of M&A International Inc. http://www.mergers.net  Registered in England No. 4533970. Authorised and regulated by the Financial Services Authority 
Smith & Williamson Investment Management Limited, Registered No. 976145. Authorised and regulated by the Financial Services Authority.
Smith & Williamson Pension Consultancy Limited - Independent Intermediary. Registered No. 3133226. Authorised and regulated by the Financial Services Authority.
Smith & Williamson Fund Administration Limited, Registered No. 1934644. Authorised and regulated by the Financial Services Authority.
Smith & Williamson Limited - A member of Nexia International.  Registered in England No. 4534022. Regulated by the Institute of Chartered Accountants in England & Wales for a range of investment business activities.
NCL Investments Limited, Registered No. 1913794.
Member of the London Stock Exchange authorised and regulated by the Financial Services Authority.

Registered Office: 25 Moorgate, London EC2R 6AY
Telephone: 020 7131 4000 http://www.smith.williamson.co.uk

Nexia Audit Limited - A member of Nexia International. Registered in
England No. 4469576. Registered to carry on audit work and regulated by the Institute of Chartered Accountants in England & Wales for a range of investment business activities.

Registered Office: 25 Moorgate, London EC2R 6AY
Telephone: 020 7131 4000 http://www.nexiaaudit.co.uk


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________

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

ATOM RSS1 RSS2