|
I pass a pointer to it: source pgm: d mods ds dim(10) d field1 50 c callp doit(%addr(someMODS)) The target procedure looks like this: p doit b d doit pi d p_mods * value d mods ds dim(10) based(p_mods) d field1 50 Phil > -----Original Message----- > From: rpg400-l-admin@midrange.com [mailto:rpg400-l-admin@midrange.com]On > Behalf Of Andrew Lutz > Sent: Tuesday, January 15, 2002 6:41 PM > To: rpg400-l@midrange.com > Subject: Passing multi-occurence data structure in a procedure > > > Does anyone have an example of passing a multi occurrence data > structure via a procedure? _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
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.