Hi Ana,
about the dimension if the called script logic has *XDIM to define the scope, the DIMENSION members has no effect, correct? - correct!
// Is it necessary?
*COMMIT - NO, absolutely useless!!
And remove this line: APPSET=XXXXX - will use current appset!
Vadim