Using RPGLE to create data structure definitions

54,830 pts.
Tags:
Data structure
RPGLE
I'm looking to build a data structure. Let's use the following for an example
d Cat           DS                  qualified
d   name                        20
d   breed                       20
d   adoptdate                    8  0
And then define
d   Tommy                        likeds(cat)
and use Tommy.name, etc. Is there a way I can set it up so that 'cat' brings up a template without creating the structure in memory?
ASKED: December 10, 2013  6:41 PM
UPDATED: December 11, 2013  2:15 AM

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

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