|
Yea, the caller owns the storage for the parm, so it's a bit different from declaring something in "this" program. If you're on V5R1 or later us the LIKEDS keyword to declare the parms and things should work the way you want. D SRCXFER PR D SrcFile LikeDS(QualName) D SRCXFER PI D SrcFile LikeDS(QualName) D QualName DS Based(ptr_templ_t) D Qualified D ObjName 10A D LibName 10A C if srcFile.ObjName = 'CUSTMAST' C or srcFile.LibName = '*LIBL' C -Bob Cozzi
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.