CHGLIBL Question

0 pts.
Tags:
Programming Languages
We have a home-grown menu system that integrates CL commands into the menu calls. One command is CHGLIBL LIBLD(HUMSDTA) - used to (obviously) change a library list. Then the appropriate program is called and a RSTLIBL command is issued. Where can I find the description of HUMSDTA and how do I modify it? Any help would be greatly appreciated! This command is called in our test system and keeps changing the library list to production files. Not a good thing. Thanks! Pam
ASKED: January 12, 2005  6:24 PM
UPDATED: January 13, 2005  11:40 AM

Answer Wiki

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

Pam,

Apparently you are using a home grown version of CHGLIBL, as the IBM version does not have a LIBLD-parameter. You might try WRKOBJ OBJ(HUMSDTA) or, if that does not work WRKOBJ OBJ(*ALLUSR/HUMSDTA) to find HUMSDTA. You should have an accompanying utility to change this object (might be a data area).

Joep Beckeringh

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.

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
  • RobertMcCarty
    This is definitley a home-grown command! Use WRKLIBPDM HUM* and hit the key. This will display any libraries starting with the chars 'HUM'. If you see your library listed, then use WRKLIB HUM???? to see contents. Then use STRPDM and point to that library and take it from there. OR try WRKOBJ OBJ(*ALL/HUM*)
    0 pointsBadges:
    report
  • Phruska
    Thank you for the input so far!! I'm not surprised that it is a home-grown command. The part that is so confusing to me is that even wrkobj *all/hum* doesn't show the humsdta referenced in the command. The wrklibpdm command didn't find it either. I know it has to be in the system somewhere... any other thoughts in how I can find it? Thank you!! Pam
    0 pointsBadges:
    report
  • Phruska
    FOUND IT!!!! Thank you so much for reiterating (sp?) that this was a home-grown command. I found the source and tracked down the HUMSDTA data area. There are actually two data areas: one named PHUMSDTA (prod) and one THUMSDTA (test). The command internally determines the 'P' or 'T' based on the status of the menu environment and then concatenates to HUMSDTA. This is why I couldn't find the data area. Thanks again for all of your help!!! Pam
    0 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