I am writing Visual Basic 6.0 code to retrieve data from the iSeries. Is there any example code available? When I request a record set that returns no records, I get an error. I can use an ?On Error Statement?, but I don't like to do that. My error specifies "Microsoft ActiveX Data Objects 2.7 Library" and the command I am using is 'rsADO.Open "F03402YL5 order by LBPDTE,LBPTME", cnADO, , , adCmdTable' where rsADO is a record set. I am modeling this after requests from Microsoft SQL Server 2000.
I would suggest searching the iSeries Info Center with "ADO" as your search string.
You might also try this .NET framework page to see some working examples.
MORE INFORMATION ON THIS TOPIC
Search400.com's targeted search engine: Get relevant information on DB2/400.
The Best Web Links: tips, tutorials and more.
Check out this Search400.com Featured Topic: Database issues resolved
Dig Deeper on DB2 UDB (universal databases)
Related Q&A from Kent Milligan
When working with DB2 files with columns that have both short and long names, there is no option choose which column names are returned via ODBC ... Continue Reading
When developing tables in a parent-child relationship, use a primary key and a foreign key along with a unique ID to make your database easier to ... Continue Reading
IBM did not change the default of the reuse deleted files function to YES for physical files in order to minimize the impact on any existing ... Continue Reading