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



In the SDA I know if you have the field as an output only field you can
have it be 8 char and then on the editing keywords use the edtcde as a
Y.

If you are using the field as both input and output as an 8 char field,
I think you need to handle it in the RPG and take the 6 char value they
entered and convert it to whatever format you want with the column
separators and move this to the 8 char field in the display file.

    Jim Rubino
Senior Programmer Analyst
FIKE CORPORATION (r)
704 South 10th Street
Blue Springs, Mo.  64015
Direct Dial - (816)  655-4579
Or - (816)  229-6216  Ext. 1079
World Software Technical Editor for JDEtips




-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@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.




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.