Problem with XML_Output Stage

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
pk132007
Participant
Posts: 2
Joined: Mon Dec 10, 2012 11:46 am
Location: BLR

Problem with XML_Output Stage

Post by pk132007 »

Hi All,

We are trying to run an osh script in unix which is having a XML_Output operator in it.
That operator(XML_Output) is having a characterset in it like mentioed below.

#### STAGE: XML_Output
## Operator
dscapiop
## Operator options
-charset [&DSProjectMapName]


Firstwei have created a datastage job with it, that is working fine.
But when we are trying to run it in unix box, by giving the command
osh -f filename.osh

It is giving an error as
##E IIS-DSEE-TOSH-00048 04:21:07(007) <main_program> Parameter not resolvable: DSProjectMapName [osl/osl.C:712]
##E IIS-DSEE-TCOS-00020 04:21:07(008) <main_program> Parameterization error: Parameterization failed.. [osh.C:1115]


Can anyone help me in this, how to run it in unix box ?
eostic
Premium Member
Premium Member
Posts: 3838
Joined: Mon Oct 17, 2005 9:34 am

Post by eostic »

I don't know if you can run it that way. You might be able to do, but I can't confirm. The xmlInput and xmlOutput Stages are not native Operators. They were written long before osh existed. As such, they may have different characteristics that prevent what you are trying to do, so I am not surprised.

Ernie
Ernie Ostic

blogit!
<a href="https://dsrealtime.wordpress.com/2015/0 ... ere/">Open IGC is Here!</a>
pk132007
Participant
Posts: 2
Joined: Mon Dec 10, 2012 11:46 am
Location: BLR

Post by pk132007 »

Hi Ernie,

Thanks for your reply, but i am not able to see your full reply :(
Can anyone provide me a solution for our XML_Output Stage
problem ?
We are stuck up because of this, please help :shock:
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Run the job you created using dsjob rather than trying to run the osh directly.
-craig

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