I like the new use of environment variables to do dynamic allocation of data sets. I'm still not much of a fan of COBOL. But I'm a sysprog, not an app programmer. On Jul 9, 2013 4:47 PM, "Tom Ross" <tmr...@stlvm20.vnet.ibm.com> wrote:
> >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 lists...@listserv.ua.edu with the message: INFO IBM-MAIN > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN