Datastructure Subfield is not getting updated with new size eventhough the size has changed in copybook

85 pts.
Tags:
AS 400
RPGLE
I need to increase the size of the field which happened to be the subfield of a data structure which is defined in a copybook. Even though I increased the size of the char field, it's not getting reflected it points to the previous value. I am not sure what am I missing there.
1

Answer Wiki

Thanks. We'll let you know when a new response is added.

Any time a copybook is changed, any program that references it needs to be recompiled to pick up the new changes. They are great for centralizing source code but if used heavily it may need numerous programs compiled and some of those could be locked. In that case the compiles would need to be done off-hours to make sure there are no object locks.

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.
  • TheRealRaven
    Nor are sure what's happening since we can't see the subfile's field definitions, the related copybook field definitions nor the related program code that is expected to perform the update. Please include necessary details for us to review.
    36,145 pointsBadges:
    report
  • Arundhathi
    Hey thanks for the reply. Actually I got that. I tried recompiling the programs again and seems to be working. Looks like one of the jobs locked the source, might have caused the issue.
    85 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: