Phantom 14763 Variable previously undefined. Zero length s
Moderators: chulett, rschirm, roy
Phantom 14763 Variable previously undefined. Zero length s
Hi,
I have job running fine in one enviornment.
While I run the job in another enviornment with teh same data set, I am getting a message in the log with following entries.
Phantom 14763
Variable previously undefined. Zero length string
Line 33, Variable previously undefined. Zero length string used.
Line 46, Variable previously undefined. Zero length string used.
Line 57, Variable previously undefined. Zero length string used.
Line 68, Variable previously undefined. Zero length string used.
Any help is appreciated.
Thanks
ketfos.
I have job running fine in one enviornment.
While I run the job in another enviornment with teh same data set, I am getting a message in the log with following entries.
Phantom 14763
Variable previously undefined. Zero length string
Line 33, Variable previously undefined. Zero length string used.
Line 46, Variable previously undefined. Zero length string used.
Line 57, Variable previously undefined. Zero length string used.
Line 68, Variable previously undefined. Zero length string used.
Any help is appreciated.
Thanks
ketfos.
ketfos
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
The message is coming at the end of the job in the following order
TransInNote: DSD.StageRun Active stage finishing.
DataStage Job 468 Phantom 29860
Program "DSU.TranslatePicCodeOther": Line 13, Variable previously undefined. Zero length string used.
The transform DSU.TranslatePicCodeOther is being used in the first stage of the job which is selecting from table.
Finished Job PolicyNoteOther
TransInNote: DSD.StageRun Active stage finishing.
DataStage Job 468 Phantom 29860
Program "DSU.TranslatePicCodeOther": Line 13, Variable previously undefined. Zero length string used.
The transform DSU.TranslatePicCodeOther is being used in the first stage of the job which is selecting from table.
Finished Job PolicyNoteOther
ketfos
OCI Stage (Selects) -- Transformer (uses the trasnform routine) -- puts into another transformer --- does a look up against the hash file with code returned by transform -- inserts/updates into an table --
The warning messages appear at the end of the job.
None of the above stage ahs any warning message
The warning messages appear at the end of the job.
None of the above stage ahs any warning message
ketfos
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
The problem is in your routine TranslatePicCodeOther. The code in the routine is attempting to use the value of a variable before that variable has been assigned a value.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Hi Ray,
This is what I did to resolve the problem.
I deleted the job in the current enviornment.
Imported the job from QA enviornment and exported the dsx files to the current project.
Ran the job again and did not find any warning messages.
Any idea why it resolved the problem.
The existing code which gae the error message was earlier promoted from the Qa enviornment only.
This is what I did to resolve the problem.
I deleted the job in the current enviornment.
Imported the job from QA enviornment and exported the dsx files to the current project.
Ran the job again and did not find any warning messages.
Any idea why it resolved the problem.
The existing code which gae the error message was earlier promoted from the Qa enviornment only.
ketfos