Joe,
The originating system is evaluating the HPLASTJOB variable *before*
executing the command. Therefore the value of HPLASTJOB from the originating
system (which is empty) is what you are using for your ALTJOB.
This should work just fine:
:remote altjob job=!![hplastjob];inpri=8
HTH.
Doug.
Doug Werth Beechglen Development Inc.
[log in to unmask] Cincinnati, Ohio
The opinions expressed do not necessarily represent the views or
opinions of Beechglen Development. They might but not necessarily.
They represent solely the opinions of the author.
----- Original Message -----
From: Joseph Whitlock <[log in to unmask]>
To: <[log in to unmask]>
Sent: Tuesday, September 21, 1999 11:37 AM
Subject: Problem with REMOTE ALTJOB in Batch
> HP3000 Folks,
>
> I'm trying to issue a remote altjob in batch and am encountering a
> problem
> Has any one seen this? The job looks like this; The results of job
> running
> are below this listing.
>
> !job test,mgr.bcse;inpri=8;outclass=lp,1
> !
> !showtime
> !showme
> !
> !remote hello joe,mgr/<hidden pass>.bcse;dsline=site133
> !
> !remote streamer test2.stream
> !remote showvar HPLASTJOB
> !remote altjob job=![HPLASTJOB];INPRI=8
> !
> !remote bye
> !
> !eoj
>
>
> The results of the job look like this;
>
> JOB TEST,MGR.BCSE,PUB.
> Priority = DS; Inpri = 8; Time = UNLIMITED seconds.
> Job number = #j5965.
> TUE, SEP 21, 1999, 8:12 AM.
> HP3000 RELEASE: C.55.00 USER VERSION: C.55.06
> MPE/iX HP31900 C.05.08 Copyright Hewlett-Packard 1987.
> All Rights Reserved.
>
> CIS/ESWR Devlopment - Renton HP3000/987 Site #133
>
> LOGON NOTICE:
> ----------------------------------------------------------------
> The use of this computing system is restricted to the
> conduct of company business by authorized users. All
> information and communications on this system are subject to
> review, monitoring, and recording at any time, without notice
> or permission. Unauthorized access or use may be subject to
> prosecution
> ----------------------------------------------------------------
>
> STREAMED BY JOE,MGR.BCSE (#S3163) ON LDEV# 416
> STREAM DATE: TUE, SEP 21, 1999, 8:12 AM
>
>
> END OF PROGRAM
>
>
> ** OCS/PRIVATE** V5.01
>
> (C) COPYRIGHT 1995 OPERATIONS CONTROL SYSTEMS; ALL RIGHTS RESERVED
>
>
>
> Last successful logon was on 9/21/99.
>
>
>
> END OF PROGRAM
> TERM CHECK COMPLETE
> :
> :showtime
> TUE, SEP 21, 1999, 8:12 AM
> :showme
> USER: #J5965,MGR.BCSE,PUB (NOT IN BREAK)
> RELEASE: C.55.00 MPE/iX HP31900 C.05.08 USER VERSION: C.55.06
> CURRENT: TUE, SEP 21, 1999, 8:12 AM
> LOGON: TUE, SEP 21, 1999, 8:12 AM
> CPU SECONDS: 1 CONNECT MINUTES: 1
> $STDIN LDEV: 16385 $STDLIST LDEV: 16384
>
> CIS/ESWR Devlopment - Renton HP3000/987 Site #133
>
> :
> :remote hello joe,mgr .bcse;dsline=site133
>
> HP3000 RELEASE: C.55.00 USER VERSION: C.55.06
> TUE, SEP 21, 1999, 8:12 AM
> MPE/iX HP31900 C.05.08 Copyright Hewlett-Packard 1987.
> All Rights Reserved.
>
> CIS/ESWR Devlopment - Renton HP3000/987 Site #133
>
> LOGON NOTICE:
> ----------------------------------------------------------------
> The use of this computing system is restricted to the
> conduct of company business by authorized users. All
> information and communications on this system are subject to
> review, monitoring, and recording at any time, without notice
> or permission. Unauthorized access or use may be subject to
> prosecution
> ----------------------------------------------------------------
>
>
>
> END OF PROGRAM
>
> ** OCS/PRIVATE** V5.01
>
> (C) COPYRIGHT 1995 OPERATIONS CONTROL SYSTEMS; ALL RIGHTS RESERVED
>
>
>
> Last successful logon was on 9/21/99.
>
>
> END OF PROGRAM
> TERM CHECK COMPLETE
> ENVIRONMENT 1: SITE133.BOEING.USA=SITE133.BOEING.USA
> :
> :remote streamer test2.stream
>
> ** OCS/EXPRESS STREAMER Job Initiator ** V5.00.00
> (C)Copyright 1983-1994 Operations Control Systems All Rights
> Reserved.
>
> #J5966
>
> END OF PROGRAM
> :remote showvar HPLASTJOB
> HPLASTJOB = #J5966
> :remote altjob job=![HPLASTJOB];INPRI=8
> ^
> Expected a value for this keyword. (CIERR 10115)
> :
> :remote bye
> CPU=1. Connect=1. TUE, SEP 21, 1999, 8:12 AM.
>
> :
> :eoj
> CPU sec. = 1. elapsed min. = 1. TUE, SEP 21, 1999, 8:12 AM.
>
>
>
>
> --
> Respectfully,
> Joe
>
> Joe Whitlock | Work Email: [log in to unmask]
>
> The Boeing Company | Home Email: [log in to unmask]
> P.O. Box 3707 | Tel: 425-234-1478
> MS 6C-LU | Fax: 425-237-7230
> Seattle, WA 98124-2207 |
|