IDMS

  • 1.  Re:Re: Get storage

    Posted Jul 23, 2009 05:58 AM
    Kay,

    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.

    Pete

    ________________________________

    From: IDMS Public Discussion Forum on behalf of Rozeboom, Kay [DAS]
    Sent: Thu 23/07/2009 15:48
    To: IDMS-L@LISTSERV.IUASSN.COM
    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.