mapping a drive from the ISeries

20 pts.
Tags:
Lotus Domino
Network protocols
Networking
I am using one partition of my ISeries to FTP to outside vendors and get data to an IFS directory. Then, a batch job is running from a Windows server, that has a drive mapped to the IFS directory, to copy the data onto the server. Is there a way for the ISeries to map a drive to the server and receive the data directly to the server

Answer Wiki

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

I think I understand your question. You want to get/receive/copy a file from your NT server and copy/move it to the AS/400 via drive map share from the NT server

This can be done using a command line or in CL programs (you can create) using the QNTC file system. There really isn?t a drive map per say. It?s more like a link to the server and the share on the NT server.

Sample commands:

WRKLNK OBJ(QNTC)

WRKLNK OBJ(/QNTC/NTSERVER/SHARE/FILE.NAME)

From NT to AS/400 IFS:

MOV OBJ(‘/QNTC/NTSERVER/SHARENAME/FILE.TXT’) TOOBJ(‘/IFSDIR/FILE.txt’)

CPY OBJ(‘/QNTC/NTSERVERK/SHARENAME/FILE.TXT’) TOOBJ(‘/IFSDIR/FILE.txt’)

From NT to AS/400 Library:

MOV OBJ(‘/QNTC/NTSERVER/SHARENAME/FILE’) TOOBJ(‘/QSYS.LIB/MYLIB.LIB/NAME.FILE’)

CPY OBJ(‘/QNTC/NTSERVER/SHARENAME/FILE’) TOOBJ(‘/QSYS.LIB/MYLIB.LIB/NAME.FILE’)

You can reverse the TO and FROM PARMS and copy/move to the NT server also.

Hope this helps

Discuss This Question:  

 
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

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