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 gener=
ated by the pre-compiler (which I should have done earlier), there was no r=
eference to the length or pointer fields. And lo and behold, there were so=
me 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 sto=
rage"" command, so contained garbage.

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