How to read mainframe file on Windows



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

How to read mainframe file on Windows

Postby DimaA6_ABC » Fri Dec 12, 2014 1:59 am

Hi guys, I'm a programmer with decades of experience but only on PCs (Windows, Unix/Linux). I'm given a set of files from mainframe. There is a file I can read without any problem. It has teh following accompanying infromation:

DCB:
RECFM = VBM
LRECL = 12284
DSORG = PS

The file is AFP. I can view it OK. However, it refers to external resources, which are:

RECFM = VBM
LRECL = 12284
DSORG = PO
DSNTYPE = LIBRARY

I have no idea how to read those files on Windows or Unix. I understand they are some kind of library, like tar on Unix. But how do I access individual members of those libraries and list their directory? I'm sure there are no executables there, just AFP resource files.
DimaA6_ABC
 
Posts: 1
Joined: Fri Dec 12, 2014 1:54 am
Has thanked: 0 time
Been thanked: 0 time

Re: How to read mainframe file on Windows

Postby NicC » Fri Dec 12, 2014 4:02 am

If you are going to read them on Windoze then you have to download the individual members within the library not the library itself..
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 3025
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisies (almost)
Has thanked: 4 times
Been thanked: 136 times

Re: How to read mainframe file on Windows

Postby steve-myers » Fri Dec 12, 2014 9:39 am

Nic - I think the PDS is AFP resources, not a "printable" data set.

I can't say I ever understood how AFP is supposed to connect resources to the print. I do know each logical record is usually a page image, but that's about it.
steve-myers
Global moderator
 
Posts: 2105
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 243 times

Re: How to read mainframe file on Windows

Postby vern » Fri Dec 12, 2014 1:08 pm

Just to confirm Steve's point: AFP (Advanced Function Printing) is a format understood ONLY by specific printing software on the mainframe. If you browse an AFP dataset it is gobbledegook. You have no chance of "reading" these files on any other platform.
vern
 
Posts: 14
Joined: Fri Oct 24, 2014 12:40 pm
Has thanked: 0 time
Been thanked: 0 time

Re: How to read mainframe file on Windows

Postby steve-myers » Mon Dec 15, 2014 9:47 am

vern wrote:... AFP (Advanced Function Printing) is a format understood ONLY by specific printing software on the mainframe. If you browse an AFP dataset it is gobbledegook. You have no chance of "reading" these files on any other platform.
Well, almost. Text data is EBCDIC and can be seen if you browse it in ISPF. In Windoze, as Vern says, it will be junk.

If you really want to view the data on your workstation, Google AFP viewer. You will get a wide variety of links. I don't know which are good as I lack any AFP data to try them on. At least one link talks about the ability to convert AFP to PDF.
steve-myers
Global moderator
 
Posts: 2105
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 243 times


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post