Re: Read and Write unknown record length? MVS
From: William M. Klein (wmklein_at_nospam.netcom.com)
Date: 02/10/05
- Next message: James J. Gavan: "Re: Read and Write unknown record length? MVS"
- Previous message: Kellie Fitton: "Re: Can cobol be framed-up legally?..."
- In reply to: William Bub: "Re: Read and Write unknown record length? MVS"
- Next in thread: James J. Gavan: "Re: Read and Write unknown record length? MVS"
- Reply: James J. Gavan: "Re: Read and Write unknown record length? MVS"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 10 Feb 2005 05:34:43 GMT
As long as your target is Micro Focus and *NOT* IBM, then you can work with
"undefined" record lengths (if you really want to do this yourself in COBOL).
Check out information on the FCDREG compiler option and accessing the FCD
(dynamically) from within your Micro Focus program.
I found information on it in
"File Handling > 7. Callable File Handler and Callable Sort APIs" in the Net
Express 4.0 documentation (available online)
Again, if you code using this, it work with Micro Focus but NOT on the IBM
mainframe. (On the mainframe, you CAN accesss the DCB of a QSAM file by doing a
CALL using FD-name but this won't really provide what I think you want)
Alternatively. contact Micro Focus - MFEEE already includes IDCAMS and IEBDG
support, so they MIGHT be interested in providing PTPCH support as well.
-- Bill Klein wmklein <at> ix.netcom.com "William Bub" <fathafluff@hotmail.com> wrote in message news:sSzOd.29348$8H2.4855@twister.nyroc.rr.com... > <snip> >> Or, if you don't want to touch the COBOL programs, you could write a >> series of simple new COBOL programs that duplicate the IEBPTPCH >> functions (record selection, reformatting, etc.) > > This is what I'm trying to do, but IEBPTPCH will use any record length. The > MicroFocus we are using is supposed to emulate the mainframe, and seems to > do it quite well. It has emulaters for DFSORT, IEBGENER, ICKEFT01, etc. (but > not IEBPTPCH). It uses a file catalog with all of the file attributes known > to the mainframe. And it runs JCL and expands PROCs like MVS does. My hope > was to write a program called IEBPTPCH so that we could run (for testing) > with the same JCL and PROCs already in use on the mainframe. > >
- Next message: James J. Gavan: "Re: Read and Write unknown record length? MVS"
- Previous message: Kellie Fitton: "Re: Can cobol be framed-up legally?..."
- In reply to: William Bub: "Re: Read and Write unknown record length? MVS"
- Next in thread: James J. Gavan: "Re: Read and Write unknown record length? MVS"
- Reply: James J. Gavan: "Re: Read and Write unknown record length? MVS"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|