Hi Chris,
The provided code will not work due to incorrect syntax of lines:
*SELECT(%PARENT%,PARENTH1,GL_ACCOUNT.%GL_ACCOUNT_SELECT%)
*WHEN GL_ACCOUNT,PARENTH1
*REC(FACTOR=1, GL_ACCOUNT = GL_ACCOUNT_SELECT%)
And useless COMMIT at the end...
Vadim