HP3000-L Archives

May 2001, 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:
Fri, 25 May 2001 11:03:40 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (59 lines)
I just remembered a product called Chameleon, from Taurus Software in the
mid 80's, that ran on MPE/V boxes and emulated the MPE/XL (as it was known
then) environment.

One of the extensions it had over MPE/XL was that you were able to call the
system intrinsics. One of the example command files was a line editor using
the file system intrinsics.

Another one was that when you :STREAMed a job, any undeclared variables in
the job that were declared in your session would be automatically passed.
For example:

        :showvar my@
        MYJOB = S123
        MYMESSAGE = THIS IS A MESSAGE FROM ME

        !job user.account
        !tell !MYJOB !MYMESSAGE
        !eoj

would result in the job sending you, the jobs :STREAMer, the message 'THIS
IS A MESSAGE FROM ME'. Of course you would have to make your job handle
situations where the 'external' variables had not been declared.

Now this would be a good enhancement.

Robert.
-----Original Message-----
From: Gavin Scott [mailto:[log in to unmask]]
Sent: Thursday, May 24, 2001 5:59 PM
To: [log in to unmask]
Subject: Enhancement request (Was: RE: Passing HPSTREAMEDBY from one job
to another.)


Robert writes:
> [...] I have to somehow pass the first jobs HPSTREAMEDBY to all
> subsequent jobs.

Currently there is pretty much no way to pass information to a job outside
of the $STDIN of that job, so you're probably stuck having the first job
modify the job file for the second as part of streaming it via some
mechanism or another.

But wouldn't it be nice to be able to say:

:STREAM myjcl.job;INFO="some data for the job"

and then inside the job you could refer to, say, a variable called HPINFO,
or HPJOBINFO to access the info string passed to :STREAM?

G.

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

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

ATOM RSS1 RSS2