[Info-vax] COBOL example $MGBLSC

John Reagan xyzzy1959 at gmail.com
Fri Sep 8 08:14:16 EDT 2023


On Friday, September 8, 2023 at 8:09:01 AM UTC-4, Brian Schenkenberger wrote:
> On 2023-09-08 01:50:30 +0000, John Reagan said: 
> 
> > Yep, POINTER is one of the few COBOL 2002 keywords in the compiler. 
> > Just a container of the correct size (64-bits) but you can't really
> > operate onit. You can just pass it to some other routine (in another
> > language that CAN 
> > operate on such things)
> So, it's useless. I've been trying COBOL examples I've found on the net 
> and they fail. That explains why. 
> 
> So there's no way to $MGBLSC, $EXPREG, LIB$GET_VM and use the region 
> created directly in COBOL. 
> 
> Grrrr. 
> 
> Thanks John. At least I won't be banging my head against the wall 
> trying to figure out this COBOL. 
> 
> — Brian
I wasn't in the meetings with the COBOL team to hear if they were planning
to add additional COBOL 2002 support that would include the ability to
operate.   I don't remember hearing about it at the lunch table (which is where
I got most of my information at that time).  Regardless, you are correct, I
don't think you can write an all-COBOL solution

John



More information about the Info-vax mailing list