how to determine which scratchdisk is picked first

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
VUP
Participant
Posts: 1
Joined: Mon Apr 02, 2007 12:24 pm

how to determine which scratchdisk is picked first

Post by VUP »

Hi
How does DataStage determine which scratchdisk to pick when more than one is specified for a node? In the below configuration, I have specified "/ds/dsscratch" first as it is a faster disk space. However, when I execute the job, I find that "/archive/dsscratch" is being used. I was able to determine this based on the fact that temp files were getting created in "/archive/dsscratch" and not in "/ds/dsscratch".


node "node1"
{
fastname "abcbprd01"
pools ""
resource disk "/ds/dstmp" {pools ""}
resource disk "/archive/dstmp" {pools ""}
resource disk "/retro/dstmp" {pools ""}
resource scratchdisk "/ds/dsscratch" {pools "" "sort" "buffer"}
resource scratchdisk "/archive/dsscratch" {pools "" "sort" "buffer"}
resource scratchdisk "/retro/dsscratch" {pools "" "sort" "buffer"}
}

node "node2"
{
fastname "abcbcbprd01"
pools ""
resource disk "/ds/dstmp" {pools "" }
resource disk "/archive/dstmp" {pools ""}
resource disk "/retro/dstmp" {pools ""}
resource scratchdisk "/ds/dsscratch" {pools "" "sort" "buffer"}
resource scratchdisk "/archive/dsscratch" {pools "" "sort" "buffer"}
resource scratchdisk "/retro/dsscratch" {pools "" "sort" "buffer"}
}



Is there anyway to control what scratchdisk needs to be used first?

Thanks
Ravi
richdhan
Premium Member
Premium Member
Posts: 364
Joined: Thu Feb 12, 2004 12:24 am

Post by richdhan »

Hi Ravi,

What took you this long to post your first question?

The first step is always to go through the product documentation. Since you are on 7x check the Manager Guide for Configuration file topic.

Once you are familiar with the product and documentation and if you have any questions do your homework. Use the Search facility. You will be able to resolve most of the issues.

Finally, If you dont have a solution make a post.

HTH
--Rich
Post Reply