Subject: | |
From: | |
Reply To: | |
Date: | Tue, 31 Jan 1995 05:58:06 GMT |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
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.
|
|
|