In one of my COBOL programs I'm using a cursor to fetch data from a physical file. Before the upgrade to V5R1 data...
By submitting your email address, you agree to receive emails regarding relevant topic offers from TechTarget and its partners. You can withdraw your consent at any time. Contact TechTarget at 275 Grove Street, Newton, MA.
was received in the order in which it was written to PF (FIFO), after the upgrade the retrieval order changed to LIFO. Even though I can avoid this by specifying ORDER BY, what could be the reason for this?
Cursors may be shared throughout an activation group, but there is only one cursor open for the file in COBOL. This may have some effect on how your data is being retrieved.
MORE INFORMATION ON THIS TOPIC
Search400's targeted search engine: Get relevant information on DB2/400.
The Best Web Links: tips, tutorials and more.
Check out this online event, Getting the Most out of SQL & DB2 UDB for the iSeries.
Dig Deeper on DB2 UDB (universal databases)
Related Q&A from John Brandt
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.