bvining@vnet.IBM.COM wrote: > Art, > > Your code should be working fine. I used this successfully (which > should look amazingly close to yours) when viewing rcvvar under debug: > > Question: when you do a display of the file attibutes (option 8 of > wrklnk), what is shown for code page? On my system, the file was 850 > (PC Data Latin 1) and was correctly converted to my job CCSID when read. > > Bruce Vining > I've got mine working finally. My program was putting o_codepage into open flag. The other example that I had from Jon Paris (and Ray Bills), was not using that. Once I took out the code page, it worked. Oh, yeah, the codepage on my test file was different than every other file on my IFS. I deleted it and recreated it. But I still had to remove that o_codepage from the oflag. Thanks to all. -- Art Tostaine, Jr. Creative Computer Associates, Inc. Parlin, NJ firstname.lastname@example.org +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to "MIDRANGE-L@midrange.com". | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: email@example.com +---
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.