Stopping Log entries

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
JPalatianos
Premium Member
Premium Member
Posts: 306
Joined: Wed Jun 21, 2006 11:41 am

Stopping Log entries

Post by JPalatianos »

Hi,
A developer has just run a job in dev with the "no Limit" for the warnings. We managed to terminate the job(by recompiling) and clear the log, but it keeps writing to it. Is there any way to stop this.......3 hours later??
Thanks for any info....
John
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Find the process and kill it.
-craig

"You can never have too many knives" -- Logan Nine Fingers
JPalatianos
Premium Member
Premium Member
Posts: 306
Joined: Wed Jun 21, 2006 11:41 am

Post by JPalatianos »

When I do a list.readu all.....the job does not show up. The status of the job is showing up as compiled in Director but there are hundred of log entries being written every few seconds.
JPalatianos
Premium Member
Premium Member
Posts: 306
Joined: Wed Jun 21, 2006 11:41 am

Post by JPalatianos »

When I do a list.readu all.....the job does not show up. The status of the job is showing up as compiled in Director but there are hundred of log entries being written every few seconds.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Under UNIX I'd be looking for the job process / PID and killing that, for Windows I've no clue how that would be done but it's all from outside of DataStage at the O/S level.
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

You can't stop it without terminating the process (usually a database process) that is generating the errors. And note too that these are buffered, so a few thousand will still arrive after that.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
chitravallivenkat
Participant
Posts: 106
Joined: Thu Jun 08, 2006 8:51 am

Post by chitravallivenkat »

sometime recompilation will be helpful, if status shows stopped but still writing log entries.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Don't see how. :?
-craig

"You can never have too many knives" -- Logan Nine Fingers
JPalatianos
Premium Member
Premium Member
Posts: 306
Joined: Wed Jun 21, 2006 11:41 am

Post by JPalatianos »

OK..I figured I would be patient. I just went back in Director to take a peek and recieve teh following pop-up......
Any ideas what to do with this??
Error selecting from log file RT_LOG207
Command was: SSELECT RT_LOG207 WITH @ID LIKE '1N0N' COUNT.SUP
Error was: Internal data error. File 'D:\DataStage\CostFoundation/RT_LOG207/DATA.30': Computed blink of 0x800 does not match expected blink of 0x0! Detected within group starting at address 0x1800!

Thanks - - John
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Sure, a 'blink' is a 'backwards link' and you can search the forums for that term to find some previous conversations on this topic.

Basically, the log has become corrupt, undoubtedly due to the high volume of writes causing it to run smack into the 32bit addressing barrier of 2.2GB. At this point you'll need to find the job number in question and issue a CLEAR.FILE RT_LOGnnn where 'nnn' is the job number. Do this from the Administrator or a TCL prompt connected to the project in question. After that, you'll need to reestablish any Auto Purge settings for that log as they will be removed as well.

Have the log writes stopped yet?

ps. Patience isn't always a virtue. :wink:
-craig

"You can never have too many knives" -- Logan Nine Fingers
JPalatianos
Premium Member
Premium Member
Posts: 306
Joined: Wed Jun 21, 2006 11:41 am

Post by JPalatianos »

Thanks Craig!!
The log write did eventually stop, I issued the CLEAR.FILE RT_LOG207 command and set up the auto purge. Looks like we are all set!!
Thanks Again :D
Post Reply