|
Here is a paragraph from the dds manual that might point to a way? I've done this once, a long time ago, and all I remember is that it worked for the problem I had then, whatever that was. User-defined edit codes: Edit codes 5 through 9 are user-defined edit codes. A user-defined edit code can do more editing than an OS/400 edit code. For example, you may need to edit numbers that include hyphens (such as telephone numbers) or more than one decimal point. You can use user-defined edit codes for these functions. These edit codes are named QEDIT5, QEDIT6, QEDIT7, QEDIT8, and QEDIT9, and can be referred to in DDS or a high-level language program by number (5, 6, 7, 8, or 9). --------------------------------- Booth Martin http://www.martinvt.com --------------------------------- -------Original Message------- From: Midrange Systems Technical Discussion Date: 09/11/05 13:03:42 To: midrange-l@xxxxxxxxxxxx Subject: Re: EDTMSK and EDTWRD ? Its correct, if I put '0' in 1st position of edtwrd, then the literals or dashes displayed, otherwise not, although the protected spaces work. Is there any way, to display the dashes without any values. Best Regards, Luqman "M. Lazarus" <mlazarus@xxxxxxxx> wrote in message news:6.1.2.0.2.20050911122128.06e55710@xxxxxxxxxxxxxxxx > I think that it should look something like this: > EDTWRD('0 / / ') > EDTMSK(' & & ') > > If your workstation controller supports the masking feature, the cursor > should automatically skip over the slashes. > > -mark > > At 9/9/05 07:08 PM, you wrote: >>Luqman, >> >>I use the wrd/msk combination for dates and discovered that if the field >>already has a value the dashes are shown and protected. An empty field >>does not show the dashes. I think that this is a result of the zero >>suppression in the EDTWRD(' / / 0') >> >>hth >> >>Luqman wrote: >> >>>Using EDTMSK and EDTWRD keywords did this, but SDA not displaying the >>>Dashes, just protecting the places where Dashes are placed, how can I >>>display the Dashes ? >>> >>>Best Regards, >>> >>>Luqman > > -- > This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing > list > To post a message email: > MIDRANGE-L@xxxxxxxxxxxx > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/mailman/listinfo/midrange-l > or email: MIDRANGE-L-request@xxxxxxxxxxxx > Before posting, please take a moment to review the archives > at http://archive.midrange.com/midrange-l. > > -- This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/midrange-l or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l. .
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.