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



Thanks. Sorry for the confusion on which list to address this to.

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Charles Wilt
Sent: Wednesday, January 07, 2009 12:10 PM
To: Midrange Systems Technical Discussion
Subject: Re: Can I read a Windows Directory from an RPG program?

Tim's example will do the trick, just uses
/QNTC/WinServerName/Sharename/directory as the value for PATHTOLIST.

But this thread would be more appropriate for RPG-L.

Charles

On Wed, Jan 7, 2009 at 1:22 PM, DebbieKelemen <DebbieKelemen@xxxxxxxxxxx>
wrote:
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

--
Walden H Leverich III
Tech Software
(516) 627-3800 x3051
WaldenL@xxxxxxxxxxxxxxx
http://www.TechSoftInc.com

Quiquid latine dictum sit altum viditur.
(Whatever is said in Latin seems profound.)
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.



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.