mapping a drive from the ISeries
20 pts.
0
Q:
mapping a drive from the ISeries
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
ASKED: Jan 26 2006  5:31 PM GMT
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
0
0 pts.
0
A:
 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0
  • AddThis Social Bookmark Button
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
Last Answered: Jan 27 2006  10:58 AM GMT by kholder   0 pts.
0
0
Discuss This Answer:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _



0