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



Use reference field (eg. REFFLD(MYDATE)).
There is no real support for date and time fields in SDA,
if you need options like datfmt or mapval you have to use
SEU.

HTH
Marco
--- "Rubino, Jim" <Jim.Rubino@xxxxxxxx> wrote:

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



                
__________________________________ 
Do you Yahoo!? 
Meet the all-new My Yahoo! - Try it today! 
http://my.yahoo.com 
 


As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.