I'm in the USS shell under TSO, and I have this exec (named tryit):
/* rexx */
"cd /differentdir"
"pwd"
Here's the result:
> pwd
/origdir
> tryit
/origdir
In other words, the effects of the cd command appear to last only for the duration of the command itself. Is there a way for the REXX exec to change the working directory in a way that will be recognized in following commands?