× 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.



Writing to the IFS, as Rob said, means only that - it does not say who is doing it. Or which system is doing it.

RPG does not have native ways to write to the stream-file part of the IFS, so you use APIs, as Scott shows. Windows does have the ability to save files to the non-library portion of the IFS but it has to use "APIs" like ODBC and such to write to the library portion, namely, database files.

I thought that was an interesting symmetry - I'm sure it is not helpful! ;-)

Adam West wrote:
Agreed. So when we talk about " Writing to the IFS" we are referring to going from the i not writing Data from the PC to the i?

In this reagrd, is there any code I can see that writes to the IFS from the i?
I have seen some of Scott Klements work but the IFS Tutotial while is excellent has just a small amount of code.




________________________________
From: Vern Hamberg <vhamberg@xxxxxxxxxxx>
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Sent: Friday, January 2, 2009 2:26:32 PM
Subject: Re: Use of the IFS

Adam

Everything Rob and I were just talking about is on the PC - nothing on the i - so neither CL nor RPG. We are talking about automatic conversion when opening an i physical file member using Notepad or some other Windows application. So I guess I'm getting confused - not surprising today!

I did try opening a non-source PF member - got same thing as Rob. Tried to open a user space after putting an appopriate extension in - it did not get converted.

The waters are getting murky!! And it's only the first work day of the new year!!

Regards
Vern

Adam West wrote:
All of this then would be done in CL only, not RPG?




________________________________
From: "rob@xxxxxxxxx" <rob@xxxxxxxxx>
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Sent: Friday, January 2, 2009 11:15:53 AM
Subject: Re: Use of the IFS

That only works for source physical files. I want data physical files.

Rob Berendt

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.