Re:Re: Get storage

Discussion created by ca.portal.admin on Jul 23, 2009

You could always write an assembler routine that does the GETSTG passing =
it the length and it returning the pointer. Sorry but I missed why the =
use of LENGTH and POINTER are so important. =20



From: IDMS Public Discussion Forum on behalf of Rozeboom, Kay [DAS]
Sent: Thu 23/07/2009 15:48
Subject: Re: Get storage

I was wrong about getting a clean compile. When I looked at the code =
generated by the pre-compiler (which I should have done earlier), there =
was no reference to the length or pointer fields. And lo and behold, =
there were some warning (not error) messages saying that these =
parameters were not valid. No wonder my pointer wasn't working - it =
hadn't been set by the ""get storage"" command, so contained garbage.

Apparently you really can't use these parameters with COBOL LE. Bummer.