Re:Get storage

Discussion created by ca.portal.admin on Jul 22, 2009
Thanks to Tommy's and Peter's suggestion, I am now getting a clean compile. But I don't seem to be getting a valid pointer back at run time. Can anyone provide a way to convert the pointer to a displayable format? Or better yet, some sample code that uses the pointer parameter for ""get scratch""?

I wish the storage interface had separate ""get"" and ""put"" commands, like the scratch and queue interfaces do. I am having some difficulty determining which parameters apply to which situation.
IDMS Public Discussion Forum


Re: Get storage
"I think if you get the storage allocated to the linkage section area,
you can then use that same linkage areas as the receiving location of
the get scratch.

""The GET SCRATCH statement obtains a scratch record and places it in a
storage area associated with the issuing program. The storage area must
already be allocated to the requesting task; no implicit GET STORAGE
function is performed during the GET SCRATCH operation.""

----- Original message -----

From: ""Miley, Dan L"" <dan.l.miley@LMCO.COM>


Date: Wed, 22 Jul 2009 15:00:19 -0400

Subject: Re: Get storage

What are you planning on using the pointer for? It is an address of an

address, typically used when calling assembler programs. I think that

perhaps you just want the storage ID and don't really need the pointer.

Dan Miley

Lockheed Martin