On Tue, 31 Oct 1995 21:57:22 GMT, ALAN MENDES <[log in to unmask]> wrote:
>... a product called QUIZ... need to be able to save info(both text and
>numeric) into a ascii text file... i am having trouble saving
>numeric items with decimal places in a ASCII file...
If you are using SET REPORT DEVICE DISC then use a PICture and OUTPUT SCALE
such as:
REPORT &
COST-DATA PIC "^^^^.^^^" OUTPUT SCALE 3 SIGNIF 4
If you are simply ascii-fying a subfile (no headings, etc.) try
using the PORTABLE option: SET SUBFILE NAME MYFILE PORTABLE and use
REPORT SUMMARY <field1> <field2> ...
You'll get a formatted ascii data file and a matching dictionary file.
(The data file will end with the letter 'Q' and is file coded 648).
There is a PowerHouse discussion group you can subscribe to at:
[log in to unmask], send text: SUBSCRIBE POWERH-L <your name>
Hope this helps.
------------
Dirk Punzelt 407/768-7138
Rockwell / Avionics - Collins
[log in to unmask]