|
Hello Joop, - To avoid being exposed to that type of problem, another approach could be combining length notation with the Overlay keyword: D USRI0200 Ds Qualified D BytRtn 10i 0 D BytAvl 10i 0 D UsrPrf 10a D PrfOwnA 10a Overlay( USRI0200: 54 ) Best regards, Carsten Flensburg ----- Original Message ----- From: "Joep Beckeringh" <joep@xxxxxxxxxxxxxxxxxxx> To: "RPG programming on the AS400 / iSeries" <rpg400-l@xxxxxxxxxxxx> Sent: Saturday, January 22, 2005 12:33 AM Subject: Re: QSRLSAVF format SAVF0100 > Bob Cozzi wrote: > > Oh, and you might want to try to avoid using the "B" data types for the > > subfields, that's a little like using conditioning indicators. Use "I" data > > types instead and try to use length notation instead of from-to columns. > > -Bob > > Bob, > > I don't think it is a very good idea to use length notation for an API data > structure. The layout is not defined by the programmer, but by IBM, so you > better have your positions right. Imagine using length notation and commenting > one line out. > > Joep Beckeringh > --
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.