|
Scott: As mentioned before I meant to use likeds not likerec. However, likeds also doesn't allow adding more subfield. I need to add subfield because of the following: 1) I'm trying to use the QMHT0100 ds from QSYSINC/QRPGLESRC/QMHLJOBL copy book. The 2nd to the last field is a varying length field and is not being declared in the ibm copy book. 2) I'm hoping to be able to use likeds and add the last desire two subfields to the likeds datastructure. See below on what I try to achieve: * receive message api return data structure /Copy qsysinc/Qrpglesrc,qmhljobl * QMHLJOBL api message selection information D msi ds likeds(QMHT0100) D QMHIFR00 10i 0 D QMHCMQ00 1 -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Lim Hock-Chai Sent: Tuesday, November 29, 2005 11:53 AM To: RPG programming on the AS400 / iSeries Subject: why can't I add a subfield to likeds I'm not able to do this: * QMHLJOBL api message selection information D msi ds likeds(QMHT0100) D QMHIFR00 10i 0 D QMHCMQ00 1 but I'm able to do this D msi E ds D QMHIFR00 10i 0 D QMHCMQ00 1 am I doing something wrong or that is the way it work. -- This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/rpg400-l or email: RPG400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.