|
You cannot use LIKEREC in this way. You need to use LIKEDS. LIKEREC can only be used against the format name of a record in one of the files defined in the program. An externally described DS does not constitute a record format from LIKEREC's perspective. It would be really nice if IBM would provide a way to use LIKEREC _with_ an EXTNAME keyword so that you could use it directly in a nested DS .... but ..... Jon Paris Partner400 www.Partner400.com www.RPGWorld.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.