Index: trunk/ippToPsps/jython/ipptopsps.py
===================================================================
--- trunk/ippToPsps/jython/ipptopsps.py	(revision 32018)
+++ trunk/ippToPsps/jython/ipptopsps.py	(revision 32019)
@@ -60,5 +60,4 @@
                     id)
 
-        batch.printMe()
         batch.run()
 
@@ -95,4 +94,8 @@
 ippToPspsDb = IppToPspsDb(logger, configDoc)
 
+# check we connected ok
+if not gpc1Db.everythingOK: sys.exit(1)
+if not ippToPspsDb.everythingOK: sys.exit(1)
+
 # get values from the configutaion file
 POLLPERIOD = 600
@@ -124,8 +127,9 @@
 Main processing loop:
 
- 1) queues available P2 batches
- 2) queues available ST batches
- 3) if in test mode, quits
- 4) otherwise, waits then repeats from 1
+ 1) creates an IN batch if requested
+ 2) queues available P2 batches (if requested)
+ 3) queues available ST batches (if requested)
+ 4) if in test mode, quits
+ 5) otherwise, waits then repeats from 2
 
 '''
@@ -135,5 +139,4 @@
     if QUEUE_IN:
        batch = InitBatch(logger, CONFIG, configDoc, gpc1Db, ippToPspsDb)
-       batch.printMe()
        batch.run()
        break;
