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



Joe, I think this is exactly right - the edit word spec allows for that extra position for just this purpose.

Again, IIRC is operative here!

Vern

On 6/8/2020 7:43 AM, Joe Pluta wrote:
Patrik, I have some dim memories of being able to hack the edit word by adding an extra zero to the front.  I haven't had a chance to try this today, but I thought you could add an "extra" leading zero. So you could create an edit word like this:

'0bb/bb/bbbb' (where "b" is a blank)

Note that there are actually nine positions specified.  Then if you ran that against an 8.0 field, you'd get 00/00/0000 with no leading blank.  I could be mis-remembering this, but I just thought I'd bring it up.


On 6/8/2020 4:07 AM, Patrik Schindler wrote:
Hello Art,

Am 05.06.2020 um 21:54 schrieb Art Tostaine, Jr. <atostaine@xxxxxxxxx>:

I’ve always used an edit word for this

‘0 /  /    “
Thanks, I tried. Did this really work for you? For me it is not, consistent with the documentation, which states:

To stop zero suppression, place a zero in the farthest right position where it is to stop. The zero is then replaced with the character from the corresponding position of the data field, unless that character is a zero. Any zeros in the data that appear to the right of the stop-zero-suppression character are printed. The stop-zero-suppression character is considered a digit position; however, when it is the first character, it may not represent the digit position. *At least one leading zero is suppressed.* Each zero that is suppressed is replaced by a blank.

See sentence enclosed in asterisks.

:wq! PoC

PGP-Key: DDD3 4ABF 6413 38DE - https://www.pocnet.net/poc-key.asc





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.