>Paul Gilmartin wrote:
>
>>(but does COBOL support DYNALLOC?)=20
>
>Yes, behind the scenes. Search the IBM-MAIN Archives for details.=20
>
>Of course some RTFM is needed to get it working.
>
>Oh, look also for magic word: BPXWDYN.

I would recommend using the built-in support for dynamic file allocation
in COBOL, and avoid calling BPX* services directly.  We did a lot of work
to make it easier to do dynamic allocation with COBOL than with the BPX*
runtime services.  It is all documented in the COBOL Programing Guide,
look for 'Dynamically creating QSAM files' and then 'environment variable'.
(You can also do it with VSAM and Line Sequential Files, but I assumed
QSAM for working with PDS and PDSE, that's what we use)

Cheers,
TomR              >> COBOL is the Language of the Future! <<

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to