Alternate of AS/400 tables

2900 pts.
Tags:
AS/400
AS/400 tables
RPG
Hi all,
I want to have key value pairs type of functionality like LOKUP in two tables in RPG works. I want to extract corresponding values from two different tables at the same index position in RPGLE without using tables how to do this?
Regards,
0

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Discuss This Question: 3  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
    Why not use tables? You could probably do it by building arrays. Can you provide some more details of the requirements? Seems like an unusual situation for a business application.
    133,595 pointsBadges:
    report
  • hunshabbir7
    You might come across dictionary in .net which contains key and value pairs. We can retrieve value corresponding to keys like LOKUP in two tables works. I was just looking for that functionality but without using tables. By the way that is not business requirement. I was just trying to learn some other way...
    2,900 pointsBadges:
    report
  • ToddN2000
    If you are using RPGLE and you are not using tables then your database files would have to have matching key fields, like an ID# or be built in a manner that the data by RRN would match up.
    133,595 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: