Regarding the error "Variable previously undefined"

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
veera24
Premium Member
Premium Member
Posts: 150
Joined: Thu Feb 07, 2008 9:37 pm
Location: NewYork

Regarding the error "Variable previously undefined"

Post by veera24 »

hi all,
am getting the following error while executing a job.Could anyone help me out?


"DataStage Job 298 Phantom 5958

Program "JOB.1504133597.DT.147051563.TRANS3": Line 429, Variable previously undefined. Zero length string used.

DataStage Phantom Finished"


Your time is highly appreciated.

Thanks in advance,
veera
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Search the forums, this has been discussed a number of times before and should be easily found. However, specific to your message...

From the Project directory where this job lives, find the "BP" directory associated with this Job Number - 298. So, cd into RT_BP298 and then view the "JOB.xxx" file noted in the error. Check the code at and around line 429 to get an idea where things are going wrong. Fix the problem.
-craig

"You can never have too many knives" -- Logan Nine Fingers
veera24
Premium Member
Premium Member
Posts: 150
Joined: Thu Feb 07, 2008 9:37 pm
Location: NewYork

Post by veera24 »

chulett wrote:Search the forums, this has been discussed a number of times before and should be easily found. However, specific to your message...

From the Project directory where this job lives, find the "BP" directory associated with this Job Number - 298. So, cd into RT_BP298 and then view the "JOB.xxx" file noted in the error. Check the code at and around line 429 to get an idea where things are going wrong. Fix the problem.
hi chulett,

Since am a new born to DataStage could u pls explain in detail
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Actually, that was what I would consider fairly "in detail". What part is unclear?

The Projects directory? If you have a 'standard' install, then cd to the DSEngine directory and slide over from there:

Code: Select all

cd `cat /.dshome`
cd ../Projects/<YourProjectName>
Something else?

You could also trying searching the forums as suggested and going thru other posts on the subject. Do an Exact search for "Variable previously undefined. Zero length string used." to turn them up.
-craig

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