Error while using ExecTCL

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
rameshrr3
Premium Member
Premium Member
Posts: 609
Joined: Mon May 10, 2004 3:32 am
Location: BRENTWOOD, TN

Error while using ExecTCL

Post by rameshrr3 »

Whilw updating a hashed file using ExecTCL , in an after job subroutine , i get the following error

Code: Select all

AfterJob (ExecTCL): Error when executing command: UPDATE SOIRecordCountHash SET SOIRecordCount =21
*** Output from UniVerse command was: ***
SQL
How do i suppress the SQL+ prompt? Or is it something that i cannot do while using Universe SQL through a data stage job?

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

Post by ray.wurlod »

This prompt indicates that your SQL command is incomplete, and it's awaiting more. Append the missing trailing semi-colon to your statement and the prompt will not appear.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
rameshrr3
Premium Member
Premium Member
Posts: 609
Joined: Mon May 10, 2004 3:32 am
Location: BRENTWOOD, TN

Post by rameshrr3 »

Oh Thanks
The command executed succesfully. Never thought on the lines of the semi-colon though. :) .

Code: Select all

HistoryUpdaterExtract..AfterJob (ExecTCL): Executed command: UPDATE SOIRecordCountHash SET SOIRecordCount = 0 WHERE DUMMY=1;
*** Output from UniVerse command was: ***
DataStage/SQL: 1 record updated.
Post Reply