How to use DOS command to move files through a network

Moderators: chulett, rschirm

Post Reply
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Welcome aboard! :D

Under what user ID do your DataStage jobs run? Check that this user has all required permissions.

A good way to find out is to run a job that contains ExecTCL as a before-job (or after-job) subroutine, it really doesn't matter. In the Input Values field specify the command SH -c id (this will work on Windows because you have MKS installed). The user ID is the first part of the report, the remainder contains group memberships.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
crouse
Charter Member
Charter Member
Posts: 204
Joined: Sun Oct 05, 2003 12:59 pm
Contact:

Post by crouse »

Also, how are you mapping the drives? Are they "statically mapped", meaning the drives are mapped no matter who is logged on to the box? Even if you log on to the DS server box as the same account that jobs run under, the mapped drives may not be available when the jobs run, if the drives aren't statically mapped.

Know what I mean?

One way to know if the drives are "available" to DataStage is to create a job with a sequential file as input and try to select a file from the mapped drive. If you can't see the mapped drive from Designer, jobs won't see it when they run.
Craig Rouse
Griffin Resouces, Inc
www.griffinresources.com
Post Reply