Running an SQR from shell script

Hi,

I am trying to run an SQR from unix shell script. but the SQr errored out with the following message

SQR (1201) Cannot open argument file (2) No such file.

Can anybody help me ragrding this.

I m using this to run the SQR. $2 is the sqr name and $3 is the parameter file name.

sqrun $2 < $3

In your code, I only see one parameter , as < $3 doesn't stand for a parameter.
Did you ever try this :

sqr $2 $3