Getting Better - Thank You 

---------- Original Message ----------
From: Lionel B Dyck <0000057b0ee5a853-dmarc-requ...@listserv.ua.edu>
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Rexx invoking bpxwunix
Date: Sat, 25 Jan 2025 14:09:30 -0600

This worked for me

cmd = 'cd /etc && ls -al'
call bpxwunix cmd,,out.

as did this

call bpxwunix 'cd /etc/ && ls -al',,list.

hope this helps

On Sat, Jan 25, 2025 at 1:47&#8239;PM esst...@juno.com <esst...@juno.com> wrote:
>
> Hello LionelI issued call bpxwunix 'cd /test/app/cics/java/work_dir/ && 
> ls-la',,out.
> .
> ANd I received the same results; where the data returned is my Home Directory 
> and NOT the directory
> i requested.
> .
> Thanks
> ---------- Original Message ----------
> From: Lionel B Dyck <0000057b0ee5a853-dmarc-requ...@listserv.ua.edu>
> To: IBM-MAIN@LISTSERV.UA.EDU
> 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&#8239;AM esst...@juno.com <esst...@juno.com> 
> 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 lists...@listserv.ua.edu 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 lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu 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 lists...@listserv.ua.edu with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to