Quantcast
Channel: Visual COBOL - Forum - Recent Threads
Viewing all articles
Browse latest Browse all 1559

Can PIC S9(12) be stored in a line sequential file?

$
0
0

The MicroFocus documentation in https://supportline.microfocus.com/documentation/books/oc41books/fhform.htm, in section 3.1.1.1, says that line sequential files "correspond to simple text files as produced by the standard editor provided with your operating system".

I've created a line-sequential file whose records are PIC S9(12) OCCURS 1600.  When I look at the output in Notepad, I see that the number -999999999999 appears to be stored as 99999999999y.

Do I need to change my organization from "line sequential" to "sequential", or can a program reading that line-sequential file actually convert the 99999999999y back to -999999999999 ???


Viewing all articles
Browse latest Browse all 1559

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>