× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



so , i defined it with data type 'N' but when gave some name to this
field in DDS of display file then that name does not get displayed on the
screen i can see only once i put '?' just before that field on the screen i
mean once i do 17 then 12 against the record format under which this field
is being defined then i can see the name of this field which i gave while
designing it's DDS and can also see it's length but unlike other fields
names whose text is defined inside the DDS of this display file under
Functions.
i mean when i try to give some text for this field then i get this error
'"keyword 'whatever text name i give to this field' not valid for this
file type".


So how can I get the name displayed on the screen without putting '?' for
the field which I want to define in my DDS for this Display file? Any
examples please ?


Thanks



On Mon, 25 Jul 2022 at 18:39, Jon Paris <jon.paris@xxxxxxxxxxxxxx> wrote:

Numeric. RPG will take care of the difference.


Jon P.



On Jul 25, 2022, at 8:46 AM, jerry ven <jerryven95@xxxxxxxxx> wrote:

Hi,

What should be the equivalent data type selected in the display file if
the
physical file's equivalent field is of packed data type with 0 decimal
position?


Thanks
--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription
related questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com

--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.