|
I don't know the lib/table name at compile time. The format of the file will be different with key feild the same. The SqlString Is built dynamically. SqlString = 'Select SomeID From MYLIB/MYFILE Where Foo = "Bar" ' EXEC SQL PREPARE GetWBID FROM :SqlString END-EXEC. EXEC SQL Describe GetWBID INTO :SQLDA END-EXEC How do I get the value of SomeID. I've checked the error condions they come out correct. I'm not sure what to do next. I've looked into the SQLDA at the SQLDATA but know one around here know how to deal with pointers. If that's how it's done. I'm at a total loss. Jason Kleinemas Programmer/Analyst Solcom Inc. The Solutions Company http://www.solcominc.com 2516 E. 52nd St. N. Sioux Falls, SD 57104 Desk Phone: 605-367-1546 Office Phone: 605-357-8212 AIM: JasonSolCom jasonkleinemas@xxxxxxxxxxxxx Certified twice....... but still a couple PTFs away from Nirvana.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.