Signaling TWS from AIX

Hello Friends,
We are manually executing a ksh script. On the successful completion of the script, we go to Tivoli Workload Scheduler console and manually submit a Job stream. In doing so, there is always a time lag between the completion of the ksh script and submission of the job stream from Tivoli. I want to automate the job stream submission such that it happens immediately after the successful completion of the ksh script using conman

I tried something like this

This invokes conman and asks for username and password and does not recognize the command following conman.

I am very new doing this stuff. Please help.

Thanks,
Sudha

I don't know the conman command, but the commands to conman would be input to the shell. So probably the following might work (or some variation of it), otherwise you might want to explore the possibilities of "expect" or similar tools.

#!/bin/ksh
cd /opt/TWS/bin
print - "rs geode#@;follows=AL_MIG_BID" | conman

Suggested reading is "I/O-redirection in the Korn shell".

I hope this helps.

bakunin