[Migrated content. Thread originally posted on 17 February 2011]
We are investigating the possibility to migrate our product to Cobol.net using Visual COBOL.We have successfully opened our ISAM files using the Cobol File handler with help from Micro Focus Staff (Thanks!!!) - we can now iterate through an ISAM file and read data.
Now as a next step we're trying to get ADO.NET to work - we want to use an ADO recordset that we then fill using our ISAM data.
This may be a simple question but can anyone please explain how to declare an ADO.NET recordset? Our goal is to iterate throught the records moving filling ISAM field contents to ADO.NET recordset fields. ADO is not listed in our references screen, it seems as though it simply does not exist!? - we're using the 30days trial version of Visual COBOL R3.
So we can't figure out how to use somthing like this:
adoRS.MoveFirst
adoRS.MoveNext
adoRS.Fields("fieldname").Value = "value"
etcetera. The EXEC ADO we see in some examples is something we don't grasp, and we are unable to declare a variable of type ADO.RECORDSET
Any help would be greatly appreciated.