working sqsg-n
actual work version 0627 (part)
implement all six subprocesses for Xqld generation