IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New MF VSAM file access from Linux/Perl
We have a bunch of VSAM files on our mainframe that
house our critical print production data, such
as Inventory, Bill Of Materials, Project Management System,
etc.

In each of the files, there are "sub-tables", ie:
repeating OCCURS or OCCURS DEPENDING fields.

There are many REDEFINES. The REDEFINES might map
4 binary half-word integers over the same space as
a text field or a date field or 3 PIC 9 fields or (...).

Fields within the front of the record tell you how
to treat / read / parse the rear of the record.

If you foolishly read a binary integer, but is REALLY
is random text, and you are a COBOL programmer, your
program ABENDS.

This makes it kind of tedious to track down bad data.

We have about 20 years of this type of data in these
files.

Previously when I needed to work with this data, I
would need a MF programmer to extract it, or I'd dump
it myself and then parse it out, a bit at a time.

Very tedious and error prone. And I could NEVER
update it. I would always need a MF programmer for
that, on a case by case basis.

So we have installed software called tcAccess that lets
me have an ODBC connection to these MF files. I can
read/write them with select and insert/update statements.

All within Perl on Linux.

It works.

I'm amazed.

So I get to code new applications on the Linux boxen
running Perl, while integrating with the MF data without
the concept of staged file transfers.

I'll create some clearly defined interfaces to funnel all
activity through. Which will then allow me to use this
type of data from another system as well.
New Sweet!
Alex

The trouble with the world is that the stupid are cocksure and the intelligent are full of doubt. -- Bertrand Russell
New oh. my.
one of those wonderful things that you really wish you didn't need...
Have fun,
Carl Forde
New Great, now I'm having visions of the dreaded 'S0C7'... :)
Two out of three people wonder where the other one is.
New Dude, that is like - AWESOME!
Pretty soon you'll only use the MF as a data store. Once you get there... you could switch to a different data store with minimal effort.

I still envy you. But then again, I don't... If you know what I mean.
--
[link|mailto:greg@gregfolkert.net|greg],
[link|http://www.iwethey.org/ed_curry|REMEMBER ED CURRY!] @ iwethey

[link|http://it.slashdot.org/comments.pl?sid=134485&cid=11233230|"Microsoft Security" is an even better oxymoron than "Miltary Intelligence"]
No matter how much Microsoft supporters whine about how Linux and other operating systems have just as many bugs as their operating systems do, the bottom line is that the serious, gut-wrenching problems happen on Windows, not on Linux, not on Mac OS. -- [link|http://www.eweek.com/article2/0,1759,1622086,00.asp|source]
     MF VSAM file access from Linux/Perl - (broomberg) - (4)
         Sweet! -NT - (a6l6e6x)
         oh. my. - (cforde)
         Great, now I'm having visions of the dreaded 'S0C7'... :) -NT - (Meerkat)
         Dude, that is like - AWESOME! - (folkert)

Layering different sounds.
68 ms