RPG II program for 32-bit or 64-bit

55 pts.
Tags:
AS/400
RPG
I need a RPG II program compiled for 32 or 64-bit

Software/Hardware used:
source for program and screen is in lattice rpgii

Answer Wiki

Thanks. We'll let you know when a new response is added.

The IBM i (AS400) began its life as a 48bit machine and was never a 32 bit machine.  In fact the S/38 was a 48bit machine.  When the RISC processor came out it became a 64bit machine.  If you need to compile a program for an older machine you can only go back one release level.  Therefore if you are on a V7.3 machine you can only compile back to a V7.2 machine.  If you are at a V7.1 machine you can compile back to V6.1.  You will find this parameter on the compile option when you prompt the command.   

If you need to compile something to a V3R2 (CISC) machine move the source to this machine and compile it on this machine (hopefully you have a compiler on this machine).  If you compile on an older operating system and move the object to the new machine it will convert the program from the older machine to the current platform.

Discuss This Question: 10  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • ToddN2000
    RPG II? That is some old code. Can you provide more info on the task you are trying to do. What release of the OS are you on? What model is the system. We need a bit more information.
    72,775 pointsBadges:
    report
  • ronrpg
    This is compiled using lattice rpgii. It was compiled in 16-bit to run on a PC. It runs okay in 32-bit in compatibility mode but would like it in 32 or 64-bit
    55 pointsBadges:
    report
  • ToddN2000
    Not sure it will be possible to run as 64-bit. From what I have read on the Lattice RPGII, it's old...real old. Most articles have not been updated in 14 years or more. My question to you would be if this is running on a PC now, why not take advantage of today's newer and more efficient coding languages like C#,VB or PHP?
    72,775 pointsBadges:
    report
  • ronrpg

    I have no idea how to write in that code.

    I was a RPG programmer and analysis for 35 years.

    I have just one program I would like to run on the newer PC 32 of 64-bit.

    If I get it compiled in 32 I can run it on a 64-bit Windows PC

    I have all the source just need it recompiled or maybe have some one rewrite it for me.

    It is a very complicated program so not sure it anyone can hand the job

    I believe it was written with lattice rpgii 3.1

    I have all the compiler software and can still use it but 16bit is not worth the trouble

    Can you send answers to ronrpg@comcast,net

    its too hard to find it here

    55 pointsBadges:
    report
  • ToddN2000
    @ronrpg: What type of application is it, it may not be as bad as you think to convert? I'm like you,started coding in RPG I & II back in 1980.. Last 4-5 years I've been coding in the VB .NET world. It was not that hard to pick up for being over 50 and coding strictly RPG for 30+ years. Is this the only application you are looking to compile and where are the data files, on the local PC or a SQL server or some other location?
    72,775 pointsBadges:
    report
  • ronrpg

    it is like a roldex file for name and addresses.

    I use it to keep all my movies on so I can look them up by title or actor etc.

    you can enter up tp 10 search words

    you can select I what to match on say at least 60% of the words entered must match

    show all records with at least 6 matches

    it finds the selected words you entered even if they are in the middle of a word

    55 pointsBadges:
    report
  • azohawk
    Can you copy/convert the data to a spreadsheet or (better choice) a database (Excel or Access for example). Even converting to a .CSV file you can drop the data into one of these.

    Then you can just manage the info from the file. Seems easier than trying to update from something that has been updated in a least 14 years (if you can pull the data out).

    2,190 pointsBadges:
    report
  • ronrpg
    I solved the problem. Got old PC running Windows 98. It works fine for me, I just needed it to run the one program. Thanks for all the help.
    55 pointsBadges:
    report
  • MzjdfSpain
    Think and remember, that about 1989, saw a platform, called Baby/36, that run on OS/2 V1.0.

    Obviosly was RPGII, and had a SEU, line by line, .........

    Uauuuuu, I hope that this, not be your situation..............
    25 pointsBadges:
    report
  • ronrpg

    no I was using lattice rpgii for 15 years ran a entire company on it never had a problem.

    still have the compiler work  great but is 16 bit

    I was going to try to use  32 or 64  bit linker to see if it would work

    55 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: