MIDRANGE dot COM Mailing List Archive



MIDRANGE-L » January 2013

Re: Correct CCSID for IFS File.



c eval fd = open('/ifstest/somefile.txt':
c O_CREAT+O_WRONLY+O_CODEPAGE:
c mode: 819)

I don't intend to accidentally mislead. The above is a copy & paste from Scott Klement's web page I referenced earlier. My assumption is that Scott got "mode:" where he wanted it. However I am not expert in any way and can not make the case for or against. I am only reporting.

On 1/22/2013 3:33 PM, Michael Schutte wrote:
Quick question though...

I've seen twice now before the CCSID there's this parm that you are passing
called mode What is this value?

On Tue, Jan 22, 2013 at 4:10 PM, Booth Martin <booth@xxxxxxxxxxxx> wrote:

open(FileName:O_CREAT+O_TRUNC+O_WRONLY:
S_IRUSR + S_IWUSR + S_IRGRP+O_CODEPAGE: mode: 1252);







Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2013 by MIDRANGE dot 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 here. If you have questions about this, please contact