On Sat, 25 Jan 2025 15:34:23 GMT, essteam wrote: >call to bpxwunix to honor the directory I want to point to ? . -/* REXX */Say >'REX2 Entered' >call bpxwunix 'cd /test/app/cics/java/work_dir/',,out. >call bpxwunix 'ls -la',,out. > As LBD hinted, each call to pxwunix opens a fresh execution environment with a default or inherited directory
You might change the working directory of your TSO session with: say SYSCALLS(' ON' ) address SYSCALL 'chdir /test/app/cics/java/work_dir/' ... but be careful. I have done it for ISPF 3.17. BTW, 'out.' is a REXX string passed to BPXWUNIX, and most safely quoted. -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN