Hi i am facing this problem, please help me in my korn script
-------------------------------------------------------------
export $job_ids
echo "#Message creation" >message-typing.typ
chmod 777 message-typing.typ
echo "orderParser:1:999:210:T" >>message-typing.typ
echo "*REQUEST=FLOWTHRU;JOBID=${job_ids};OLD_DD=20050629000000;%" >>message-typing.typ
cat message-typing.typ
-------------------------------------------------------------
Now the job_ids is a variable consisting of job id, and if u see i have exported this variable too.
However, the message-typing.typ file when i see through the debugging mode consists of job id value, but once the script has terminated this job_id value dissappears, if i run on my unix prompt like
--------------------------------------------------------------
prompt> cat message-typing.typ
#Message creation
orderParser:1:999:210:T
*REQUEST=FLOWTHRU;JOBID=;OLD_DD=20050629000000;%
--------------------------------------------------------------
So any help please