|
I want to pass a pointer to a block of memory into a MI program. I want the MI program then, to fill the space with data. How does the declares go? So far when the MI program returns, it resets the pointer to *NULL. This is my declares go something like this: DCL SPCPTR .StrPtr PARM; . . . DCL OL ENTRY_PLIST(.Job_Name, .StrPtr, .SpcSize) PARM EXT MIN(3); . . . DCL DD THE-STR CHAR(50) BAS(.StrPtr); . . . <start of loop> Update the first entry . . . SETSPPO .StrPtr, 50; <end of loop> This above is the basic process. Bobby. Robert Hicks Combinatorics Consulting Company Tel.: (248) 347 - 7222, ext. 222 Fax: (248) 347 - 7227 Email: Robert.Hicks@xxxxxxxxxxxxxxxx
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.