[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Re: error: Out of param storage
On Tue, Nov 10, 1998 at 11:14:22AM -0500, Kimberly Lawrence wrote:
> executing an SQR from within another SQR. This is the command that I'm
> using with the call system using syntax:
>
> sqr -pb /home/fsdev/sqr/fin9020.sqr dev 0 0 0 KIML Test
>
> When I type this command on the command line it works fine but when it is
> called from within the SQR I get the following error message:
>
[...]
> (SQR 4401) Out of param storage; use -Mfile to increase PROGLINEPARS.
>
If this program works when you run it from the command line, you must
somehow be using an -M file at that time. For some reason, this -M file is
not being used when you invoke the program with "call system using".
You didn't say what operating sytem you are using, but if you are using Unix
you should make sure that "sqr" isn't an alias which calls SQR, for example.
You might try using "$SQRDIR/sqr" in both cases (command line and "call
system using").
Also check for settings in an $SQRFLAGS environment variable and make sure
those settings are getting exported to the second sqr program when it
invoked. (You might replace the call to sqr with an "echo $SQRFLAGS", for
example, to see the value of this variable from within a "call system using"
environment.)
If not sure what version of SQR for Informix started using the SQR.INI file
instead of the $SQRFLAGS environment variable, but you might also check
there to see if that's where the -M flag is set.
Another possibility is that you have two files of the same name (in
PeopleSoft, probably "allmaxes.max"), but in different directories. One of
these files has the proper PROGLINEPARS setting and the other which doesn't.
Somehow the default directory is different when you run from within the
other SQR as opposed to from the command line, and so you're picking up the
wrong allmaxes.max file.
Hope something here turns out to be the answer....
Nathan
----------------------------------------------------------------------------
Nathan Treadway | Ray Ontko & Co. | Software consulting services
nathant@ontko.com | Richmond, IN | http://www.ontko.com/