Page 1 of 1

Problem with XML_Output Stage

Posted: Wed Dec 12, 2012 4:33 am
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 ?

Posted: Wed Dec 12, 2012 6:30 am
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

Posted: Wed Dec 12, 2012 6:43 am
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:

Posted: Wed Dec 12, 2012 7:25 am
by chulett
Run the job you created using dsjob rather than trying to run the osh directly.