On Thu, 14 Dec 2023 15:43:40 +0000 Billy Ashton <bill00ash...@gmail.com>
wrote:

:>Hey everyone! I have a little down time here at the end of the year with 
:>our freeze, and I wanted to play with some ideas I have had.

:>I would like to write a program that can open any kind of file - PDS, 
:>Sequential, Panvalet, loadlib, and maybe even VSAM components. I want to 
:>open the file in "raw" format, as if I were going straight to the disk 
:>pack and scooping up the bytes from the beginning of the allocation to 
:>the end.

:>Is there any way to do this without caring about the catalog RECFM? 
:>Obviously, the easiest way is through some JCL parameter that says 
:>"force as PS" but I doubt that is likely. I can't go into more detail at 
:>present, sorry!

:>What do you think?

Well, there is already such a program - ADRDSSU.

Just use EXCP - it don't care about the organization. Though I do not know if
OPEN will build a DEB for VSAM (or a VSAM component) with MACRF=E. 

Of course if you can get into supervisor state, you can build your own DEB and
access anything.

What is your business case? Playing around? In such case start with standard
files and PDS's. Use MACRF=E to dump the directory and members.

--
Binyamin Dissen <bdis...@dissensoftware.com>
http://www.dissensoftware.com

Director, Dissen Software, Bar & Grill - Israel

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