Midrange News for the IBM i Community

Posted by: renojim
Writing text to IFS
has no ratings.
Published: 16 Dec 2015
Revised: 17 Dec 2015 - 1400 days ago
Last viewed on: 17 Oct 2019 (3261 views) 

Using IBM i? Need to create Excel, CSV, HTML, JSON, PDF, SPOOL reports? Learn more about the fastest and least expensive tool for the job: SQL iQuery.

Writing text to IFS Published by: renojim on 16 Dec 2015 view comments(4)

Writing a text file to the IFS from RPG, tried using fopen, fputs, _C_IFS_fopen, _C_IFS_fputs, everything which way I can find to do it, opening the file with different CCSID's, including 819, I can create and write to the file, but no matter what, I go to Ops Navigator, drag the file from the IFS to my desktop and open it with a text editor, I get all @'s, plus some other goop. I've done this before without a problem, can't figure it out this time. Is it obvious, what I'm doing wrong?

Return to midrangenews.com home page.
Sort Ascend | Descend