Hello Jevgeni,

I noted your reference to the Programmer's Guide about the file name format,
but for the record I/O functions I think you should use the following
format: [LIB_NAME/]FILE_NAME[(MBR_NAME)] as in:

LogFile = _Ropen("KLIBEEK/EQRPT", "ar") ;

Check out the ILE C/C++ Run-Time Library Functions manual for an _Ropen
example showing the file name format on page 275:

Best regards,
Carsten Flensburg

----- Original Message ----- 
From: "Jevgeni Astanovski" <Jevgeni.Astanovski@xxxxxxxx>
To: "C programming iSeries / AS400" <c400-l@xxxxxxxxxxxx>
Sent: Wednesday, May 24, 2006 3:05 PM
Subject: Re: [C400-L] IFSIO and print files

> > > Manual (Programmer's guide) advises to use
> > >
> > > OK. The only problem is that PRTF does not have members...
> > >
> > > Tried
> > > IntrFile = fopen("/QSYS.LIB/KLIBEEK.LIB/EQRPT.FILE", "w") ;
> > >
> > > returns NULL and errno 3021 (Invalid argument)

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by midrange.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 on our policy page. If you have questions about this, please contact [javascript protected email address].