Re: Can this be done?

2023-12-15 Thread Tony Harminc
On Thu, 14 Dec 2023 at 18:39, Lennie Dymoke-Bradshaw <032fff1be9b4-dmarc-requ...@listserv.ua.edu> wrote: > I would have said use EXCP until recently. In addition you would need to be > APF authorised in order to open VSAM datasets using EXCP. > However, I understand however that there are

Re: Can this be done?

2023-12-15 Thread Matt Hogstrom
As with many things on z/OS the simple can be complicated. I would have thought a simple open of a dataset overriding with RECFM U would have at least allowed you to read a block at a time. Nice idea. Matt Hogstrom m...@hogstrom.org +1-919-656-0564 PGP Key: 0x90ECB270 Facebook

Re: Can this be done?

2023-12-15 Thread Billy Ashton
Ok, it looks like my plan to read any type of file is not going to be as simple as I thought. I guess I will abandon that for now, as it was just going to be a learning exercise to see if we could have a single program open and read data from any disk filetype. I will stop thinking now, and

Re: Can this be done?

2023-12-15 Thread Schmitt, Michael
, 2023 10:37 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Can this be done? On Fri, 15 Dec 2023 16:07:04 +, Schmitt, Michael wrote: >I wonder if this explains why IBM File Manager doesn't allow Disk Browse or >Disk Print on PDSEs -- maybe their code using EXCP and they didn't want to &

Re: Can this be done?

2023-12-15 Thread Mike Shaw
; -Original Message- > From: IBM Mainframe Discussion List On Behalf > Of Lennie Dymoke-Bradshaw > Sent: Thursday, December 14, 2023 5:39 PM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: Can this be done? > > I am assuming you are speaking of DASD based data sets rath

Re: Can this be done?

2023-12-15 Thread Paul Gilmartin
On Fri, 15 Dec 2023 16:07:04 +, Schmitt, Michael wrote: >I wonder if this explains why IBM File Manager doesn't allow Disk Browse or >Disk Print on PDSEs -- maybe their code using EXCP and they didn't want to >change it to use media manager. > I believe the PDSE raw data format is not a

Re: Can this be done?

2023-12-15 Thread Schmitt, Michael
: Thursday, December 14, 2023 5:39 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Can this be done? I am assuming you are speaking of DASD based data sets rather than those on tape or any other medium. I would have said use EXCP until recently. In addition you would need to be APF authorised in order

Re: Can this be done?

2023-12-15 Thread Adam Johanson
> Is FAMS-level I/O publicly documented, or only for NDA+$? NDA+$ I think a first-born child was also involved. === Adam Johanson Broadcom Mainframe Software Division -- For IBM-MAIN

Re: Can this be done?

2023-12-14 Thread Lennie Dymoke-Bradshaw
shton Sent: 14 December 2023 15:44 To: IBM-MAIN@LISTSERV.UA.EDU Subject: Can this be done? 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,

Re: Can this be done?

2023-12-14 Thread Paul Gilmartin
On Thu, 14 Dec 2023 15:43:40 +, Billy Ashton wrote: >.. >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! >

Re: Can this be done?

2023-12-14 Thread Seymour J Metz
: IBM Mainframe Discussion List on behalf of Billy Ashton Sent: Thursday, December 14, 2023 10:43 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Can this be done? 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

Re: Can this be done?

2023-12-14 Thread Binyamin Dissen
On Thu, 14 Dec 2023 15:43:40 + Billy Ashton 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,

Re: Can this be done?

2023-12-14 Thread Farley, Peter
Is FAMS-level I/O publicly documented, or only for NDA+$? Peter From: IBM Mainframe Discussion List On Behalf Of Tom Brennan Sent: Thursday, December 14, 2023 11:35 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Can this be done? Like Mike said, run your own CCW's with EXCP or similar

Re: Can this be done?

2023-12-14 Thread Tom Brennan
Like Mike said, run your own CCW's with EXCP or similar. But you could also get a quick look with a program that already does this, such as: //ADRDSSU EXEC PGM=ADRDSSU //SYSPRINT DD SYSOUT=* //VOL DD UNIT=3390,VOL=SER=VOLSER,DISP=OLD //SYSIN DD * PRINT INDD(VOL)

Re: Can this be done?

2023-12-14 Thread Mike Schwab
EXCP (execute channel program) Cyl 0 trk 0 is volume label, points to VTOC which holds DSCB records. DCSB has DSN, DSORG, RECFM, LRECL, BLKSIZE, tracks, etc. On Thu, Dec 14, 2023 at 9:44 AM Billy Ashton wrote: > Hey everyone! I have a little down time here at the end of the year with > our

Re: Can this be done?

2023-12-14 Thread Sri h Kolusu
Billy, Just out of curiosity what is the main intent of the request ? Get the raw data and then do what? Edit/ Print ? Also, when you get a pds , do you process ALL the members ? or any specific member? How do you distinguish it? Thanks, Kolusu

Re: Can this be done?

2023-12-14 Thread Steve Thompson
If you use SVC 99, you can query the dataset to find out what it is. And then you can do SVC99 to allocate. It will keep you busy for a while understanding the text units and looking at control blocks Steve Thompson On 12/14/2023 10:43 AM, Billy Ashton wrote: Hey everyone! I have a

Can this be done?

2023-12-14 Thread Billy Ashton
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