Thanks, I will try it ---------- Original Message ---------- From: Lionel B Dyck <[email protected]> To: [email protected] Subject: Re: Rexx invoking bpxwunix Date: Sat, 25 Jan 2025 09:39:06 -0600
try this call bpxwunix 'cd /test/app/cics/java/work_dir/ && ls-la',,out. On Sat, Jan 25, 2025 at 9:36 AM [email protected] <[email protected]> wrote: > > .Hello -.Anyone with experience with Rexx calling bpxwunix ?I am not a Rexx > person -.The Rexx code below works fine, I even have another version of the > codethat writes the directory list to a sequential file -.The issue is the > ls -la commend always list my USS Home directory -It does not list the > directory specified in the cd command -.As far as I know; ADDRESS OMVS does > not exist -So how can I get the 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. > Do outx = 1 to OUT.0 > Say 'OUT.'outx '=' OUT.outx > End outx > Say 'REX2 Exit' > EXIT 0..Any suggestions?.paul > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN -- Lionel B. Dyck <>< Website:https://github.com/lbdyck "Worry more about your character than your reputation. Character is what you are, reputation merely what others think you are." - John Wooden ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
