Re: Read and Write unknown record length? MVS

From: William M. Klein (wmklein_at_nospam.netcom.com)
Date: 02/10/05


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


Relevant Pages

  • Re: Read and Write unknown record length? MVS
    ... > series of simple new COBOL programs that duplicate the IEBPTPCH ... This is what I'm trying to do, but IEBPTPCH will use any record length. ... MicroFocus we are using is supposed to emulate the mainframe, ... And it runs JCL and expands PROCs like MVS does. ...
    (comp.lang.cobol)
  • Re: offload mainframe development
    ... mainframe PL/I, Assembler and COBOL programming. ... rollout of Micro Focus tools across 250 mainframe developers. ... We chose to use Micro Focus as they stood apart from the rest as having the ... hurdles, transfer the development/test environment from the mainframe, train ...
    (comp.lang.cobol)
  • Re: Mainframe Question
    ... COBOL on MVS or whatever they run nowadays. ... compatible with IBM mainframes in arithmetic statements. ... The mainframe compilers will return the result 4; Micro Focus has ...
    (comp.lang.cobol)
  • Re: STICKY LINKAGE
    ... compatibility expert at Micro Focus), the MAIN reason for this (truly UGLY ... but rather the case of where the (IBM mainframe) ENTRY statement ... is used with different parameters on the ENTRY USING statement. ...
    (comp.lang.cobol)
  • Re: Mainframe Question
    ... "Mainframe compatibility Guide" - and I went on disability in 1996). ... For anyone wanting to know HOW IBM (currently supported compilers) determines ... with Micro Focus 3.2.24 gives +00000000986.662720. ... compatible with IBM mainframes in arithmetic statements. ...
    (comp.lang.cobol)