how to generate datasturcture fields dynamically

25 pts.
Tags:
#AS400 #RPGLE #as400
DFLDNO            DS                                              

DFLD1                            1                                 

DFLD2                            1                                

DFLD3                            1                                

DFLD4                            1                                

DFLD5                            1                                

DFLD6                            1                                

DFLD7                            1                                

DFLD8                            1                                

DFLD9                            1                                

DFLD10                           1                                

DFLD11                           1                                

dara40                           1    DIM(11) overlay(fldno:1)
i want to define data structure fields dynamically and fields are from display file fields
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
    Not sure what you are hoping to accomplish. Even if you generated them dynamically you would still need to compile the program in order to use it. If the fields are already in a DSPF you may be better off copy/pasting them into you DS.

    135,305 pointsBadges:
    report
  • TheRealRaven
    It's not clear what you want. Two things seem contradictory. If the fields are DSPF fields, what is "dynamic" about them?


    36,340 pointsBadges:
    report
  • Subhendu Sen
    Is this your class assignment/ a project? Please provide more details.
    141,290 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: