Issue in running job

I have a parameter A
its value is given below

A= 'Hi Hello'

When I am trying to use this parameter in my script to call the job,its giving me invalid parameters due to space between Hi & Hello

-param A=$A

param A=Hi Hello.

in above since there space after hi it will give invalid parameter

Same issue when using double quotes ("Hi Hello")?

Yes I use double quotes and try..its not working

What shell are you using, which OS? Exactly what is the error?

There's also a space after = in A= 'Hi Hello'

Sorry its typo error.There is no space after =

Let's see the script. Without it I can't see how we can help.

set -vx
set -a

Script=$0
TODAY_DATE=`date '+%Y%m%d'`

export A="Hi Hello"
export B=Test

dsjob -run -wait                                                         \
-warn 5000                                                               \
-param A=$A                                         \
-param B=$B                                 \
-jobstatus $ProjecName $JobName 2>> ${LFILE}

set +vx
set +a

Maybe you just need to quote all the parameters to "dsjob"?

... -param="$A" ... -param="$B" ... -jobstatus "$ProjectName" ... etc.

we have tried like that also..still its not working

Perhaps dsjob can't handle parameters with spaces?