Ask the Expert

Can the iSeries 400 gain access to files on a PC disk on any PC on a network?

Can the iSeries 400 gain access to files on a PC disk on any PC on a network? If so, how is this achieved.

This can be done for NT shares using the qntc file.

This is the how you do it:

Use the Make Directory (MKDIR) command to add a server directory to the /QNTC directory. All functional Windows NT servers in the local subnet are automatically created. Those Windows NT servers outside the local subnet must be added using the MKDIR command or mkdir() API. For example:


Would add the NTSRV1 server into the QNTC file system directory structure to enable access of files and directories on that server.

Shares on the server NTSRV1 are now available to the as400 for example:

Copy /mydir/zz /qntc/ntsrv1/disks/share1/zz

Will copy file zz from my dir the a directory on the NTSRV1.

It is important to work with the same user and password on both the AS/400 and the NT(the AS/400 uses the current user and password to send for NT auth).

This was first published in May 2001

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: