Re: Using OMVS cksum with z/OS datasets

2020-01-12 Thread Paul Gilmartin
On Sun, 12 Jan 2020 15:19:14 -0600, Lionel B Dyck wrote: >Thanks for the idea - what I'm trying to avoid is copying (cp) the z/OS >dataset to OMVS unless it has changed by comparing it's hash to the hash of >the OMVS copy. Guess either way a copy will have to be done so I might as >well just

Re: Using OMVS cksum with z/OS datasets

2020-01-12 Thread Lionel B Dyck
Behalf Of Al Ferguson Sent: Sunday, January 12, 2020 3:25 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Using OMVS cksum with z/OS datasets Lionel, Another option would be to use a REXX that calls the CSF API’s to do this. I think this is the coding you would need: RC=COPIES('FF'x,4);

Re: Using OMVS cksum with z/OS datasets -- RCF on "cat"

2020-01-12 Thread Paul Gilmartin
(Cross-posting to IBM-MAIN and MVS-OE) This thread on IBM-MAIN impelled me to this RCF. Do I understand correctly? Hello, MHVRCFs. In: z/OS Version 2 Release 4 UNIX System Services Command Reference IBM SA23-2280-40 I see: cat - Concatenate or display text files Whereas in POSIX:

Re: Using OMVS cksum with z/OS datasets

2020-01-12 Thread Al Ferguson
> Website: 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 > > -Original Message- > From: IBM Mainframe Discussion List On Behalf

Re: Using OMVS cksum with z/OS datasets

2020-01-12 Thread Lionel B Dyck
12, 2020 2:49 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Using OMVS cksum with z/OS datasets Lionel, Access to MVS Files from OMVS via "//‘your.filename.goes.here’” only works for some commands. Pre-Allocated DD’s are not available to the OMVS thread (usually). But you might try a stream …

Re: Using OMVS cksum with z/OS datasets

2020-01-12 Thread Paul Gilmartin
On Sun, 12 Jan 2020 14:49:20 -0600, Al Ferguson wrote: > >Access to MVS Files from OMVS via "//‘your.filename.goes.here’” only works for >some commands. Pre-Allocated DD’s are not available to the OMVS thread >(usually). But you might try a stream … try > > [cat | cp]

Re: Using OMVS cksum with z/OS datasets

2020-01-12 Thread Al Ferguson
Lionel, Access to MVS Files from OMVS via "//‘your.filename.goes.here’” only works for some commands. Pre-Allocated DD’s are not available to the OMVS thread (usually). But you might try a stream … try [cat | cp] "//‘your.filename.goes.here’” | cksum I believe you can cat (copy to

Using OMVS cksum with z/OS datasets

2020-01-12 Thread Lionel B Dyck
Is there a way to use the OMVS cksum command against a z/OS dataset? I tried: cksum "//'hlq.test.file'" And it objects but it works great on OMVS files. tia Lionel B. Dyck < Website: http://www.lbdsoftware.com "Worry more about your character