× 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.



SDA does not, AFAIK, allow you to directly create a data data type field. I
create a 10 character field and place it where I want through SDA, then I
edit the DDS and change the field from a 10 char to a "D" type field and add
the correct DATFMT which I want to show on the display, and add an
approprate EDTMSK for input/both fields.

You can use this same procedure with Time and TimeStamp data types also.

Duane

-----Original Message-----
From: Luqman [mailto:pearlsoft@xxxxxxxxxxxx]
Sent: Friday, November 19, 2004 2:17 PM
To: rpg400-l@xxxxxxxxxxxx
Subject: Adding Date Field in STRSDA ?


How can I define a Date Field in AS/400 SDA Screen.

I tried to add a 8 character both text constant with +B(8) and set the 
keyboard shift to 'L' but it raises error that L is not applicable for this 
type of field, any idea please, further I want to set the date format to DMY

? How can I do so ?

I can easily do this in Code Designer of Code/400 but I could not find such 
option in AS/400 Green Screen SDA Utility.


Best Regards,

Luqman



--
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.



NOTICE: This electronic mail transmission may contain confidential
information and is intended only for the person(s) named.  Any use, copying
or disclosure by any other person is strictly prohibited. If you have
received this transmission in error, please notify the sender via e-mail.




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.