HP3000-L Archives

November 1997, Week 3

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:
Andreas Baronick <[log in to unmask]>
Reply To:
Andreas Baronick <[log in to unmask]>
Date:
Mon, 17 Nov 1997 08:02:16 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (46 lines)
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

ATOM RSS1 RSS2