Hi,
Has anyone tried to get VisproRexx to work with odbc/dBase files?
VX-Rexx connects to the dbf files and read them correctly while VisproRexx always reports some errors such as various "cannot load SQL......" and environment allocation error: -1
Suspect there is something wrong/missing in the setup of Vispro
since VX-Rexx works.
Any ideas?
PJ
Hi,
Has anyone tried to get VisproRexx to work with odbc/dBase files?
VX-Rexx connects to the dbf files and read them correctly while VisproRexx always reports some errors such as various "cannot load SQL......" and environment allocation error: -1
Suspect there is something wrong/missing in the setup of Vispro
since VX-Rexx works.
Any ideas?
PJ
Has anyone tried to get VisproRexx to work with odbc/dBase files?
Any ideas?
Line17: Routine not found.
call sqldbs 'START USING DATABASE DSN=dbname';
I'm not using Vispro (yet) nor ODBC-facilitis, so your information
helps. Ideas:
1. Use the right lowercase and uppercase names (of external functions) everywhere. IOW: names of external functions, like your "sqldbs" can
be case-sensitive.
2. Your syntax is rc=RxFuncAdd(...), but you are doing nothing with
the rc. You may as well use CALL RxFuncAdd 'Foo','Bar','Foo'.
3. The number of arguments doesn't change your results indeed.
Apparently the function "sqldbs" cannot be found, so this function
cannot check the number of arguments and return an "invalid call to routine".
HTH.
--All the code I listed is generated by VisPro itself, (by dragging a table from the database designer to an empty form). I have also compared this code to the supplied DB2 sample and except it registers
I'm using classic rexx
SQLGetFunctions
SQLProcedures
Please send me an e-mail and I'll be happy to provide necessaryfiles.
my Google account a valid e-mail address got displayed on my posts.
Which version of VPR are you using?
VisproRexx always reports some errors such as various
"cannot load SQL......" and environment allocation error: -1
Suspect there is something wrong/missing in the setup of
Vispro since VX-Rexx works.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 445 |
Nodes: | 16 (0 / 16) |
Uptime: | 114:05:22 |
Calls: | 9,209 |
Calls today: | 8 |
Files: | 13,483 |
Messages: | 6,054,654 |