I know I could access the windows file directly from the iSeries (using /qntc if I'm not mistaken).

But I also know that this takes a loooooong time. Especially if the iSeries is located here in Kontich and the file is in China. And you want to retrieve the timestamp for 20+ files at the same time.

Also, the file will be in a directory that is protected from access by "regular" users, so I'd have to get around that security in some way.

Anyway, I have meanwhile found out that we can create web services in IBS Integrator, a tool we have already in-house, so I think we'll go that route.

Too bad, I'd have loved to get my hands on EGL for this.

Thanks for the help anyway.

Peter Colpaert
Software Engineer - PLM Development Team
Philips Consumer Luminaires
Tel: (+32) 3/459 13 17
Fax: (+32) 3/450 74 33
Address: Industrieterrein Satenrozen 11, 2550 Kontich, Belgium
Email: Peter.Colpaert@xxxxxxxxxxx

-----Original Message-----
From: egl-i-bounces@xxxxxxxxxxxx [mailto:egl-i-bounces@xxxxxxxxxxxx] On
Behalf Of Dennis Lovelady
Sent: woensdag 23 juni 2010 18:36
To: 'EGL on and around the IBM i'
Subject: Re: [EGL-i] Can this be done in EGL?

Robert is correct.

Have a look at the stat() function (API).

For help with that you can ask here or at midrange-l after reviewing
Scott's
book at http://www.scottklement.com/rpg/ifs_ebook/ifs_ebook.pdf

Scan for "retrieving stream file stats"

Dennis Lovelady

The information contained in this message may be confidential and legally protected under applicable law. The message is intended solely for the addressee(s). If you are not the intended recipient, you are hereby notified that any use, forwarding, dissemination, or reproduction of this message is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message.

This thread ...

Replies:

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

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