Mapping a drive from QNTC

20 pts.
Tags:
Application development
AS/400
DataCenter
I have to have a drive from a Windows server permanently mapped to my ISerie for batch FTP purposes. When I issued the command MKDIR QNTC/servername, it worked fine. The problem is that at IPL time, the link is broken, What's the best way to keep the connection with the Windows server? Should include the MKDIR statement in my QSTRUP pgm?? Is there a way to create the link whenever the NetServer is started??

Answer Wiki

Thanks. We'll let you know when a new response is added.

MKDIR is not recommended by IBM. The system is supposed to do this automatially just like your PC does when it uses My Network Places. We have a similar problem and we have an open PMR with IBM. I suggest calling 1-800-IBM-SERV and logging the problem. I understand that there is a PTF in the works for this; maybe the PTF will solve your problem.

Remember, from IBM’s perspective, the MKDIR is only a workaround.

===============================================================

<b>IF</b> NetServer is properly configured, and <b>if</b> TCP/IP is properly configured, and <b>if</b> appropriate NetServer PTFs are applied, and <b>if</b> the Windows servers are have proper service packs, then MKDIR is not needed at all.

What MKDIR does is trigger access to the Windows domain. The first access of the Windows Network after an IPL triggers the start of a “discovery” process looking for Windows servers that are presenting shares. You can run a DSPLNK ‘/QNTC/*’ command after IPL to trigger the discovery process.

The way you run the command is up to you. The only significant requirements are that TCP/IP must be running fully, and NetServer must be completely initialized. You can run the command at the end of your QSTRUP program or submit the command to batch, you can assign it as an auto-start job in some subsystem, or you can type it manually when a terminal first comes active. However you want to do it, it’s just that you probably want it run automatically shortly after IPL completes.

After discovery completes, you should be able to run programming that opens files in Windows shares and the opens should complete in a matter of seconds.

Tom

Discuss This Question: 4  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

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
  • DaddyCOZ
    MKDIR is not recommended by IBM. The system is supposed to do this automatially just like your PC does when it uses My Network Places. We have a similar problem and we have an open PMR with IBM. I suggest calling 1-800-IBM-SERV and logging the problem. I understand that there is a PTF in the works for this; maybe the PTF will solve your problem. Remember, from IBM's perspective, the MKDIR is only a workaround.
    0 pointsBadges:
    report
  • JPLamontre
    Add the mkdir to the qstrup. some weeks ago I had found a nota that explained that when the I5 & the win servers are in the same domain, the i5 adds automaticaly the win servers to qntc. but I don't know neither what is a domain nor where that can be updated in the i5.
    0 pointsBadges:
    report
  • DaddyCOZ
    Yes, the iSeries must be in the same domain just like is true for a PC. See the netserver properties in iSeries Navigator. However, as I said before, IBM has a problem in some of these situations. I am awaiting a PTF.
    0 pointsBadges:
    report
  • KevinBattreall
    Try adding system environment variable QZLC_SERVERLIST to your system environment variables. This tells your system to use the master browse for your subnet to find the list of servers on your network. I think this change requires a reboot to activate it. ADDENVVAR ENVVAR('QZLC_SERVERLIST') VALUE('1') LEVEL(*SYS)
    0 pointsBadges:
    report

Forgot Password

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

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

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

Thanks! We'll email you when relevant content is added and updated.

Following