This is a multi-part message in MIME format. ------=_NextPart_000_0013_01C4166C.3C733A00 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Any help on this issue would be helpful. I was seeing an error in one of our applications. I narrowed it down to = a portion of a stored procedure which I have included in the Code = sample. Info from server window: Adaptive Server Anywhere Network Server Version 9.0.1.1751 Note: Database file "c:\aal\dr\data\db\tfl\tfl.db" consists of 1017 = disk fragments Transaction log: tfl.log Code sample: Create variable vClientList long varchar; begin declare vFamilyNo integer; declare vClientNo integer; set vClientNo =3D 512412948; select familyno into vFamilyNo from Contact where clientno =3D = vClientNo; select list (distinct clientno) into vClientList from "DBA".Contact Where "DBA".Contact.FamilyNo =3D VFamilyNo and=20 "DBA".Contact.Clientno <> 1999999999; end; Command that causes error: message 'ClientList=3D ' + String(vClientList) + ' ' + String(now(*)); Error information from server window: A read failed with error code: (38), Reached the end of the file. Fatal = error: Unknown device error Connection terminated abnormally Disconnected SharedMemory client's = AppInfo: HOST=3D1665S; OS=3DWindows 2000 Build 2195 Service Pack 4;PID=3D0x4cc;THREAD=3D0x19c; EXE=3DC:\Program Files\Sybase\SQL Anywhere = 9\win32\dbisqlc.exe;VERSION=3D9.0.1.1751; API=3DDBLIB;TIMEZONEADJUSTMENT=3D-360=20 Thanks in Advance Dave Westphal ------=_NextPart_000_0013_01C4166C.3C733A00 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Diso-8859-1"> <META content=3D"MSHTML 6.00.2800.1400" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <ADDRESS><FONT face=3DArial>Any help on this issue would be=20 helpful.</FONT></ADDRESS> <ADDRESS><FONT face=3DArial></FONT> </ADDRESS> <ADDRESS><FONT face=3DArial>I was seeing an error in one of our = applications. I=20 narrowed it down to a portion of a stored procedure which I have = included in the=20 Code sample.</FONT></ADDRESS> <ADDRESS><FONT face=3DArial></FONT> </ADDRESS> <ADDRESS><FONT face=3DArial>Info from server window:</FONT></ADDRESS> <ADDRESS><FONT face=3DArial size=3D2> Adaptive Server Anywhere = Network Server=20 Version 9.0.1.1751</FONT></ADDRESS> <ADDRESS><FONT face=3DArial size=3D2> Note: Database file=20 "c:\aal\dr\data\db\tfl\tfl.db" consists of 1017 disk = fragments</FONT></ADDRESS> <ADDRESS><FONT face=3DArial size=3D2> Transaction log:=20 tfl.log</FONT></ADDRESS> <ADDRESS><FONT face=3DArial size=3D2></FONT> </ADDRESS><FONT = size=3D2> <ADDRESS><FONT face=3DArial size=3D3>Code sample:</FONT></ADDRESS> <ADDRESS><FONT face=3DArial>Create variable vClientList long=20 varchar;</FONT></ADDRESS> <ADDRESS><FONT face=3DArial>begin</FONT></ADDRESS> <ADDRESS><FONT face=3DArial>declare vFamilyNo integer;</FONT></ADDRESS> <ADDRESS><FONT face=3DArial>declare vClientNo integer;</FONT></ADDRESS> <ADDRESS><FONT face=3DArial>set vClientNo =3D = 512412948;</FONT></ADDRESS> <ADDRESS><FONT face=3DArial>select familyno into vFamilyNo from Contact = where=20 clientno =3D vClientNo;</FONT></ADDRESS> <ADDRESS><FONT face=3DArial>select list (distinct clientno) into=20 vClientList</FONT></ADDRESS> <ADDRESS><FONT face=3DArial>from "DBA".Contact</FONT></ADDRESS> <ADDRESS><FONT face=3DArial>Where "DBA".Contact.FamilyNo =3D VFamilyNo = and=20 </FONT></ADDRESS> <ADDRESS><FONT face=3DArial>"DBA".Contact.Clientno <>=20 1999999999;</FONT></ADDRESS> <ADDRESS><FONT face=3DArial>end;</FONT></ADDRESS> <ADDRESS><FONT face=3DArial></FONT> </ADDRESS><FONT size=3D2> <ADDRESS><FONT face=3DArial size=3D3>Command that causes = error:</FONT></ADDRESS> <ADDRESS><FONT face=3DArial>message 'ClientList=3D ' + = String(vClientList) + ' ' +=20 String(now(*));</FONT></ADDRESS> <ADDRESS><FONT face=3DArial></FONT> </ADDRESS> <ADDRESS><FONT face=3DArial size=3D3>Error information from server=20 window:</FONT></ADDRESS><FONT face=3DArial><FONT size=3D2> <ADDRESS>A read failed with error code: (38), Reached the end of the = file. Fatal=20 error: Unknown device error</ADDRESS> <ADDRESS>Connection terminated abnormally Disconnected SharedMemory = client's=20 AppInfo: HOST=3D1665S;</ADDRESS> <ADDRESS>OS=3DWindows 2000 Build 2195 Service Pack=20 4;PID=3D0x4cc;THREAD=3D0x19c;</ADDRESS> <ADDRESS>EXE=3DC:\Program Files\Sybase\SQL Anywhere=20 9\win32\dbisqlc.exe;VERSION=3D9.0.1.1751;</ADDRESS> <ADDRESS>API=3DDBLIB;TIMEZONEADJUSTMENT=3D-360 </ADDRESS> <ADDRESS> </ADDRESS> <ADDRESS><FONT size=3D3>Thanks in Advance</FONT></ADDRESS> <ADDRESS><FONT size=3D3>Dave=20 Westphal</FONT></ADDRESS></FONT></FONT></FONT></FONT></BODY></HTML> ------=_NextPart_000_0013_01C4166C.3C733A00--
![]() |
0 |
![]() |
Thanks for your post. Your reproducible is exceedingly similar to one posted last week, and I am pleased to report that this problem has already been fixed, and should be available in the first posted EBF of the 9.0.1 release. That EBF should appear on downloads.sybase.com in short order. Glenn "Dave Westphal" <Dave_Westphal@aal.org> wrote in news:4069e777$1@forums-2-dub: > Any help on this issue would be helpful. > > I was seeing an error in one of our applications. I narrowed it down > to a portion of a stored procedure which I have included in the Code > sample. > > Info from server window: > Adaptive Server Anywhere Network Server Version 9.0.1.1751 > Note: Database file "c:\aal\dr\data\db\tfl\tfl.db" consists of 1017 > disk fragments Transaction log: tfl.log > > Code sample: > Create variable vClientList long varchar; > begin > declare vFamilyNo integer; > declare vClientNo integer; > set vClientNo = 512412948; > select familyno into vFamilyNo from Contact where clientno = > vClientNo; select list (distinct clientno) into vClientList > from "DBA".Contact > Where "DBA".Contact.FamilyNo = VFamilyNo and > "DBA".Contact.Clientno <> 1999999999; > end; > > Command that causes error: > message 'ClientList= ' + String(vClientList) + ' ' + String(now(*)); > > Error information from server window: > A read failed with error code: (38), Reached the end of the file. > Fatal error: Unknown device error Connection terminated abnormally > Disconnected SharedMemory client's AppInfo: HOST=1665S; OS=Windows > 2000 Build 2195 Service Pack 4;PID=0x4cc;THREAD=0x19c; EXE=C:\Program > Files\Sybase\SQL Anywhere 9\win32\dbisqlc.exe;VERSION=9.0.1.1751; > API=DBLIB;TIMEZONEADJUSTMENT=-360 > > Thanks in Advance > Dave Westphal > ------=_NextPart_000_0013_01C4166C.3C733A00 > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> > <HTML><HEAD> > <META http-equiv=Content-Type content="text/html; charset=iso-8859-1"> > <META content="MSHTML 6.00.2800.1400" name=GENERATOR> > <STYLE></STYLE> > </HEAD> > <BODY bgColor=#ffffff> > <ADDRESS><FONT face=Arial>Any help on this issue would be > helpful.</FONT></ADDRESS> > <ADDRESS><FONT face=Arial></FONT> </ADDRESS> > <ADDRESS><FONT face=Arial>I was seeing an error in one of our > applications. I narrowed it down to a portion of a stored procedure > which I have included in the Code sample.</FONT></ADDRESS> > <ADDRESS><FONT face=Arial></FONT> </ADDRESS> > <ADDRESS><FONT face=Arial>Info from server window:</FONT></ADDRESS> > <ADDRESS><FONT face=Arial size=2> Adaptive Server Anywhere > Network Server Version 9.0.1.1751</FONT></ADDRESS> > <ADDRESS><FONT face=Arial size=2> Note: Database file > "c:\aal\dr\data\db\tfl\tfl.db" consists of 1017 disk > fragments</FONT></ADDRESS> <ADDRESS><FONT face=Arial size=2> > Transaction log: tfl.log</FONT></ADDRESS> > <ADDRESS><FONT face=Arial size=2></FONT> </ADDRESS><FONT size=2> > <ADDRESS><FONT face=Arial size=3>Code sample:</FONT></ADDRESS> > <ADDRESS><FONT face=Arial>Create variable vClientList long > varchar;</FONT></ADDRESS> > <ADDRESS><FONT face=Arial>begin</FONT></ADDRESS> > <ADDRESS><FONT face=Arial>declare vFamilyNo integer;</FONT></ADDRESS> > <ADDRESS><FONT face=Arial>declare vClientNo integer;</FONT></ADDRESS> > <ADDRESS><FONT face=Arial>set vClientNo = 512412948;</FONT></ADDRESS> > <ADDRESS><FONT face=Arial>select familyno into vFamilyNo from Contact > where clientno = vClientNo;</FONT></ADDRESS> > <ADDRESS><FONT face=Arial>select list (distinct clientno) into > vClientList</FONT></ADDRESS> > <ADDRESS><FONT face=Arial>from "DBA".Contact</FONT></ADDRESS> > <ADDRESS><FONT face=Arial>Where "DBA".Contact.FamilyNo = VFamilyNo and > </FONT></ADDRESS> > <ADDRESS><FONT face=Arial>"DBA".Contact.Clientno <> > 1999999999;</FONT></ADDRESS> > <ADDRESS><FONT face=Arial>end;</FONT></ADDRESS> > <ADDRESS><FONT face=Arial></FONT> </ADDRESS><FONT size=2> > <ADDRESS><FONT face=Arial size=3>Command that causes > error:</FONT></ADDRESS> <ADDRESS><FONT face=Arial>message 'ClientList= > ' + String(vClientList) + ' ' + String(now(*));</FONT></ADDRESS> > <ADDRESS><FONT face=Arial></FONT> </ADDRESS> > <ADDRESS><FONT face=Arial size=3>Error information from server > window:</FONT></ADDRESS><FONT face=Arial><FONT size=2> > <ADDRESS>A read failed with error code: (38), Reached the end of the > file. Fatal error: Unknown device error</ADDRESS> > <ADDRESS>Connection terminated abnormally Disconnected SharedMemory > client's AppInfo: HOST=1665S;</ADDRESS> > <ADDRESS>OS=Windows 2000 Build 2195 Service Pack > 4;PID=0x4cc;THREAD=0x19c;</ADDRESS> > <ADDRESS>EXE=C:\Program Files\Sybase\SQL Anywhere > 9\win32\dbisqlc.exe;VERSION=9.0.1.1751;</ADDRESS> > <ADDRESS>API=DBLIB;TIMEZONEADJUSTMENT=-360 </ADDRESS> > <ADDRESS> </ADDRESS> > <ADDRESS><FONT size=3>Thanks in Advance</FONT></ADDRESS> > <ADDRESS><FONT size=3>Dave > Westphal</FONT></ADDRESS></FONT></FONT></FONT></FONT></BODY></HTML> > > ------=_NextPart_000_0013_01C4166C.3C733A00-- -- Glenn Paulley Research and Development Manager, Query Processing iAnywhere Solutions Engineering EBF's and Patches: http://downloads.sybase.com choose SQL Anywhere Studio >> change 'time frame' to all To Submit Bug Reports: http://casexpress.sybase.com/cx/cx.stm SQL Anywhere Studio Supported Platforms and Support Status http://my.sybase.com/detail?id=1002288
![]() |
0 |
![]() |
I have a very similar problem (the same error message) in a database running on the ASA Engine version 8.0.2.4392. (I can generate the error message with a select (*)...order by... statement in a specific customer's database.) Is there any plan to fix this issue in an EBF for Sybase 8? "Glenn Paulley" <paulley@ianywhere.com> wrote in message news:Xns94BCB3EF6C78Fpaulleyianywherecom@10.22.241.106... > Thanks for your post. Your reproducible is exceedingly similar to one > posted last week, and I am pleased to report that this problem has > already been fixed, and should be available in the first posted EBF of > the 9.0.1 release. That EBF should appear on downloads.sybase.com in > short order. > > Glenn > > "Dave Westphal" <Dave_Westphal@aal.org> wrote in > news:4069e777$1@forums-2-dub: > > > Any help on this issue would be helpful. > > > > I was seeing an error in one of our applications. I narrowed it down > > to a portion of a stored procedure which I have included in the Code > > sample. > > > > Info from server window: > > Adaptive Server Anywhere Network Server Version 9.0.1.1751 > > Note: Database file "c:\aal\dr\data\db\tfl\tfl.db" consists of 1017 > > disk fragments Transaction log: tfl.log > > > > Code sample: > > Create variable vClientList long varchar; > > begin > > declare vFamilyNo integer; > > declare vClientNo integer; > > set vClientNo = 512412948; > > select familyno into vFamilyNo from Contact where clientno = > > vClientNo; select list (distinct clientno) into vClientList > > from "DBA".Contact > > Where "DBA".Contact.FamilyNo = VFamilyNo and > > "DBA".Contact.Clientno <> 1999999999; > > end; > > > > Command that causes error: > > message 'ClientList= ' + String(vClientList) + ' ' + String(now(*)); > > > > Error information from server window: > > A read failed with error code: (38), Reached the end of the file. > > Fatal error: Unknown device error Connection terminated abnormally > > Disconnected SharedMemory client's AppInfo: HOST=1665S; OS=Windows > > 2000 Build 2195 Service Pack 4;PID=0x4cc;THREAD=0x19c; EXE=C:\Program > > Files\Sybase\SQL Anywhere 9\win32\dbisqlc.exe;VERSION=9.0.1.1751; > > API=DBLIB;TIMEZONEADJUSTMENT=-360 > > > > Thanks in Advance > > Dave Westphal > > ------=_NextPart_000_0013_01C4166C.3C733A00 > > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> > > <HTML><HEAD> > > <META http-equiv=Content-Type content="text/html; charset=iso-8859-1"> > > <META content="MSHTML 6.00.2800.1400" name=GENERATOR> > > <STYLE></STYLE> > > </HEAD> > > <BODY bgColor=#ffffff> > > <ADDRESS><FONT face=Arial>Any help on this issue would be > > helpful.</FONT></ADDRESS> > > <ADDRESS><FONT face=Arial></FONT> </ADDRESS> > > <ADDRESS><FONT face=Arial>I was seeing an error in one of our > > applications. I narrowed it down to a portion of a stored procedure > > which I have included in the Code sample.</FONT></ADDRESS> > > <ADDRESS><FONT face=Arial></FONT> </ADDRESS> > > <ADDRESS><FONT face=Arial>Info from server window:</FONT></ADDRESS> > > <ADDRESS><FONT face=Arial size=2> Adaptive Server Anywhere > > Network Server Version 9.0.1.1751</FONT></ADDRESS> > > <ADDRESS><FONT face=Arial size=2> Note: Database file > > "c:\aal\dr\data\db\tfl\tfl.db" consists of 1017 disk > > fragments</FONT></ADDRESS> <ADDRESS><FONT face=Arial size=2> > > Transaction log: tfl.log</FONT></ADDRESS> > > <ADDRESS><FONT face=Arial size=2></FONT> </ADDRESS><FONT size=2> > > <ADDRESS><FONT face=Arial size=3>Code sample:</FONT></ADDRESS> > > <ADDRESS><FONT face=Arial>Create variable vClientList long > > varchar;</FONT></ADDRESS> > > <ADDRESS><FONT face=Arial>begin</FONT></ADDRESS> > > <ADDRESS><FONT face=Arial>declare vFamilyNo integer;</FONT></ADDRESS> > > <ADDRESS><FONT face=Arial>declare vClientNo integer;</FONT></ADDRESS> > > <ADDRESS><FONT face=Arial>set vClientNo = 512412948;</FONT></ADDRESS> > > <ADDRESS><FONT face=Arial>select familyno into vFamilyNo from Contact > > where clientno = vClientNo;</FONT></ADDRESS> > > <ADDRESS><FONT face=Arial>select list (distinct clientno) into > > vClientList</FONT></ADDRESS> > > <ADDRESS><FONT face=Arial>from "DBA".Contact</FONT></ADDRESS> > > <ADDRESS><FONT face=Arial>Where "DBA".Contact.FamilyNo = VFamilyNo and > > </FONT></ADDRESS> > > <ADDRESS><FONT face=Arial>"DBA".Contact.Clientno <> > > 1999999999;</FONT></ADDRESS> > > <ADDRESS><FONT face=Arial>end;</FONT></ADDRESS> > > <ADDRESS><FONT face=Arial></FONT> </ADDRESS><FONT size=2> > > <ADDRESS><FONT face=Arial size=3>Command that causes > > error:</FONT></ADDRESS> <ADDRESS><FONT face=Arial>message 'ClientList= > > ' + String(vClientList) + ' ' + String(now(*));</FONT></ADDRESS> > > <ADDRESS><FONT face=Arial></FONT> </ADDRESS> > > <ADDRESS><FONT face=Arial size=3>Error information from server > > window:</FONT></ADDRESS><FONT face=Arial><FONT size=2> > > <ADDRESS>A read failed with error code: (38), Reached the end of the > > file. Fatal error: Unknown device error</ADDRESS> > > <ADDRESS>Connection terminated abnormally Disconnected SharedMemory > > client's AppInfo: HOST=1665S;</ADDRESS> > > <ADDRESS>OS=Windows 2000 Build 2195 Service Pack > > 4;PID=0x4cc;THREAD=0x19c;</ADDRESS> > > <ADDRESS>EXE=C:\Program Files\Sybase\SQL Anywhere > > 9\win32\dbisqlc.exe;VERSION=9.0.1.1751;</ADDRESS> > > <ADDRESS>API=DBLIB;TIMEZONEADJUSTMENT=-360 </ADDRESS> > > <ADDRESS> </ADDRESS> > > <ADDRESS><FONT size=3>Thanks in Advance</FONT></ADDRESS> > > <ADDRESS><FONT size=3>Dave > > Westphal</FONT></ADDRESS></FONT></FONT></FONT></FONT></BODY></HTML> > > > > ------=_NextPart_000_0013_01C4166C.3C733A00-- > > > > -- > Glenn Paulley > Research and Development Manager, Query Processing > iAnywhere Solutions Engineering > > EBF's and Patches: http://downloads.sybase.com > choose SQL Anywhere Studio >> change 'time frame' to all > > To Submit Bug Reports: http://casexpress.sybase.com/cx/cx.stm > > SQL Anywhere Studio Supported Platforms and Support Status > http://my.sybase.com/detail?id=1002288
![]() |
0 |
![]() |
Assuming that you have the same problem, it will be fixed in 8.0.2 build 4383. -- Chris Keating Sybase Adaptive Server Anywhere Professional Version 8 **************************************************************************** * Sign up today for your copy of the SQL Anywhere Studio 9 Developer Edition and try out the market-leading database for mobile, embedded and small to medium sized business environments for free! http://www.ianywhere.com/promos/deved/index.html **************************************************************************** * iAnywhere Solutions http://www.iAnywhere.com ** Please only post to the newsgroup ** Whitepapers can be found at http://www.iAnywhere.com/developer ** EBFs can be found at http://downloads.sybase.com/swx/sdmain.stm ** Use CaseXpress to report bugs http://casexpress.sybase.com **************************************************************************** * "dbmerritt" <dbmerritt@terralink.com> wrote in message news:406b10c4$1@forums-1-dub... > I have a very similar problem (the same error message) in a database running > on the ASA Engine version 8.0.2.4392. (I can generate the error message > with a select (*)...order by... statement in a specific customer's > database.) Is there any plan to fix this issue in an EBF for Sybase 8? > > "Glenn Paulley" <paulley@ianywhere.com> wrote in message > news:Xns94BCB3EF6C78Fpaulleyianywherecom@10.22.241.106... > > Thanks for your post. Your reproducible is exceedingly similar to one > > posted last week, and I am pleased to report that this problem has > > already been fixed, and should be available in the first posted EBF of > > the 9.0.1 release. That EBF should appear on downloads.sybase.com in > > short order. > > > > Glenn > > > > "Dave Westphal" <Dave_Westphal@aal.org> wrote in > > news:4069e777$1@forums-2-dub: > > > > > Any help on this issue would be helpful. > > > > > > I was seeing an error in one of our applications. I narrowed it down > > > to a portion of a stored procedure which I have included in the Code > > > sample. > > > > > > Info from server window: > > > Adaptive Server Anywhere Network Server Version 9.0.1.1751 > > > Note: Database file "c:\aal\dr\data\db\tfl\tfl.db" consists of 1017 > > > disk fragments Transaction log: tfl.log > > > > > > Code sample: > > > Create variable vClientList long varchar; > > > begin > > > declare vFamilyNo integer; > > > declare vClientNo integer; > > > set vClientNo = 512412948; > > > select familyno into vFamilyNo from Contact where clientno = > > > vClientNo; select list (distinct clientno) into vClientList > > > from "DBA".Contact > > > Where "DBA".Contact.FamilyNo = VFamilyNo and > > > "DBA".Contact.Clientno <> 1999999999; > > > end; > > > > > > Command that causes error: > > > message 'ClientList= ' + String(vClientList) + ' ' + String(now(*)); > > > > > > Error information from server window: > > > A read failed with error code: (38), Reached the end of the file. > > > Fatal error: Unknown device error Connection terminated abnormally > > > Disconnected SharedMemory client's AppInfo: HOST=1665S; OS=Windows > > > 2000 Build 2195 Service Pack 4;PID=0x4cc;THREAD=0x19c; EXE=C:\Program > > > Files\Sybase\SQL Anywhere 9\win32\dbisqlc.exe;VERSION=9.0.1.1751; > > > API=DBLIB;TIMEZONEADJUSTMENT=-360 > > > > > > Thanks in Advance > > > Dave Westphal > > > ------=_NextPart_000_0013_01C4166C.3C733A00 > > > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> > > > <HTML><HEAD> > > > <META http-equiv=Content-Type content="text/html; charset=iso-8859-1"> > > > <META content="MSHTML 6.00.2800.1400" name=GENERATOR> > > > <STYLE></STYLE> > > > </HEAD> > > > <BODY bgColor=#ffffff> > > > <ADDRESS><FONT face=Arial>Any help on this issue would be > > > helpful.</FONT></ADDRESS> > > > <ADDRESS><FONT face=Arial></FONT> </ADDRESS> > > > <ADDRESS><FONT face=Arial>I was seeing an error in one of our > > > applications. I narrowed it down to a portion of a stored procedure > > > which I have included in the Code sample.</FONT></ADDRESS> > > > <ADDRESS><FONT face=Arial></FONT> </ADDRESS> > > > <ADDRESS><FONT face=Arial>Info from server window:</FONT></ADDRESS> > > > <ADDRESS><FONT face=Arial size=2> Adaptive Server Anywhere > > > Network Server Version 9.0.1.1751</FONT></ADDRESS> > > > <ADDRESS><FONT face=Arial size=2> Note: Database file > > > "c:\aal\dr\data\db\tfl\tfl.db" consists of 1017 disk > > > fragments</FONT></ADDRESS> <ADDRESS><FONT face=Arial size=2> > > > Transaction log: tfl.log</FONT></ADDRESS> > > > <ADDRESS><FONT face=Arial size=2></FONT> </ADDRESS><FONT size=2> > > > <ADDRESS><FONT face=Arial size=3>Code sample:</FONT></ADDRESS> > > > <ADDRESS><FONT face=Arial>Create variable vClientList long > > > varchar;</FONT></ADDRESS> > > > <ADDRESS><FONT face=Arial>begin</FONT></ADDRESS> > > > <ADDRESS><FONT face=Arial>declare vFamilyNo integer;</FONT></ADDRESS> > > > <ADDRESS><FONT face=Arial>declare vClientNo integer;</FONT></ADDRESS> > > > <ADDRESS><FONT face=Arial>set vClientNo = 512412948;</FONT></ADDRESS> > > > <ADDRESS><FONT face=Arial>select familyno into vFamilyNo from Contact > > > where clientno = vClientNo;</FONT></ADDRESS> > > > <ADDRESS><FONT face=Arial>select list (distinct clientno) into > > > vClientList</FONT></ADDRESS> > > > <ADDRESS><FONT face=Arial>from "DBA".Contact</FONT></ADDRESS> > > > <ADDRESS><FONT face=Arial>Where "DBA".Contact.FamilyNo = VFamilyNo and > > > </FONT></ADDRESS> > > > <ADDRESS><FONT face=Arial>"DBA".Contact.Clientno <> > > > 1999999999;</FONT></ADDRESS> > > > <ADDRESS><FONT face=Arial>end;</FONT></ADDRESS> > > > <ADDRESS><FONT face=Arial></FONT> </ADDRESS><FONT size=2> > > > <ADDRESS><FONT face=Arial size=3>Command that causes > > > error:</FONT></ADDRESS> <ADDRESS><FONT face=Arial>message 'ClientList= > > > ' + String(vClientList) + ' ' + String(now(*));</FONT></ADDRESS> > > > <ADDRESS><FONT face=Arial></FONT> </ADDRESS> > > > <ADDRESS><FONT face=Arial size=3>Error information from server > > > window:</FONT></ADDRESS><FONT face=Arial><FONT size=2> > > > <ADDRESS>A read failed with error code: (38), Reached the end of the > > > file. Fatal error: Unknown device error</ADDRESS> > > > <ADDRESS>Connection terminated abnormally Disconnected SharedMemory > > > client's AppInfo: HOST=1665S;</ADDRESS> > > > <ADDRESS>OS=Windows 2000 Build 2195 Service Pack > > > 4;PID=0x4cc;THREAD=0x19c;</ADDRESS> > > > <ADDRESS>EXE=C:\Program Files\Sybase\SQL Anywhere > > > 9\win32\dbisqlc.exe;VERSION=9.0.1.1751;</ADDRESS> > > > <ADDRESS>API=DBLIB;TIMEZONEADJUSTMENT=-360 </ADDRESS> > > > <ADDRESS> </ADDRESS> > > > <ADDRESS><FONT size=3>Thanks in Advance</FONT></ADDRESS> > > > <ADDRESS><FONT size=3>Dave > > > Westphal</FONT></ADDRESS></FONT></FONT></FONT></FONT></BODY></HTML> > > > > > > ------=_NextPart_000_0013_01C4166C.3C733A00-- > > > > > > > > -- > > Glenn Paulley > > Research and Development Manager, Query Processing > > iAnywhere Solutions Engineering > > > > EBF's and Patches: http://downloads.sybase.com > > choose SQL Anywhere Studio >> change 'time frame' to all > > > > To Submit Bug Reports: http://casexpress.sybase.com/cx/cx.stm > > > > SQL Anywhere Studio Supported Platforms and Support Status > > http://my.sybase.com/detail?id=1002288 > >
![]() |
0 |
![]() |