Index: /trunk/ippTools/src/dettool.c
===================================================================
--- /trunk/ippTools/src/dettool.c	(revision 7370)
+++ /trunk/ippTools/src/dettool.c	(revision 7371)
@@ -1608,4 +1608,32 @@
 {
     PS_ASSERT_PTR_NON_NULL(config, false);
+ 
+    // no options are required... use the default where statement
+    psArray *residExps = detResidExpAnalysisSelectRowObjects(config->dbh,
+            config->where, 0);
+    if (!residExps) {
+        psError(PS_ERR_UNKNOWN, false, "no detResidExpAnalysis rows found");
+        return false;
+    }
+
+    if (psArrayLength(residExps)) {
+        // print imfile list
+        psMetadata *output = psMetadataAlloc();
+        for (long i = 0; i < psArrayLength(residExps); i++) {
+            psMetadata *md = detResidExpAnalysisMetadataFromObject(
+                    residExps->data[i]);
+            psMetadataAddMetadata(
+                output, PS_LIST_TAIL, "detResidExpAnalysis",
+                PS_META_DUPLICATE_OK, NULL, md
+            );
+        }
+
+        psString str = psMetadataConfigFormat(output); 
+        psFree(output);
+        fprintf(stdout, "%s\n", str);
+        psFree(str);
+    }
+
+    psFree(residExps);
     return true;
 }
