Server setting problem
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 19
- Joined: Tue Apr 26, 2005 11:41 pm
Server setting problem
Hi,
I have installed a new datastage server 7.1 version, while running some jobs it is showing an error mesage related to sorting...
when we contacted admin they told it is about some settings problem related to sorting.
could you guyz plz tell me where to find these settings and getting things corrected.
Sakthi......
I have installed a new datastage server 7.1 version, while running some jobs it is showing an error mesage related to sorting...
when we contacted admin they told it is about some settings problem related to sorting.
could you guyz plz tell me where to find these settings and getting things corrected.
Sakthi......
-
- Participant
- Posts: 19
- Joined: Tue Apr 26, 2005 11:41 pm
-
- Participant
- Posts: 19
- Joined: Tue Apr 26, 2005 11:41 pm
Yes the temp diectory is specified
and we ddi not make any changes to the default settings...
i am sorry frenzzz.....
i forgot mention one thing... that is UNIX sort not the datastage sorting stage...
we are calling UNIXsortfrom data stage job sequencer.. and it is failing and thats y we are thinking that this is some settings problem
and we ddi not make any changes to the default settings...
i am sorry frenzzz.....
i forgot mention one thing... that is UNIX sort not the datastage sorting stage...
we are calling UNIXsortfrom data stage job sequencer.. and it is failing and thats y we are thinking that this is some settings problem
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Post the precise sort command that you have used in the Execute Command activity as well as the (already requested) error message, and a more precise diagnosis is likely to be 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: 19
- Joined: Tue Apr 26, 2005 11:41 pm
frenz,
the sort command when it is given in the UNIX consloe it is working fine..but only when it is called from datastage riutine it is giving problems and it iscreating the following error message...
Seq_ActsPty_Src_Nb..JobControl (rtSortFileOnKeyFields ???????????): Fatal error when executing the command: sort -S 1000000 -o
/aiuajapan/test/P1B/SP02/POLICY/ACTSPTY/ActsPtyItemSectionNb_SP02_RID -T /aiujapan/test/P1B/ETL/SORT/POLICY/ACTSPTY/ -t \| -k2,2 -k225,225
/aiujapan/test/P1B/ETL/WORK/SRC/POLICY/ACTSPTY//ActsPtyItemSectionNb_MrgWrk_RID 2>>/dev/null
please reply me
the sort command when it is given in the UNIX consloe it is working fine..but only when it is called from datastage riutine it is giving problems and it iscreating the following error message...
Seq_ActsPty_Src_Nb..JobControl (rtSortFileOnKeyFields ???????????): Fatal error when executing the command: sort -S 1000000 -o
/aiuajapan/test/P1B/SP02/POLICY/ACTSPTY/ActsPtyItemSectionNb_SP02_RID -T /aiujapan/test/P1B/ETL/SORT/POLICY/ACTSPTY/ -t \| -k2,2 -k225,225
/aiujapan/test/P1B/ETL/WORK/SRC/POLICY/ACTSPTY//ActsPtyItemSectionNb_MrgWrk_RID 2>>/dev/null
please reply me
DataStage is simply executing the Unix sort command on a file. Try writing a shell script to do the sort. If you can get that shell script to work, then just put that shell script into the Sequence Command stage.
Your problem is with the unix sort command and the file it is sorting. Fix that.
Your problem is with the unix sort command and the file it is sorting. Fix that.
Kenneth Bland
Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Since you claim that the sort command works from the UNIX console, Ken Bland's advice to put the sort command in a script and invoke the script is good advice.
Sometimes the transition from DataStage to the UNIX shell alters commands slightly, particularly where quote characters are used.
Look in the job log to see the actual command that was sent to UNIX from DataStage, and whether that is the same as the command you asked to be executed.
Sometimes the transition from DataStage to the UNIX shell alters commands slightly, particularly where quote characters are used.
Look in the job log to see the actual command that was sent to UNIX from DataStage, and whether that is the same as the command you asked to be executed.
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: 19
- Joined: Tue Apr 26, 2005 11:41 pm
Sort routine
Hi Sakthi-san,
This problem continues for DTA also yar. It works fine for first 3 records alone, if we run with more than three records it gets abort.
This problem continues for DTA also yar. It works fine for first 3 records alone, if we run with more than three records it gets abort.
-
- Participant
- Posts: 19
- Joined: Tue Apr 26, 2005 11:41 pm
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Participant
- Posts: 19
- Joined: Tue Apr 26, 2005 11:41 pm