[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

Re: Strange problem with STOP QUIET



On Wed, Nov 11, 1998 at 04:18:09PM -0700, Albert Howard wrote:

>   Note that right after the columns you will find the show 'stop test'
>   line, followed by a stop quiet.  When executing the program as it is,
>   the stop quiet works like its supposed to.  However, if I move the
>   line move &A.COMPANY to $COMPANY up above the show and the stop quiet,
>   the program hangs on the stop quiet.  Instead of terminating, the show
>   still displays, but then the program just sits.  This also happens
>   when the move &A.PAYGROUP... line is moved above the show and stop
>   lines.  It does NOT, however, occur if the move &A.PAY_END_DT... line,
>   or any of the others above the show and stop lines.
>   This is totally bizarre to me.  Why would a move effect the
>   performance of a stop quiet?  I am using SQR 3.0.18.1.1, Oracle

Off hand I'd guess the difference is that $Company and $Paygroup are
displayed in the "begin-heading" section of the program.  I don't know what
version were affect, but I remember that there was a bug in some versions
that caused SQR to hang after a STOP QUIET if there were certain things
happening in the begin-heading section.

One of the causes was when an error occured there.  If you just say "stop"
(instead of "stop quiet"), you may be able to see the error message that is
causing the bug to kick in.

Another one of the causes was printing a '' in the header.  I still have no
idea why that should cause a problem, but maybe $Company and $Paygroup are
getting set to '' or some such when you put the "MOVE" above the "STOP
QUIET".

See http://www.sqrug.com/sqr-users/sqrusers_97/msg01061.html
and http://www.sqrug.com/sqr-users/sqrusers_97/msg01033.html
for a little more info.

Hope this helps.

                                                Nathan

----------------------------------------------------------------------------
Nathan Treadway    | Ray Ontko & Co. | Software consulting services
nathant@ontko.com  | Richmond, IN    | http://www.ontko.com/