Weird behaviour of dscmdexport.exe command

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
mavrick21
Premium Member
Premium Member
Posts: 335
Joined: Sun Apr 23, 2006 11:25 pm

Weird behaviour of dscmdexport.exe command

Post by mavrick21 »

Hello all,

I've written a script which takes a .dsx export, every Friday, by running dscmdexport.exe command on Windows client. I've created this script to handle multiple project names as input. However for past few runs I observed that it exports all the projects but errors out with one or atleast one project. Error below:

Attaching to 'Project' ...
dscmdexport aborted:
Failed to attach to the project

dscmdexport.exe is able to export projects prior to abend. Any suggestions on how to trace this?

Thanks for your time.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Is it consistent on the project(s) it errors on or does it seem somewhat random?
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

There's not much to trace in "unable to attach to project".

Check that the project name is correctly spelled and cased. Check that the project still actually exists. Check that the authentication details are all correct.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
mavrick21
Premium Member
Premium Member
Posts: 335
Joined: Sun Apr 23, 2006 11:25 pm

Post by mavrick21 »

Craig,
It seems somewhat random.

Ray,
1) The project name is correctly spelled and cased.
2) The project exists.
3) The authentication details are correct.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Try putting a short pause - maybe 30 seconds - between the finish of one export and the start of the next.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
mavrick21
Premium Member
Premium Member
Posts: 335
Joined: Sun Apr 23, 2006 11:25 pm

Post by mavrick21 »

Ray,
I already have 2 seconds delay between consecutive exports. Guess that's too short. I'll increase it to 30 seconds and update you.
Thanks.
Post Reply