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 stdout) or cp (copy to stdout) using the 
"//‘your.filename.goes.here’” format. And then Pipe it to “cksum”. In this case 
I do not think you will see a major performance hit (as you are tossing out the 
copy anyway). Try both and pick the best performing one.


_______________

Al Ferguson       | mailto:[email protected]
Milwaukee, WI USA |   http://www.neptunescove.org

Dulcius ex Asperis

> On 12 January 2020, at 14:34, Lionel B Dyck <[email protected]> wrote:
> 
> 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 <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
> 


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to