Subject: | |
From: | |
Reply To: | |
Date: | Mon, 17 Nov 1997 08:02:16 -0500 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Hi all.
I have the following problem: A MPE commandfile invokes a Posix shell script. This shell script performs a callci 'setvar varname true' in order to set a flag for use in the MPE commandfile.
Everything works fine as long as the commandfile is called from a session. In a job the callci statement results in an error.
The MPE commandfile:
xeq sh.hpbin.sys;info="-L /usr/vegu/T"
with /usr/vegu/T containing:
callci 'setvar varname true'
exit
If called from a session this results in varname set to true as expected. If called from a job the stdlist of the job shows:
JOB JT,MANAGER.SYS,PUB.
Priority = ES; Inpri = 8; Time = UNLIMITED seconds.
Job number = #j1799.
MON, NOV 17, 1997, 1:29 PM.
HP3000 Release: C.50.00 User Version: C.50.00
MPE/iX HP31900 B.79.06 Copyright Hewlett-Packard 1987.
All rights reserved.
STREAMED BY ANDREAS,MANAGER.SYS (#S8112) ON LDEV# 31
STREAM DATE: MON, NOV 17, 1997, 1:29 PM
:xeq sh.hpbin.sys;info="-L /usr/vegu/T"
setvar varname true >U48400B9.PUB.SYS
A non-boolean expression was found. (CIERR 9940)
callci: error opening redirection file
:eoj
CPU sec. = 3. elapsed min. = 1. MON, NOV 17, 1997, 1:29 PM.
The error message varies with the type of the variable to be set.
Does anybody know what's going wrong here?
TIA.
Andreas
PS: As the stdlist shows I'm on MPE/iX 5.0, PP6
|
|
|