Index: trunk/ippScripts/scripts/dist_make_fileset.pl
===================================================================
--- trunk/ippScripts/scripts/dist_make_fileset.pl	(revision 26169)
+++ trunk/ippScripts/scripts/dist_make_fileset.pl	(revision 26170)
@@ -40,5 +40,5 @@
 # Parse the command-line arguments
 my ($dist_id, $dist_dir, $target_id, $stage, $stage_id, $dest_id, $product_name, $ds_dbhost, $ds_dbname);
-my ($label, $dist_group, $filter);
+my ($label, $data_group, $filter);
 my ($dbname, $save_temps, $verbose, $no_update, $logfile);
 
@@ -52,5 +52,5 @@
            'product_name=s' => \$product_name,  # location of the data store directory for this product
            'label=s'        => \$label,
-           'dist_group=s'   => \$dist_group,
+           'data_group=s'   => \$data_group,
            'filter=s'       => \$filter,
            'ds_dbhost=s'    => \$ds_dbhost,  # database host for the datastore database
@@ -64,5 +64,5 @@
 
 pod2usage( -msg => "Unknown option: @ARGV", -exitval => 2 ) if @ARGV;
-pod2usage( -msg => "Required options: --dist_id --dist_dir --target_id --stage --stage_id --dist_group --filter --dest_id --ds_dbhost --ds_dbname",
+pod2usage( -msg => "Required options: --dist_id --dist_dir --target_id --stage --stage_id --data_group --filter --dest_id --ds_dbhost --ds_dbname",
            -exitval => 3) unless
     defined $dist_id and
@@ -71,5 +71,5 @@
     defined $stage and
     defined $stage_id and
-    defined $dist_group and
+    defined $data_group and
     defined $filter and
     defined $dest_id and
@@ -164,5 +164,5 @@
 
     $command .= " --ps0 $target_id --ps1 $stage --ps2 $stage_id --ps3 $prod_col_3";
-    $command .= " --ps4 $dist_group --ps5 $filter";
+    $command .= " --ps4 $data_group --ps5 $filter";
 
     $command .= " --dbname $ds_dbname --dbhost $ds_dbhost";
Index: trunk/ippTasks/rcserver.pro
===================================================================
--- trunk/ippTasks/rcserver.pro	(revision 26169)
+++ trunk/ippTasks/rcserver.pro	(revision 26170)
@@ -130,8 +130,7 @@
     book getword rcPendingFS $pageName stage -var STAGE
     book getword rcPendingFS $pageName stage_id -var STAGE_ID
-    book getword rcPendingFS $pageName dist_group -var DIST_GROUP
+    book getword rcPendingFS $pageName data_group -var DATA_GROUP
     book getword rcPendingFS $pageName filter -var FILTER
     book getword rcPendingFS $pageName dist_dir -var DIST_DIR
-#    book getword rcPendingFS $pageName clean -var CLEAN
     book getword rcPendingFS $pageName dest_id -var DEST_ID
     book getword rcPendingFS $pageName product_name -var PRODUCT_NAME
@@ -148,5 +147,5 @@
     book setword rcPendingFS $pageName pantaskState RUN
 
-    $run = dist_make_fileset.pl --dist_id $DIST_ID --target_id $TARGET_ID --stage $STAGE --stage_id $STAGE_ID --dist_group $DIST_GROUP --filter $FILTER --dest_id $DEST_ID --product_name $PRODUCT_NAME  --ds_dbhost $DS_DBHOST --ds_dbname $DS_DBNAME --dist_dir $DIST_DIR
+    $run = dist_make_fileset.pl --dist_id $DIST_ID --target_id $TARGET_ID --stage $STAGE --stage_id $STAGE_ID --data_group $DATA_GROUP --filter $FILTER --dest_id $DEST_ID --product_name $PRODUCT_NAME  --ds_dbhost $DS_DBHOST --ds_dbname $DS_DBNAME --dist_dir $DIST_DIR
 
     add_standard_args run
Index: trunk/ippTools/share/disttool_pendingfileset.sql
===================================================================
--- trunk/ippTools/share/disttool_pendingfileset.sql	(revision 26169)
+++ trunk/ippTools/share/disttool_pendingfileset.sql	(revision 26170)
@@ -5,5 +5,7 @@
     distRun.outdir as dist_dir,
     stage_id,
-    distTarget.dist_group,
+    -- we need to get data_group here but we don't have
+    -- the right tables joined. Perhaps we need to add that column to distRun
+    distRun.label as data_group,
     distTarget.filter,
     rcDestination.name AS product_name,
