ODBC: Unrecognized argument error

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
rkacham_DSX
Charter Member
Charter Member
Posts: 27
Joined: Tue Nov 02, 2004 5:34 pm

ODBC: Unrecognized argument error

Post by rkacham_DSX »

Hi,

we are getting following error randomly in pX job

SrcCommonPropertyODBC: Unrecognized argument: SELECT DISTINCT
CP.Common_Property_ID, CP.Originating_Network_ID ,rtrim(ltrim(Pet.Title)) Title
FROM
common_property CP inner join Property P on
CP.Common_Property_ID=P.Common_Property_ID and
CP.Originating_Network_ID=P.Network_ID
inner join Prop_Episode_title Pet on P.Property_id=Pet.property_id and P.Network_id=Pet.Network_id
where Pet.episode_number = 0 and Pet.Current_Title_Flag = 'y'

we are not able to reproduce the error job is getting aborted once in a while, we have checked with pds server ops they said they didn't have any issue loged,
any help is appriciated
Thanks,
Ramesh
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

Well its hard to tell if the error is random. Next time the job aborts try resetting the job to see if you get any "From previous run..." messages. Use generated sql instead of user defined. Thats the best I can give you as of yet.
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
Post Reply