On Wed, Dec 20, 2017 at 6:59 AM, Steve Thompson <[email protected]> wrote:
> On 12/20/2017 06:13 AM, John McKown wrote: > <SNIPPAGE> > >> Which "production" languages would that be? Enterprise COBOL and PL/I >> _both_ support dynamic allocation of files. >> >> COBOL ref: >> https://www.ibm.com/support/knowledgecenter/en/SS6SG3_6.2.0/ >> com.ibm.cobol62.ent.doc/PGandLR/ref/rliosass.html >> > <SNIPPAGE> > > Thank you for this. We have scanned the various COBOL References trying to > find dynamic allocation (files). But what we found was that "dynamic > allocation" is for STORAGE OBTAIN. > > Never gave it a thought to look at ASSIGN for this. > > Now, I might be able to solve a problem with an ALC module that was > written and last touched about 1988 under MVS/SP1. Making this particular > module LE friendly, RENT, AMODE(31), and G3 friendly has been painful so > far. And who will be able to work on it after those of us who know HLASM > and conditional assembly are gone? > > So I have been tasked to find a solution, and here it was hiding in the > COBOL Lang REF. !?!?! > > Regards, > Steve Thompson > > ps. Sure hope it allows one to build concatenations... Gonna be a lot of > experimenting with this. > Glad to be of service. I have never tried to allocate a concatenation using the ASSIGN. But it is simple with BPXWDYN. -- I have a theory that it's impossible to prove anything, but I can't prove it. Maranatha! <>< John McKown
