LIMIT ERROR on SQAGetWarning?
4 posts
• Page 1 of 1
LIMIT ERROR on SQAGetWarning?
The following line of code
has just produced a LIMIT ERROR (in 10.1). Any suggestions on how to avoid this one?
- Code: Select all
warn←⍕#.sql.SQAGetWarning'C1.P1'
has just produced a LIMIT ERROR (in 10.1). Any suggestions on how to avoid this one?
-
MBaas - Posts: 156
- Joined: Thu Oct 16, 2008 1:17 am
- Location: Gründau / Germany
Re: LIMIT ERROR on SQAGetWarning?
Never seen that before... What's the result of SQAGetWarning, what was the operation that produced a warning, etc etc :-)?
-
Morten|Dyalog - Posts: 454
- Joined: Tue Sep 09, 2008 3:52 pm
Re: LIMIT ERROR on SQAGetWarning?
I can't replicate it here, it happened at a client's site, where they use a different driver to connect to the database. I was doing a SELECT there and got a -1 as result, so I wanted to check the warnings. Have now rewritten the code to get some more info on that result (and trap Errors), hope to get info today about how it worked...
-
MBaas - Posts: 156
- Joined: Thu Oct 16, 2008 1:17 am
- Location: Gründau / Germany
Re: LIMIT ERROR on SQAGetWarning?
You can get a LIMIT ERROR trying to format arrays that are not in themselves "enormous", although I don't quite see how that could be the case here... For exammple:
- Code: Select all
x←(⍪x)(x←100000⍴'A')
⎕size 'x'
200060
⍕x
LIMIT ERROR
⍕x
∧
-
Morten|Dyalog - Posts: 454
- Joined: Tue Sep 09, 2008 3:52 pm
4 posts
• Page 1 of 1
Return to Windows: GUI, COM/OLE/ActiveX
Who is online
Users browsing this forum: No registered users and 1 guest
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group