Hello, team
I think, this might actually be a bug in PS conversion tool.
All embedded SQL commands are converted as "_context.function", even though there are sevral transaction objects defined in the source script and specific "using my_trn" is written.
After conversion of a relatively large object, all data contexts are mixed up. It is impossible to know by just looking at the new code what was intended without examining all of the source code manually again.
Thank you
Arcady