Hi Lionel!
The example found here
<https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.3.0/com.ibm.zos.v2r3.bpxb600/prevar.htm>
shows the path enclosed in parens:
<https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.3.0/com.ibm.zos.v2r3.bpxb600/prevar.htm>


subroutine: procedure
junk = syscalls('ON')
parse arg dir

'readdir (dir) dir. stem.'

It is quite possible this example is out of date, but if not...

On Mon, Dec 9, 2019 at 6:37 AM Lionel B Dyck <lbd...@gmail.com> wrote:

> I'm trying to use the readdir command in rexx and it is partially working
> and partially not.
>
>
>
> This is what I've tried - both with the d. s. in quotes and not in quotes.
> The d. returns data and the s. does not.  The doc implies that s. should
> return statistics info on the respective directory entry from d.
>
>
>
> Please advise - I'm sure it is something trivial I'm missing.  I've looked
> around and seen examples like that that work so it could be my old eyes not
> seeing something.
>
>
>
> /* rexx */
>
>  dir = '/u/me/git/zigi'
>
>  address syscall 'readdir' dir 'd. s.'
>
>  say d.0 s.0
>
>
>
> Thanks in advance
>
>
>
> Lionel B. Dyck <sdg><
> Website:  <http://www.lbdsoftware.com/> http://www.lbdsoftware.com
>
> "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