SIGBUS ERROR IN LOOKUPS
Moderators: chulett, rschirm, roy
SIGBUS ERROR IN LOOKUPS
HI Frnds -
I will explain you job -
1- lkp file -A
this lkp file A is used in several files and there is another graph that updates this lookup file ! Occasionally the writting lkp and read will occuer simultanesly in that case the jobs which are reading the LKP file is getting failed- and the error is SIGBUS (unix-error)
----
My Solutions :-
Create 2 files for LKP new and dat , over write new with dat.
still it fails
Ideas will be appreciated !
I will explain you job -
1- lkp file -A
this lkp file A is used in several files and there is another graph that updates this lookup file ! Occasionally the writting lkp and read will occuer simultanesly in that case the jobs which are reading the LKP file is getting failed- and the error is SIGBUS (unix-error)
----
My Solutions :-
Create 2 files for LKP new and dat , over write new with dat.
still it fails
Ideas will be appreciated !
chandra ,
Hyd
Hyd
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Explain the entire job. What you have supplied is insufficient for cogent diagnosis. SIGBUS is one of the standard UNIX signals; type man signal at a UNIX prompt to learn a little more about this particular signal.
In general, in parallel jobs, simultaneous write and read to the same object is not possible.
In general, in parallel jobs, simultaneous write and read to the same object is not possible.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
As I stated earlier, write and read of the same object in the same job is not supported in parallel jobs, in general. It is a blocking operation, which interferes with pipeline parallelism.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Participant
- Posts: 407
- Joined: Mon Jun 27, 2005 8:54 am
- Location: Walker, Michigan
- Contact:
If datastage opens the lookup file when it is using it and doesn't close it until the job is complete you should be able to delete the file and the job using it should be fine until it closes the file. This would let you create the new file and datastage would happily use the filename which doesn't exist anymore until that program is done running. However, if you delete the file and datastage is opening and closing it you will have a problem.
Thanks for the reply!My question is
1- lkp A is using job1 as lookup
2- Job 2 writting the same file - lkp A.
--
scenario 1:-
Is there any way we can find the wheather JOb 1 is reading lkp-A.so that we can stop writting until it reading is finsihed and we can trigger the job2 to write the same file .
1- lkp A is using job1 as lookup
2- Job 2 writting the same file - lkp A.
--
scenario 1:-
Is there any way we can find the wheather JOb 1 is reading lkp-A.so that we can stop writting until it reading is finsihed and we can trigger the job2 to write the same file .
chandra ,
Hyd
Hyd
-
- Participant
- Posts: 407
- Joined: Mon Jun 27, 2005 8:54 am
- Location: Walker, Michigan
- Contact: