HOME_DIR in Assembly
Posted: Sun Jul 31, 2022 8:58 am
(No question here, just a rant
)
Just spent 2 of the precious Sunday morning hours on debugging a program that tries to find its HOME_DIR. Was chasing my own tail when I stepped through numerous times with the debugger to find out why it will always receive "NOT FOUND" when retrieving its home directory.
The home directory isn't set when you start a job from QMON, because, well of course it isn't
EX and QPTR Files will set it, but QMON of course won't. So, simply don't do that

Just spent 2 of the precious Sunday morning hours on debugging a program that tries to find its HOME_DIR. Was chasing my own tail when I stepped through numerous times with the debugger to find out why it will always receive "NOT FOUND" when retrieving its home directory.
The home directory isn't set when you start a job from QMON, because, well of course it isn't

EX and QPTR Files will set it, but QMON of course won't. So, simply don't do that
