Well, we have the Tachyon assembler here, which uses HLASM syntax, and has the capability to run under Linux/390. We should be able to pretty much replace the macros and get away with just rewriting a small portion of the code.
Remember that though file access is important, there is a heck of a lot of logic embedded in that code that runs faster on a S/390 than any assembler generated code. <grin> That is *why* it is in assembler in the first place. ;) -Paul ----- Original Message ----- From: "McKown, John" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, September 17, 2002 7:52 AM Subject: Re: VSAM or Lightweight Database? > > -----Original Message----- > > From: Paul Raulerson [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, September 17, 2002 6:27 AM > > To: [EMAIL PROTECTED] > > Subject: VSAM or Lightweight Database? > > > > > > I'd like to explore moving some OS/390 VSAM files to Linux on > > the 390. Can anyone point me to some > > appropriate resources? I would like to stay with VSAM (ISAM, > > C-ISAM, etc.) files, since some of the code that uses those files is > > written in assembler. Record locking would be necessary however. > > > > A web Search did not turn up much of any useful information. > > > > Thanks > > -Paul > > I'm definately not a guru, just a learner at present (don't have Linux/390 > at work, installed at home under Hercules). But that won't stop me from > shooting off my mouth <grin>. > > You do realize that your assembler code will need to be totally rewritten > anyway, don't you? All the ACB, GET, PUT, and RPL macros will need to be > redone to use whatever macros your VSAM-replacement uses. Also, your > assembler code is likely in HLASM format. Unless you have an HLASM > compatable assembler, such as from Dignus (http://www.dignus.com), then > you'll need to rewrite into the GNU assembler (GAS). GAS doesn't support > macros anyway, from what I understand. You'd do yourself a large favor to > simply rewrite the code into C/C++ and use MySQL or PostgreSQL (my fav) for > your storage. Of course, I'm an RDBMS bigot. But if you insist on using an > ISAM system, then I'd suggest using Berkeley DB from Sleepycat. > http://www.sleepycat.com This product is highly regarded and used by a lot > of Linux software. > > -- > John McKown > Senior Technical Specialist > UICI Insurance Center > Applications & Solutions Team > +1.817.255.3225 >
