DataStage Job 222 Phantom 26691 (Characters not in NLS map)

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
pravesh_kushwaha
Participant
Posts: 19
Joined: Fri Sep 10, 2004 12:17 am
Location: India
Contact:

DataStage Job 222 Phantom 26691 (Characters not in NLS map)

Post by pravesh_kushwaha »

Hi All,
I am getting the following error:

DataStage Job 222 Phantom 26691
Record 4242 contains characters which are not defined in the file's NLS map.

Attempting to Cleanup after ABORT raised in stage GNSEventPromoteAndValidate.0.PromoteAndValidate
DataStage Phantom Aborting with @ABORT.CODE = 3

Can someone please tell the cause of this error and how can it be resolved.

Thanks,
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Record 4242 contains characters which are not defined in the file's NLS map.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

I'd also be asking whether there really are "}" and "|" characters in the data, or whether these are being translated from value marks and field marks.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
arunverma
Participant
Posts: 90
Joined: Tue Apr 20, 2004 8:20 am
Location: MUMBAI
Contact:

Post by arunverma »

HI Battliou ,

If you are getting special character in source column , then you can create routine and use in transformation , it will remove those character .

Ex:- Routine - RemoveUnWantedChar

It removes following character.

Chr(10) , Chr(13) = "Enter Key"
Chr(124) = "|" ---> Pipe
Chr(44) = "," ---> comma
Chr(34) = """ ---> double cots
Chr(37) = "%" ---> percentage



Code :-

* Store in a local variable.

InputString = Arg1

* after trimming the Input value stored in local variable.

Var1 = trimb(trimf(InputString))


* Now remove Enter key and pipe character.


Var2 = Trim(Trim(Trim(Var1,Char(124),"A"),Char(10),"A"),Char(13),"A")

* Now remove comma, double cots and percentage character.


Ans = Trim(Trim(Trim(Var2,Char(37),"A"),Char(34),"A"),Char(44),"A")
Arun Verma
anupam
Participant
Posts: 172
Joined: Fri Apr 04, 2003 10:51 pm
Location: India

Post by anupam »

Very Rightly said by Arun Verma.

It is better you remove all unwanted special characters using routine.
----------------
Rgds,
Anupam
----------------
The future is not something we enter. The future is something we create.
arunverma
Participant
Posts: 90
Joined: Tue Apr 20, 2004 8:20 am
Location: MUMBAI
Contact:

Post by arunverma »

Hi Anupam ,

Where are you ??? , no communication for last six month ....


Regards

arun
Arun Verma
pravesh_kushwaha
Participant
Posts: 19
Joined: Fri Sep 10, 2004 12:17 am
Location: India
Contact:

Post by pravesh_kushwaha »

The problem got resolved when changed the NLS map to none at the job level.
Thanks And Regards,
Pravesh Singh Kushwaha.
Software Engineer,
Infosys Technologies Ltd., Pune.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

The correct NLS map for hashed files is always NONE. This is because hashed files are internal to DataStage; the data have already been mapped from the external representation by the time they get into a hashed file.

Had you mentioned in your original post that a hashed file was involved we probably would have reached the solution more quickly.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply