APT_ParseError

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
karthik_j013
Participant
Posts: 18
Joined: Mon Mar 26, 2007 1:02 am

APT_ParseError

Post by karthik_j013 »

Hi,

When I am try to call a procedure from ODBC Stage in Data Stage PX. I am getting the following Error:

Error executing View Data command:

##F TFPM 000279 16:41:01(019) <main_program> Fatal Error: Caught ORCHESTRATE exception in main program: APT_ParseError: In field: Expected identifier, got: ":", line 2.

I have trying doing the following but still it is not working:
1. I have defined all the decimal fields lenght and precisions.
2. In the table definition in the Repository, choosed the Layout tab, and select the Parallel option.

The same procedure when I call through Data Stage Server Job it works fine.

Can someone tell me why is this:
Krazykoolrohit
Charter Member
Charter Member
Posts: 560
Joined: Wed Jul 13, 2005 5:36 am
Location: Ohio

Post by Krazykoolrohit »

is there any transformer in your job? and are you performing a trim function anywhere.
Minhajuddin
Participant
Posts: 467
Joined: Tue Mar 20, 2007 6:36 am
Location: Chennai
Contact:

Post by Minhajuddin »

Are you using :1, :2 for bind variables?
You are not supposed to use these.

In PX the bind variables can be used by putting ORCHESTRATE.<column_name> instead of your bind variables.
Minhajuddin

<a href="http://feeds.feedburner.com/~r/MyExperi ... ~6/2"><img src="http://feeds.feedburner.com/MyExperienc ... lrow.3.gif" alt="My experiences with this DLROW" border="0"></a>
karthik_j013
Participant
Posts: 18
Joined: Mon Mar 26, 2007 1:02 am

Post by karthik_j013 »

No I am not using any bind Variables.

Yes I am using a Transformer and using trim function also. how does it makes the difference.
Krazykoolrohit
Charter Member
Charter Member
Posts: 560
Joined: Wed Jul 13, 2005 5:36 am
Location: Ohio

Post by Krazykoolrohit »

Its a known bug in datastage . If i describe it correctly, if you trim a column while using it in any statement or calculation, it throws this error .

Search the forum on your error, it will give you a lot of posts regarding this.
karthik_j013
Participant
Posts: 18
Joined: Mon Mar 26, 2007 1:02 am

Post by karthik_j013 »

After I remove the trim also. It is giving me the same error.
Please can you suggest me on this.
keshav0307
Premium Member
Premium Member
Posts: 783
Joined: Mon Jan 16, 2006 10:17 pm
Location: Sydney, Australia

Post by keshav0307 »

can you see the generated query, it must be in next line to this error in the director.

or you can see in the generated OSH script
Post Reply