Operational profile scripts fail with "Here Document" section
Has anyone had an experience with writing Operation Profiles (for OS - basically scripting) where they tried to use a “Here Document”?
I have a while loop with a “Here Document” imbedded in it.
while <condition>
CMD <<EOF
input cmds
EOF
done
This ksh script runs at the cmd line just fine, but if I try to use it as a Operational Plan I get this error message:
“syntax error at ‘\n’”
Then the “input CMDs” generate a series of error messages.
Doug
I have a while loop with a “Here Document” imbedded in it.
while <condition>
CMD <<EOF
input cmds
EOF
done
This ksh script runs at the cmd line just fine, but if I try to use it as a Operational Plan I get this error message:
“syntax error at ‘\n’”
Then the “input CMDs” generate a series of error messages.
Doug
0