× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



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:
http://publib.boulder.ibm.com/infocenter/iseries/v5r4/topic/books/sc415607.pdf

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
> > > /QSYS.LIB/LIB_NAME.LIB/FILE_NAME.FILE/MEMBER_NAME.MBR
> > >
> > > 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)



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

This mailing list archive is Copyright 1997-2024 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].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.