0 pts.
 CHGLIBL Question
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

Software/Hardware used:
ASKED: January 12, 2005  6:24 PM
UPDATED: January 13, 2005  11:40 AM

Answer Wiki:
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
Last Wiki Answer Submitted:  January 13, 2005  2:57 am  by  Joepbeckeringh   0 pts.
All Answer Wiki Contributors:  Joepbeckeringh   0 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

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 pts.

 

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 pts.

 

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 pts.