Exporting routines from Datastage Command Line

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
clarcombe
Premium Member
Premium Member
Posts: 515
Joined: Wed Jun 08, 2005 9:54 am
Location: Europe

Exporting routines from Datastage Command Line

Post by clarcombe »

Does anyone know how to export routines using dsexport.

I have tried the /routine parameter but this didn't work. Also tried the routine name with the /job parameter but this also failed too.

I came across this post
I've found that dsexport also supports:

/XML
/EXT

and

/EXEC
/APPEND

I think /EXEC exports the executable part - the dsx produced only has a DSEXECJOB section.
/APPEND can only be used with /EXEC and appends onto an existing dsx file.

I found this by opening the file dsexport.exe in a hex editor and looking at the clear text in the file. The complete list of apparent switches is:
/JOB=
/XML
/EXT
/EXEC
/APPEND
/ASK
/ALL
/NUA
Any suggestions.

TIA
Colin Larcombe
-------------------

Certified IBM Infosphere Datastage Developer
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

I honestly don't believe that this is possible. :(

Be happy to be proven wrong, however.
-craig

"You can never have too many knives" -- Logan Nine Fingers
clarcombe
Premium Member
Premium Member
Posts: 515
Joined: Wed Jun 08, 2005 9:54 am
Location: Europe

Post by clarcombe »

The only way seems to be via Manager. I will mark this as a workaround
Colin Larcombe
-------------------

Certified IBM Infosphere Datastage Developer
Suruchi
Participant
Posts: 16
Joined: Tue Dec 13, 2011 3:21 am

Post by Suruchi »

Hi any updates on the above. Even i'm looking for a solution
Post Reply