Is it possible to use "or" as an inclusive or operator? 
My TSO/E REXX Reference document says I have to use the "|" as an inclusive or 
operator.

Lennie Dymoke-Bradshaw
https://rsclweb.com 
‘Dance like no one is watching. Encrypt like everyone is.’

-----Original Message-----
From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of 
James Crudele
Sent: 29 September 2021 20:48
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: OMVS - comparing directories for differences

/* Rexx HFSDIRC */                         
parse arg dir1 dir2 junk                   
dir1  = strip(dir1)                        
dir2  = strip(dir2)                        
if dir1 = "" or dir2 = "" then do          
   say "Two directories must be specified" 
   exit 4                                  
end                                        
"oshell du "dir1" > /tmp/lsdir1"           
"oshell du "dir2" > /tmp/lsdir2"           
"oget '/tmp/lsdir1' 'userid.DIR1'"         
"oget '/tmp/lsdir2' 'userid.DIR2'" 

> On Sep 28, 2021, at 22:22, Bruce Hewson <bruce_hew...@hotmail.com> wrote:
> 
> Hello all,
> 
> an OMVS question.
> 
> We are looking for a way to compare 2 filesystem structures, starting at root 
> '/'.
> 
> Differences we want to identify:-
> 
> 1.  directory
> 2. file
> 3. symlink
> 
> It is the last we are having trouble working out how to go about it.
> 
> Hoping someone has done this before.
> 
> Regards
> Bruce Hewson
> 
> ----------------------------------------------------------------------
> 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

----------------------------------------------------------------------
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