[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Re: .LIS files not being created properly (found the problem!)
- Subject: Re: .LIS files not being created properly (found the problem!)
- From: Seeley Scott <Seeley_Scott@PRC.COM>
- Date: Sat, 15 Nov 1997 18:54:03 -0500
Hiya,
A few days back I wrote:
>> a line of code that was supposed to print a blank line:
>> PRINT ' ' (+1,,)
>> Except there was no space between the single quotes. It read:
>> PRINT '' (+1,,)
>>
>> Aaaaaaagh!!! It ran fine on the client. Bombed out in Unix with no
>> error messages. Half of me is laughing out loud and the rest wants
to
Nathan asked:
>Hmmm. Strange. I'm interested to know if PRINT '' (+1,,) works okay
in
>that version of SQR outside of the heading. Certainly it should work
(both
>inside and outside the heading).
Nope, that's the interesting thing. With this in the heading, it goes
ka-blooey (Scott waves his arms around rapidly). But change the
BEGIN-HEADING to a simple procedure and everything runs fine. Change it
back, and boom. So this only blows up when it's in a BEGIN-HEADING, and
(in our case) only when run in Unix.
>What version of SQR are you running on
>your server? I'm able to do both with SQR/3.0.15/Intel/SCO Unix R3.2
>V5.0/Oracle 7.2.2.3/Sep 25 1996.
They are:
SQR 3.0.7.0.1
Database - Oracle 7.3.3.4.0
OS - Sun OS 5.5.1 (Solaris 2.5.1? Generic May '96)
>Do you have core dumps enabled on your server machine? It may be that
the
>reason SQR didn't print an error message was that had a segment fault
or
>something like that.
Uhhh, huh-huh, huh-huh, huh-huh. He said "dump". Huh-huh, huh-huh.
(for those of you who don't follow the cultural activity known as
"Beavis & Butthead, that means "nope".)
But I'll sit down with our DBA early next week (after our live date) and
get a core dump. If anything tasty comes up I'll post it to the list.
Or I can send it to you direct, Nathan, jest lemme know via private
email.
>Did you get an "SQR: End of Run." line when the program crashed?
Nope. Program locked up (I believe after 55 lines, which'd be when the
page ends and SQR tried to generate the first page). It had to be
zapped in Unix via the "kill" command.
>As a side note, I've found that its less ambigious to use the POSITION
>command instead of printing blanks when I'm simply trying to move the
cursor
>to a new position. Instead of
> print ' ' (+1)
>I just say
> position (+1)
Ahhh, that's good. Probably safer too. I like that - my thanks.
cheers,
Scott