HP3000-L Archives

January 1995, Week 5

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:
Eero Laurila <[log in to unmask]>
Reply To:
Eero Laurila <[log in to unmask]>
Date:
Tue, 31 Jan 1995 05:58:06 GMT
Content-Type:
text/plain
Parts/Attachments:
text/plain (32 lines)
Thomas Hagen ([log in to unmask]) wrote:
: Hello, could someone please explain how to start a job in a command file?
: The JOB description should be included in the command file like this :
 
: PARM parameter1
 
: STREAM ,*
: *JOB ...
: *TELL @;!parameter1
: *EOJ
 
Here's one way... use the following command file for start...  note that
in order to put a "!" in there you have to precede it with another "!"
and the echo command with i/o redirection symbols ">" opens a new file
and ">>" appends to a file... here's a sample:
 
:print cmdfile
parm parm1="hi there!"
echo !!job jname,user/upass,acct/apass > jobfile
echo !!tell @;!parm1                   >> jobfile
echo !!eoj                             >> jobfile
stream jobfile
 
...once executed, the "jobfile" looks like this:
 
:print jobfile
!job jname,user/upass,acct/apass
!tell @;hi there!
!eoj
 
Eero Laurila - HP CSY Networking lab.

ATOM RSS1 RSS2