|
I never received the return for this so I guess it never got sent. If this is a dup. sorry David, I have not literally done that, but the way I've accomplished the task is do define seperate fields, the number of fields matching the greatest length of your "variable size" field and condition each one with an indicator. Say for max length 35 field1 defined as 1 field2 defined as 2...Field35 as 35. So in the RPG when the length is 1 it goes into field1 and activate the corresponding indicator. As each record of the SF displayes only the field with the indicator on displays. Hope that helps, Rick. ----- Original Message ----- From: David Gibbs <David.Gibbs@IL.US.MKS.com> To: 'Midrange Mailing List' <MIDRANGE-L@midrange.com>; 'RPG400 Mailing List' <rpg400-l@midrange.com> Sent: Monday, June 14, 1999 2:11 PM Subject: Variable start & size for subfile? > Greetings! > > Has anyone ever written a subfile program that had a variable start line and > length? Similar to the full screen option on PDM. > > Thanks! > > david > > > -- > > David Gibbs > Sr. Software Engineer > Mortice Kern Systems US, Inc. > 2500 S. Highland Ave., Suite 200 > Lombard, IL 60148 > > phone: (630) 495-2108 x5004 > http://www.mks.com <http://www.mks.com/> > mailto:dgibbs@mks.com <mailto:dgibbs@mks.com> > > > Opinions expressed are strictly my own and do > not necessarily reflect those of my employer. > > > * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * > * This is the RPG/400 Discussion Mailing List! To submit a new * > * message, send your mail to "RPG400-L@midrange.com". To unsubscribe * > * from this list send email to MAJORDOMO@midrange.com and specify * > * 'unsubscribe RPG400-L' in the body of your message. Questions should * > * be directed to the list owner / operator: david@midrange.com * > * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * > * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This is the RPG/400 Discussion Mailing List! To submit a new * * message, send your mail to "RPG400-L@midrange.com". To unsubscribe * * from this list send email to MAJORDOMO@midrange.com and specify * * 'unsubscribe RPG400-L' in the body of your message. Questions should * * be directed to the list owner / operator: david@midrange.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.