To access the files you will need to use "dynamic allocation". There's a couple 
of methods, and some search-engineing for Tom Ross COBOL Dynamic Allocation 
should get you some working examples.

I'd LISTCAT to a data set, and read the data set in the COBOL program. Gives 
you a fixed point, a copy of the driving informaiton, and the output you need 
is simple to extract in COBOL from the LISTCAT (it's all in fixed locations 
with maximum or fixed lengths, so nothing fancy needed).

Which method of dynamic alllocation you use in the COBOL program is down to 
what your site already uses from COBOL (if anything, do it the same way) or 
what is otherwise considered to be the most convenient.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to