|
"Smith, Nelson" wrote: > > I don't think I have that available at V4R5, do I? > Sorry, no, LIKEDS is first available in V5R1. You can do what Scott suggested and copy the parameter to/from a data structure. Or, you could declare a based data structure and set the basing pointer to the address of the parameter. Once you've set the basing pointer, you can freely use the ds and its subfields. D myproc pi D dsparm like(someds) D someds ds based(dsparm_ptr) D subf 10a c eval dsparm_ptr = %addr(dsparm) c eval subf = 'new value'
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.