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


  • Subject: RE: over ride edit codes
  • From: "Martin, Booth" <BoothM@xxxxxxxxxxx>
  • Date: Mon, 31 Jan 2000 15:05:25 -0500

You can use an edit word.  Place a zero in the column before where you want
the leading zero.  In an 9-digit Social Security number for example the 0
would be '0xxx-xx-xxxx', or in a date you could use '0xx/xx/xx'.  Another
example might be where you want the zero before the decimal point if the
value is not at least 1, as in 'x,xxx,x0x.xx-'.

 (The x's are place holders for this e-mail, you would use blanks of course
in the actual program)

-----Original Message-----
From: nan pat [mailto:seedrp@hotmail.com]
Sent: Monday, January 31, 2000 1:34 PM
To: boothm@goddard.edu
Subject: over ride edit codes


hi Andras ,

Just yesterday I had this problem .

Earlier I used to substring the value from YYMD date to YMD as in the 
display file.And as u rightly  said , since the date was decimal field,the 
value program read was 123 instead of 000123.

To correct  it I changed the value of the display file date field to 8 
length and stopped doing substring on date field.So i got the date in 
display file as 20000123.

I tried to see whether we can stop program from suppressing the leading 
zeroes , but cd not find one.

I think display file too cannot help since the program reads the date as 123

  instead of 000123.(i found it in strisdb  by watching the variable when it

did read on the file)

If u get a sensible answer , pl let me know too !!!!

other possible soln wd be to declare the date field ni the file as character

.this wd stop it from suppressing the leading zeros.




daj
______________________________________________________

+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.