Trying to attach an AS/400 shared folder

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
gpbarsky
Participant
Posts: 160
Joined: Tue May 06, 2003 8:20 pm
Location: Argentina

Trying to attach an AS/400 shared folder

Post by gpbarsky »

Hola, mis amigos....

I'm trying to make a "net use m: \\......." for an AS/400 shared folder. This is from within a batch job.

The first time that I run the command, it works fine.

The second time I run the command, the error 85 appears, saying that the network drive is already in use. So, I inserted a "net use m: /d" previous to executing the first net use. But the result was the same.

Does anybody know if there is a special treatment to make in jobs, for handling the AS/400 shared folders ?

Thanks in advance.
Guillermo P. Barsky
Buenos Aires - Argentina
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

Don't know about AS/400 shared folders mattering but any chance m: is already in use? Meaning you can't detach because there's an open user/process in that file system?
Kenneth Bland

Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
Post Reply