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



Doug,
I agree with Gad and did the same.

Don't forget that QNTC links have to be recreated every time the system
powers on, so the command in the QSTRUP is something like
SBMJOB CMD(MKDIR DIR(&YOURFLR)) USER(&YOURNETUSR)

Hope it helps

Il giorno mar 10 ago 2021 alle ore 11:35 Gad Miron <gadmiron@xxxxxxxxx> ha
scritto:

Doug

I've been dealing with such problems (placing files on Windows directories)
for years.

For QNTC to work you need the IBMi user and password to have identical user
& password on the Windows domain.
If you syncronize these (or use SSO) then it should work fine.

in case you don't ,
create a special "for copy" user & password on the i and in windows (having
the same password) and do the copy to Windows by SBMJOB setting the USER
parameter to that special "for copy" user.
like in SBMJOB CMD(CPY
OBJ(/IFS_FILE) TOOBJ(/QNTC//Windows_Server/Target_Directory/File_Name)
USER(USER4COPY)

HTH
Gad





date: Mon, 9 Aug 2021 14:46:22 -0500
from: DEnglander--- via MIDRANGE-L <midrange-l@xxxxxxxxxxxxxxxxxx>
subject: IBM i access to Windows folders

I have looked at using QNTC for this, but it looks like it won't work. I
know this can be done, but am not sure of the specifics.

I have an RPG program that creates a spool file. The RPG is called using a
CL. The RPG creates a PDF of the spool file, and stores it on the IFS.

I want to be able to copy that PDF to a folder on a windows server using
the CL. This process will run interactively at first, but could run in
batch down the road. The process may also have to run in the S36
environment too.

We are on V7R3 and are fairly current on PTFs.

I have tried multiple times using QNTC and it seems I am getting an
authority message. From reading other's posts, it appears QNTC does not
handle mixed case passwords, which we use and would need I can connect to
this folder using windows explorer, and my IBM i user ID and password, so
I believe my authority is set correctly.

Does anyone have any ideas on how to get this to work? I remember at a
prior job, our iSeries had a few commands in the startup program that
mapped the windows folders and they could be accessed via iSeries jobs,
but I don't remember the specifics.

Thank you,

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

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com




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.