Simple Job run forever

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
dancristian
Participant
Posts: 2
Joined: Wed Feb 03, 2010 12:52 pm

Simple Job run forever

Post by dancristian »

Hi everybody!!

I'm developing a simple server job.
Sequencial File -> Transform -> DataBase

Image

Initially, DataBase stage i use OCI, but, to test, i change to ODBC.

Below sql in ODBC:

Code: Select all

UPDATE PCB_TABLE SET DATE_FINAL = ? WHERE (COD_UNIT = ? AND COD_CTO = ? AND COD_SCTO = ? AND COD_PL = ?);
I set ODBC for only update (Business Rule).

The Sequencial File Input have a one record.

SF content - "1","00000042","00000000","398"

Transform stage create the column DATE_FINAL, carry "@NULL".

Conclusion, this "simple job" run forever.

Last line in log (Director):
"JOB_SEQ..ODBC_7: Using project default NLS map MS1252"

Anybody have a idea?
kondeti
Premium Member
Premium Member
Posts: 67
Joined: Sat Mar 04, 2006 11:38 am

Re: Simple Job run forever

Post by kondeti »

I think table is locked in the database.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Probably the record but yes, sounds like some kind of a locking issue. Have your DBA check.
-craig

"You can never have too many knives" -- Logan Nine Fingers
dancristian
Participant
Posts: 2
Joined: Wed Feb 03, 2010 12:52 pm

Post by dancristian »

Hours after,

i tried execute job, again..
and finished successfully.

The problem???
I dont know,

anyway, thks for replies
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Locks.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply