inline redirect stdin

Hi:

I have the next script on ksh

#!/usr/bin/ksh
cd $FUENTES
qdesign <<-!
\$/opt/cognos/ph843e/bin/qtp <<-!
\$/opt/cognos/ph843e/bin/quiz <<-!
!
!
!

This script is very simple, i want to nest three process quiz into qtp, and this into qdesign.
When I run it , i receive the next error.

./aa[7]: !: not found
./aa[8]: !: not found

Why ?�?�

can i nest inline commads with input redir.

Regards

why -! simply use !

I have read on other forum that this "-!" replace tabs. If i use "!" only i receive the same error. I think that after ksh runs the quiz line , it can find the next "!" because ksh runs on parallel.

P.D: Sorry for my bad English.

Regards

ya may be try to run it seperately..
i mean after <<!
!
<<!
! so on

Hi vidyadhar85:

We need to nest the three statement.

qdesign
|
|--qtp
|
|--quiz

After finish quiz statement the ksh must run the next statement after quiz. "!"

Regards

Sorry:

qdesign
|
|--qtp
|
|--quiz