Pin1 not initialized -error

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
yannish
Charter Member
Charter Member
Posts: 23
Joined: Mon Dec 29, 2003 7:38 am
Location: Finland, Northern Europe

Pin1 not initialized -error

Post by yannish »

I have a job where I load five hashed files from five Oracle tables. There are ten to twenty of these jobs. Lately I have stated to experience problems with these jobs failing with following error messages. I tried to reindex DS_STAGETYPES as I though it might have something to do with that but that didn't help. Problematic with this is that it happens almost every day but with different jobs - although they are similar and the error messages are always the same. When I compile the job and run it again everything usually works fine.

Any ideas what might be causing this kind of behaviour?

Code: Select all

Message: D_Product_prepare..ProductGroupHash.IDENT3: |-100|

Message: D_Product_prepare..ProductGroupHash.IDENT3.pg: DSP.Close Error -100 in $DSP.Abort.

Message: D_Product_prepare..ProductGroupHash.IDENT3: Pin 1 not initialized

Code: Select all

Program "DSR_GETPROP": Line 63, Error initializing AK file "H?".
Job Aborted after Fatal Error logged.
Attempting to Cleanup after ABORT raised in stage D_Product_prepare..MaxKey.IDENT1
DataStage Phantom Aborting with @ABORT.CODE = 1

Code: Select all

Program "DSR_GETPROP": Line 63, Error initializing AK file "D:/CAB_DW_PROD_10/I_DS_STAGETYPES/INDEX.001".
Job Aborted after Fatal Error logged.
Attempting to Cleanup after ABORT raised in stage D_Product_prepare..ProductGroupHash.IDENT3
DataStage Phantom Aborting with @ABORT.CODE = 1
Cheers,

Janne
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post by kumar_s »

'Pin 1 not initialized' Here the Pin 1 is pointing to one end of the link 1 to the stage IDENT3.
Try to clear the hashed file and rerun. Also make sure you are running the job with the same user id.
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

The good news is that the error doesn't have anything to do with your job, it is a DataStage engine issue. The initial messages point to a corrupt index on the DS_STAGETYPES hashed file. I just checked to make sure and the 3 indices on this table should be fixed with a DS.REINDEX.

If you try the command "DS.REINDEX DS_STAGETYPES" from the TCL or Admin command window you will get a screenful or two of information, are there any error messages or warning when you do this? It should show you the index list at the end and all 3 indices should have a build status of "Not Reqd"
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post by kumar_s »

Q and A are from the same site is it 8) :wink:
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

No, but I did respond earlier today to someone at the same site and was able to check the job directly 8)
yannish
Charter Member
Charter Member
Posts: 23
Joined: Mon Dec 29, 2003 7:38 am
Location: Finland, Northern Europe

Post by yannish »

Hi ArndW and thanks for the response.

I was also thinking the problem must be with DS_STAGETYPES as this is always referred to in error messages. I ran DS.REINDEX and it went smoothly - no warnings and all three indices with build status Not Reqd. And worst of all - the problem didn't go anywhere (well it emerged in a different job this time :roll: )

It certainly seems like Engine issue. Could this kind of behaviour be caused by some disk problems? Or other hardware related issue? This puzzles me...

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

Post by ray.wurlod »

Try recompiling jobs. Invalid information may have been posted to RT_CONFIGnnn files while DS_STAGETYPES had corrupted indexes.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
yannish
Charter Member
Charter Member
Posts: 23
Joined: Mon Dec 29, 2003 7:38 am
Location: Finland, Northern Europe

Post by yannish »

Now we get similar error stating problems with DS_JOBOBJECTS. I'm starting to think that our project is about to crash... Maybe I'll try to create a new project and move jobs there.

Thanks for replies,

Janne
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post by kumar_s »

Before going anywhere...
First BACKUP all your exising project.
Do a full export of your project and also do a unix level back up.
From TCL check the pointer strength with COUNT DS_JOBOBJECTS and make sure you are in safer side.
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Read my previous post. You have at least one corrupted index on DS_STAGETYPES. The file D:/CAB_DW_PROD_10/I_DS_STAGETYPES/INDEX.001 (mentioned in the error message) is the first index defined for DS_STAGETYPES.

Rebuild at least the DS_STAGETYPES indexing.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
yannish
Charter Member
Charter Member
Posts: 23
Joined: Mon Dec 29, 2003 7:38 am
Location: Finland, Northern Europe

- Solved

Post by yannish »

Hi everybody,

just to post the cause of the problem: Anti virus software

Yes, I know it should be obvious to check this out first but we had done the same exercise couple of months ago with same kind of mysterious problems. The end result back then was not to include project folder in the virus scan. And jihaa! after that everything worked... Until this problem emerged. Now we just double checked that the project folders were still excluded from the scan and to everybody's surprise someone had turned the scan back on in those folders.

Lesson: Don't trust in that anything stays the same over time - always check that what you think is happening actually is happening!

Cheers,

Janne
Post Reply