[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Reply to SQR Question...
> Greetings! I am a *VERY* novice SQR developer, my primary contact is out
> for the week, and I have an SQR error (in a production run, of course!) that
> is puzzling me.
>
> Background: Oracle 7.1.3, AIX 3.2 First time running this in Oracle7!
> It's a straight report -- no updates, inserts, deletes.
>
> Error: SQR 2500 Error getting INPUT.
>
> When I look in the book, it says "The C routine "fgets()" returned an error
> and SQR aborts the program run.".
>
> What is that supposed to mean, and WHERE do I begin to look? Or, as I've
> done a couple of times in the past WEEK (since going to Oracle7), do I just
> re-run, and HOPE it corrects itself? (So far, that has worked on other
> things...)
>
> TIA....
>
> Louise
>
> Louise J Weiler
> Programmer/Analyst
> Rensselaer Polytechnic Institute
> Troy, NY 12180-3590
> (518) 276-8446
> johnsl2@rpi.edu
Your program contains one (or more) INPUT commands that expect to read values
from stdin to assign to the variables being input. If SQR cannot read from
stdin (ie: running in background with no terminal associated, user enters
ctrl-C or ctrl-D or such when prompted, etc.), you'll get this error.
------------------------------------------------------------------------------
John Griffin (205) 890-2401 | A TTTTTTT SSSSS
Advanced Technology Systems (ATS), Inc. | A A T S
4801 University Square, Suite 2 | AaaaA T SSSSS
Huntsville, AL 35816-3431 | A A T S
johng@rmf41.usace.army.mil | A A T SSSSS
------------------------------------------------------------------------------