I see where your coming from. audit.job is a tokenized (obfuscated) CPAU that calls some other kix script with credentials ?

Anyways, I would use the local var approach, it should work:

SETL "MYVAR=String to pass"

RUN "%COMSPEC% /C ..."

Then in your script B, ...

? "MyVar = " + "%MYVAR%"

-Shawn