Re: Read and Write unknown record length? MVS
From: William Bub (fathafluff_at_hotmail.com)
Date: 02/10/05
- Previous message: Walter Murray: "COMPUTE with negative value and unsigned destination"
- In reply to: James J. Gavan: "Re: Read and Write unknown record length? MVS"
- Next in thread: William M. Klein: "Re: Read and Write unknown record length? MVS"
- Reply: William M. Klein: "Re: Read and Write unknown record length? MVS"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 10 Feb 2005 13:15:51 GMT
This is a MicroFocus IBM developement platform. It tries to emulate a
mainframe environment. It has a catalog like a mainframe. It handles files
like a mainframe. I believe if I can come up with a way which would work on
the mainframe, it should work on the MicroFocus platform. As I stated
earlier, it runs IBM JCL and PROCs. So I am looking for an answer for an IBM
mainframe. If that won't run on MicroFocus, they have a problem.
"James J. Gavan" <jgavandeletethis@shaw.ca> wrote in message
news:CGDOd.348904$8l.5280@pd7tw1no...
> William M. Klein wrote:
> > 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.
> >
> William B, (as opposed to Bill K).
>
> If you follow the above and DO it on a PC, Micro Focus, (back in DOS
> days), authored a Byte Stream file program. This allows you to read a
> file in 'chunks', or subject to memory the whole file. Apart from the
> ability to read in, then you are on your own to browse the input data
> and determine what you want to do with it.
>
> If you want to give this a 'suck it and see' - e-mail me, ('editing' my
> address), and I'll send two versions from M/F which are Byteio.cbl and
> cblwritefile.cbl. These examples expand on the text of "Chapter 7 - File
> Handling", mentioned by Bill K. above.
>
> Jimmy, Calgary AB
>
- Previous message: Walter Murray: "COMPUTE with negative value and unsigned destination"
- In reply to: James J. Gavan: "Re: Read and Write unknown record length? MVS"
- Next in thread: William M. Klein: "Re: Read and Write unknown record length? MVS"
- Reply: William M. Klein: "Re: Read and Write unknown record length? MVS"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|