Dave and Gil,

Your suggestion worked fine for a single member:
T$SFC:/u/t4sfc: >cp -B "//'sys3.clist(rdmstat)'" /dev/fd1 | cksum
260387907       21600 
 
It also works fine for a sequential file:
T$SFC:/u/t4sfc: >cp -B "//'SYS3.FTP.NETRC'" /dev/fd1 | cksum
2567740904      240 

It fails for an entire PDS:
T$SFC:/u/t4sfc: >cp -B "//'SYS1.MACLIB'" /dev/fd1 | cksum 
cp: FSUMF137 partitioned data set source and a file target is not allowed

It also fails trying to use a classic MVS file (of any DSORG) as input 
directly to the cksum command:
T$SFC:/u/t4sfc: >cksum "//'SYS1.MACLIB'"  
cksum: FSUM6003 input file "//'SYS1.MACLIB'": EDC5129I No such file or 
directory. 
T$SFC:/u/t4sfc: >cksum "//'SYS3.FTP.NETRC'"  
cksum: FSUM6003 input file "//'SYS3.FTP.NETRC'": EDC5129I No such file or 
directory.

Thanks for the pointing in the right direction.  I had not noticed the 
existence of the cksum command.

Now to figure out how to do something useful with it.  :-)


Cheers,,,Steve

Steven F. Conway, CISSP
LA Systems
z/OS Systems Support
Phone: 703.295.1926
steve_con...@ao.uscourts.gov

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

Reply via email to