You can use either "!" or ":". There is no reason to use one over the other
in a Job Stream file. Now if you are dynamically creating the job stream,
that is a different story. What I mean by dynamically is, that you are
entering the job stream commands online. Then you have to use "!" or
whatever you have stated as you first character(STREAM, #). I would not
recommend using the ":" because the stream program will take that as a end
of file character. There is a lot here. I hope I have not confused you.
Ron Horner
Legacy Systems Supervisor
[log in to unmask]
Lady Remington Jewelry
(630) 860-3323
-----Original Message-----
From: HP-3000 Systems Discussion [mailto:[log in to unmask]]On
Behalf Of Peter Smithson
Sent: Wednesday, May 19, 2004 3:19 AM
To: [log in to unmask]
Subject: [HP3000-L] First character in a STREAM file
Hello,
I've only seen a few STREAM files. They've always had a ! at the start
of them except for when they are re-directing input into something like
SORT.
But now I've got a bit of a STREAM file from a customer which uses : at
the start. What is the significance of this? Well I looked in the
STREAM manual -
Begin each job in the input file with the !JOB command and
terminate it with the !EOJ command. Begin all commands with
an appropriate substitute (other than colon) character, as
in !JOB. When the input file is spooled to a disk, MPE/iX
replaces the substitute command identifier with a colon, so
that the data files are properly interpreted when executed.
In other words, you can use any character BUT the ':'. The customer has
even used : with the JOB command but then , after the first few lines,
they've decided to use '!'. Then later on they might revert back to :
for no apparent reason.
Is there a good reason for this or are they being careless?
Thanks.
Peter
--
http://www.beluga.freeserve.co.uk
* 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 *
|