HP3000-L Archives

April 2005, Week 4

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:
Robert Mills <[log in to unmask]>
Reply To:
Robert Mills <[log in to unmask]>
Date:
Mon, 25 Apr 2005 11:18:44 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (33 lines)
Greetings to the -L,

Environment: MPE/iX 6.5 PP3, Reflection 8 and Minisoft MS92 Terminal
Emulators

I have a script that needs to know which of the following ways it has
been executed:

1) 'local' session
2) 'local' job
3) 'remote' session
4) 'remote' job

Options 1 and 2 are easy, just check the value of HPJOBTYPE for 'J' or
'S'.

Options 3 and 4 are more difficult as HPJOBTYPE will always be 'S'.

I've noticed that HPVT_CLIENT_JOB_NUM is blank if the job/session is
local OR the identity of the 'remote' job/session (e.g. #S123 or #J456).

Can this be relied on OR is there a better/safer way to do this?

regards, 
  
Robert W.Mills 
Systems Development Manager 
Windsong Services 
(020) 8309 3604 

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

ATOM RSS1 RSS2