This is from a few years ago; I haven't run it in a while so I'm not
sure if it still works.  Basic process is to mount your new root on a
new mount point, use UNIX ls command on the actual root and the new root
with output to unix files, copy those files to MVS data sets, then use
SUPERC to compare those data sets.

/* 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 ls -Fln "dir1" > /tmp/lsdir1"     
"oshell ls -Fln "dir2" > /tmp/lsdir2"     
"oget '/tmp/lsdir1' 'my.DIR1'"          
"oget '/tmp/lsdir2' 'my.DIR2'"          

//LISTDIR  EXEC PGM=IKJEFT01,                          
//             PARM='HFSDIRC / /SERVICE'
//SYSPROC  DD   DISP=SHR,DSN=SYS1.SBPXEXEC             
//         DD   DISP=SHR,DSN=my.execlib
//SYSTSPRT DD   SYSOUT=*                               
//SYSTSIN  DD   DUMMY                                  
//COMPARE EXEC PGM=ISRSUPC,COND=(4,LE,LISTDIR),        
//            PARM=(LONGL,LINECMP,                     
//            '',                                      
//            '')                                      
//NEWDD  DD DISP=SHR,DSN=my.DIR2                     
//OLDDD  DD DISP=SHR,DSN=my.DIR1                     
//OUTDD  DD SYSOUT=*                                   
//SYSIN  DD *                                          
cmpcolm 1:10 16:32 55:80                               
/*                                                     

Don Imbriale

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
Behalf Of Lizette Koehler
Sent: Wednesday, July 09, 2008 3:51 PM
To: IBM-MAIN@BAMA.UA.EDU
Subject: Listing of current ROOT with Mount Points

I was wondering if any cleaver sysprog out there wrote a process that
would extract the current ROOT and its mount points.  Then compare those
mountpoint to the new ROOT that would go in with the IPL and flag any
differences?

I am still to new at USS to see how to do this with REXX on z/OS.

This would need to work against HFS and zFS files.  Yes - I know that
UNIX is UNIX, however, I want to make sure I am specific enough.

I am currently working on my z/OS V1.7 to V1.9 upgrade.  And it seems we
sometimes have others add mount points and not update our documentation.

I am just looking for an easy way to see what is changing between the
two.

For example.  I am adding SIGYROOT to my new ROOT.  It currently does
not exist in my z/OS V1.7 Root.




***********************************************************************
Bear Stearns is not responsible for any recommendation, solicitation, 
offer or agreement or any information about any transaction, customer 
account or account activity contained in this communication.
***********************************************************************

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to