I should have been more specific. Yes, a directory on a windows file
server.
I haven't directly read the IFS from in RPG before. Yes, I'm really behind
the in my programming skills here.
So any examples would be appreciated.
Deb
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Walden H. Leverich
Sent: Wednesday, January 07, 2009 10:41 AM
To: Midrange Systems Technical Discussion
Subject: RE: Can I read a Windows Directory from an RPG program?
He wants me to directly read the Windows Directory from the RPG
program.
Define "Windows Directory". Do you mean a directory on a windows file
server somewhere in the enterprise? Something you'd get to from your
desktop as \\windows-server-name\share-name\directory\file.jpg?
If so, if it's setup correctly, you should be able to read that same
directory from the i (in RPG) just like you'd read any other directory
in the IFS by putting /QNTC/ at the beginning. That is, from RPG (or
WRKLNK, or whatever) that same path should be
/QNTC/windows-server-name/share-name/directory/file.jpg.
Make sense?
-Walden
As an Amazon Associate we earn from qualifying purchases.