Internal File Corruption

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
jseclen
Participant
Posts: 133
Joined: Wed Mar 05, 2003 4:19 pm
Location: Lima - Peru. Sudamerica
Contact:

Re: Internal File Corruption

Post by jseclen »

Hi,

This happen when you run a job???
Saludos,

Miguel Seclén
Lima - Peru
bjcripe
Participant
Posts: 9
Joined: Fri Apr 30, 2004 11:35 am

Re: Internal File Corruption

Post by bjcripe »

I have been running multiple jobs over the weekend. Today I have been getting this error message and I don't know what caused it.
kduke
Charter Member
Charter Member
Posts: 5227
Joined: Thu May 29, 2003 9:47 am
Location: Dallas, TX
Contact:

Post by kduke »

I would clear this file.

CLEAR.FILE RT_LOG444
Mamu Kim
ogmios
Participant
Posts: 659
Joined: Tue Mar 11, 2003 3:40 pm

Post by ogmios »

kduke wrote:I would clear this file.

CLEAR.FILE RT_LOG444
Which would also make you lose the log settings, probably better to export the job and reimport it. :wink:

Ogmios
kduke
Charter Member
Charter Member
Posts: 5227
Joined: Thu May 29, 2003 9:47 am
Location: Dallas, TX
Contact:

Post by kduke »

This log file is corrupt and it is huge. Clear it.
Mamu Kim
bjcripe
Participant
Posts: 9
Joined: Fri Apr 30, 2004 11:35 am

Post by bjcripe »

Do I run this command in DS Administrator?
bjcripe
Participant
Posts: 9
Joined: Fri Apr 30, 2004 11:35 am

Post by bjcripe »

I ran CLEAR.FILE RT_LOG444 in the DS Admin and got a warning back --
WARNING: Internal File corruption detected during file open!
File must be repaired, possible truncation.
hsize: 2048
bsize: 2048
fsize: 1073741312
CANNOT OPEN FILE RT_LOG444
*** Processing cannot continue. ***
bjcripe
Participant
Posts: 9
Joined: Fri Apr 30, 2004 11:35 am

Post by bjcripe »

Here is the solution that was provided by Ascential:

1. Check if the file system where RT_LOGxxx resides to make sure it is not a space issue.



2. If there is plenty of space, then it looks like the log file of the job became corrupted.
We will need to delete it if it exists and recreate it.



Please follow these steps:
1) From Unix command line cd into the Project directory delete the directory RT_LOG96
2) In DS Administrator window highlight project then choose command button



From command line type the following:



ED VOC RT_LOG96



3 Lines Long
-----:



type 2 <cr>



0002: RT_LOG96



type R <space> <cr>



0002:



type FI <cr>



"RT_LOG29" filed in file "VOC"



close window.



3) From command line type:



CREATE.FILE DATA RT_LOG96 30 <CR>



Creating file "RT_LOG96" as type 30



close window.



The above steps will recreate the RT_LOG96 file.


If procedure does not work, you can try to delete the job and recreate it as follows:



1. export Job
2. delete job
3. import job
Post Reply