What is the syntax for a file override that renames the field name prefix?

2550 pts.
Tags:
AS/400
Physical File
RPGLE
Chasing down an obscure bug and a possibility is a hanging field value (many logicals over one physical file in program)
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.
  • WilsonAlano
    Hi,

    Can you be a little more specific? Where do you want to rename prefix field names? Inside RPG?

    2,710 pointsBadges:
    report
  • philpl1jb

    Like Wilson, I'm a bit lost. OVRDBF has no field name changing method.

    In a logical DDS .. RENAME is used to give a column in the logical a different name than the physical

    In RPGLE the Prefix on the F spec would be used.


       Prefix on the D-Spec can provide structures with different prefixes

       also in the D-spec ExtFld cam be used to rename fields

    I-specs can still be used to rename fields

    ICHAMARA1R NS  01
    I              SHAREDKEY                   XSHAREDKEY


    54,090 pointsBadges:
    report
  • aceofdelts

    Thanks ... yes it's the PREFIX keyword in RPGLE

    I'm all set.

    2,550 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: