dscmdexport using command activity diff dsx size

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
SURA
Premium Member
Premium Member
Posts: 1229
Joined: Sat Jul 14, 2007 5:16 am
Location: Sydney

dscmdexport using command activity diff dsx size

Post by SURA »

Hello All

When i execute the Datastage job to export the Datastage project, it ran successfully, but the dsx file size is 42,018 KB.

I copied the same command from the Datastage director, executed in the command line. All good, but this time the dsx file size is 244,335 KB.

I would like to know why the dsx is differ?

About the code:
This datastage export job was developed by me, we as using Datastage 8.5 may be 4 - 5 years back, if i am right.

Now we are using Datastag 8.7.
Thanks
Ram
----------------------------------
Revealing your ignorance is fine, because you get a chance to learn.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Methinks that your job does not export all artefacts, such as binaries and dependent objects.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
SURA
Premium Member
Premium Member
Posts: 1229
Joined: Sat Jul 14, 2007 5:16 am
Location: Sydney

Post by SURA »

Thanks Ray, but is there any difference if the same command has been executed using command line vs command activity stage?
Thanks
Ram
----------------------------------
Revealing your ignorance is fine, because you get a chance to learn.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Methinks he is saying it is not 'the same command'.
-craig

"You can never have too many knives" -- Logan Nine Fingers
battaliou
Participant
Posts: 155
Joined: Mon Feb 24, 2003 7:28 am
Location: London
Contact:

Post by battaliou »

Are you using /EXEC option? Check out http://www.ibm.com/support/knowledgecen ... mmand.html
3NF: Every non-key attribute must provide a fact about the key, the whole key, and nothing but the key. So help me Codd.
SURA
Premium Member
Premium Member
Posts: 1229
Joined: Sat Jul 14, 2007 5:16 am
Location: Sydney

Post by SURA »

chulett wrote:Methinks he is saying it is not 'the same command'.
Means the command behaves differently ?
Or
Totally the different command ?

As i said before, i copied the command from the Datastage director. That means , to me it is a same command.

Even i tried the Export options from the Designer, none of them are not matching the dsx file size!!

I don't know what is happening?
Thanks
Ram
----------------------------------
Revealing your ignorance is fine, because you get a chance to learn.
SURA
Premium Member
Premium Member
Posts: 1229
Joined: Sat Jul 14, 2007 5:16 am
Location: Sydney

Post by SURA »

battaliou wrote:Are you using /EXEC option?
Thank you battaliou for sharing this link.

Code: Select all

D:\IBM\InformationServer\Clients\Classic\dscmdexport /D=#DOMAIN_NAME# /U=#USER_NAME# /P=#PASSWORD#  /H=#HOST_NAME# #PROJECT_NAME# #DSX_FILE_PATH##PROJECT_NAME#.dsx /V > #DSX_FILE_PATH##PROJECT_NAME#.log
This is the command.
Thanks
Ram
----------------------------------
Revealing your ignorance is fine, because you get a chance to learn.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Meaning, perhaps it behaves differently. As Ray noted, sounds like one includes executables / binaries (etc) and one does not. Which is also why the /EXEC question came up.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply