|
Scott, Charles,
I spent an hour or so yesterday unsuccessfully trying the establish
connectivity to
"/QNTC/some_server/some_share_name/folder_name/file_name.txt".
The file is visible from Windows Explorer but the iSeries cannot seem to
resolve it, throwing CPFA0A9 'Object not found' messages at me instead. I
tried various combinations of slashes and backslashes but still no joy.
WRKLNK couldn't find it either so that is when I began to wonder whether
QNTC was somehow limited to shares defined in iNav using Netserver. Or
something like that - hence my comment about 'local PC'.
If it were simply an authentication issue I would expect some sort of 'not
authorized' message instead of CPFA0A9. Sometimes it is easier to find a
different solution than to open a trouble ticket with the network security
department!
Many thanks, JK
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Scott Klement
Sent: Thursday, February 25, 2010 1:23 PM
To: Midrange Systems Technical Discussion
Subject: Re: Automating file xfer with NFS
Hi JK,
Yes, QNTC is what I'm referring to.
Using CPY was my first choice, but most of the trade journal articlesand
threads I researched yesterday seemed to focus on using QNTC to pass files
between the IFS and a local PC, rather than a Windows share somewhere on a
corporate network. That's why I started researching NFS.
I don't understand the distinction between 'local PC' and 'Windows share
on a network'. In both cases it's using a network to access a Windows
share, right?!
If you're able to open it from Windows as:
\\some_server\some_share_name\folder_name\file_name.txt
Then you should also be able to access it from i as:
/QNTC/some_server/some_share_name/folder_name/file_name.txt
The only other caveat, is that the system will try to use the same
user/pass that you have logged in to OS/400 to access the Windows
server. In an automated process, however, this is not usually a big
deal. Just create a special userid/pass for that process that matches
the name/pass on the server. That's a much better idea than using an
actual employee's signon anyway...
Then it's just a matter of using CPY (or COPY or QShell cp) to copy the
file from the server's share to the /home directory where you want it.
--
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 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.