× 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: DDS coding
Ed wrote:
"  Does Field1 need to be numeric?
   I do not think you can put a '.' in a decimal field.

   If not try this
   FIELD1    4A
   Eval   Field1 = %char(1.21) "
 
This file is going to be FTP to a business partner.  They have the 
first field of Numeric, Length of 4 for the first field.

Charles wrote:
"  Why do you think you need to '.' in the file?
   The only way to actually get it there is to make the field 
character.
   Of course, then you be able to stick all kinds of crap in."

Yeah, I know, but if the COBOL program always rights that then it 
should be ok.  I was just looking for the MVS COBOL equivalent of 
FIELD   PIC 9.99




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.