Applications of Data structure in RPGLE

95 pts.
Tags:
RPGLE- Data structure-to-build composite key
Please help me understand how a data structure be used to build composite key field from the fields of one PF to randomly access the records from another PF.

Software/Hardware used:
AS400-RPGLE
ASKED: December 14, 2011  6:46 PM
UPDATED: February 28, 2012  3:04 PM

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.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question: 2  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.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • TomLiotta
    ...how a data structure be used to build composite key ... I suppose a data structure might be helpful where the key for a file is a single large field and it's composed of multiple smaller fields from another file. A data structure would be helpful in bringing the smaller values together and showing the structure. Other than that, you probably want to read the %KDS (Search Arguments in Data Structure) topic in the ILE RPG Reference manual. I'm not sure what can be said other than what the manual describes. There's not much point in copying it here. If you have a problem, please describe it so we know what you answer. Tom
    125,585 pointsBadges:
    report
  • Hamsu
    Thank you for the info TomLiotta ....Actually i read it somewhere and curious to know the exact concept behind that... so any information related to data structures used with respect to keyfields and Keylists would be helpful....
    95 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.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

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

Following