|
Well, I knew that, and I've always work under that impression, but Jon Paris once said that that wasn't true in all cases, so I started to doubt myself. Thanks for bringing the truth back to light. :) Happy Holidays! Bob Cozzi cozzi@rpgiv.com Visit the new on-line iSeries Forums at: http://www.rpgiv.com/forum > -----Original Message----- > From: rpg400-l-admin@midrange.com [mailto:rpg400-l-admin@midrange.com] On > Behalf Of bmorris@ca.ibm.com > Sent: Wednesday, December 12, 2001 2:16 PM > To: rpg400-l@midrange.com > Subject: RE: Prototype for a command parameter. > > > >From: "Bob Cozzi \(RPGIV\)" <cozzi@rpgiv.com> > >Date: Wed, 12 Dec 2001 10:35:12 -0600 > > ... > >To solve this, I've created a /COPY that includes all these data type, > >and I've named them INT1, INT2, INT4, and INT8. And I've been using > >LIKE(INT4) in my code. (Please tell me the LIKE'd fields are INT4 and > >not packed!) > > Bob, the LIKE'd fields are INT4 and not packed. :) > > As long as you use LIKE (and not *LIKE DEFINE), your LIKE'd fields > have the format of the original. With *LIKE DEFINE, it depends. (See > your local RPG manual for all the gruesome details of how *LIKE DEFINE > operates.) > > Barbara Morris > > _______________________________________________ > This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list > To post a message email: RPG400-L@midrange.com > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l > or email: RPG400-L-request@midrange.com > 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-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.