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



Normally you need to use Field Minus on the keypad to enter a negative
number. Been that way since time immemorial. Now, if the users want to be
able to put a dash in _front_ and have it expressed as a negative number,
you will have to define the screen field as a character field and do your
own manipulation in RPG. 

Over here, the users to use Field Minus and the negative sign is shown on
the right (edit code J, usually).

Francis Lapeyre
IS Dept. Programmer/Analyst
Stewart Enterprises, Inc.
E-mail: flapeyre@xxxxxxxx 




-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Douglas W. Palme
Sent: Thursday, March 2, 2006 8:56 AM
To: Midrange Systems Technical Discussion
Subject: Re: Issue with display file

One thing I just figured out is that when entering a negative number it
seems I have to enter it as 32- and then field exit otherwise it ignores the
"-"

So entering -32 does not work

Anyone else ever see this?



On Thu, 2 Mar 2006 06:22:47 -0800 (PST), Jen Raihala wrote
> If there is room on the file, one of the guys here uses an indicator 
> to  show a '-' . He is a firm believer in indicators. Its probably ot 
> the  cleanest code, but it works for him.
> 
> "Douglas W. Palme" <dpalme@xxxxxxxxxxx> wrote:  We need to be able to 
> display a negative number (-32) on a display file.  I have played with 
> this some for the past couple of days to no avail.
> 
> I have tried using several edit codes, changing the data type to type 
> "S" but nothing I have tried seems to work.
> 
> It is imperative that the field display the negative number, even if 
> the system knows what it is behind the scenes.
> 
> Here is the current field dds:
> 
> A            DTMPFRM        2Y 0B 11 28COLOR(TRQ)
> A                                      CHECK(FE) 
> A                                      CHECK(RB) 
> A                                      EDTCDE(N)
> 
> Any suggestions would be appreciated.
> 
> --
> 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.


If you bought it, it was hauled by a truck - somewhere, sometime.

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