How to use more than one MPE command STREAM with Unix command in a single shell?

Hello,
I have problem in writing the shell script involving MPE command STREAM related to HP-UX and Unix command. Script is

sh "nlshCMD 'STREAM <job name1>' | 'SHOWJOB' | grep $HPJOBNUM"
sh "nlshCMD 'STREAM <job name2>' | 'SHOWJOB' | grep $HPJOBNUM"
sh "nlshCMD 'STREAM <job name3>' | 'SHOWJOB' | grep $HPJOBNUM"

My question is I have to put these three STREAM commands together involving three diffrent jobs together in a single shell script and to monitor the corresponding job, once I submit it. For your reference Text in upper case represents MPE command of HP9000.
Can we do it? If so How? Please let me know your view and any reference in solving this.
Thanking in advance
Kumar