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 [email protected] with the message: INFO IBM-MAIN

Reply via email to