A fix is available
APAR status
Closed as program error.
Error description
Symptom: # smitty cdat collect data from remote nodes select node filename - > choose collect type press f4 -> the following error message appears: Bareword "MSG_MANDATORY" not allowed while "strict subs" in use at /usr/lib/cdat/cdat-list-types line 100. Bareword "MSG_DEFAULT" not allowed while "strict subs" in use at /usr/lib/cdat/cdat-list-types line 107. Bareword "MSG_PASSTHROUGH" not allowed while "strict subs" in use at /usr/lib/cdat/cdat-list-types line 125. Bareword "MSG_OPTIONAL" not allowed while "strict subs" in use at /usr/lib/cdat/cdat-list-types line 102. Execution of /usr/lib/cdat/cdat-list-types aborted due to compilation errors. The error can also be seen directly by command line: nimlab19:/> cd /usr/lib/cdat nimlab19:/usr/lib/cdat> perl cdat-list-types Bareword "MSG_MANDATORY" not allowed while "strict subs" in use at cdat-list-types line 100. Bareword "MSG_DEFAULT" not allowed while "strict subs" in use at cdat-list-types line 107. Bareword "MSG_PASSTHROUGH" not allowed while "strict subs" in use at cdat-list-types line 125. Bareword "MSG_OPTIONAL" not allowed while "strict subs" in use at cdat-list-types line 102. Execution of cdat-list-types aborted due to compilation errors. Problem Analysis: This is a perl compilation error due to undefined constants in "cdat-list-types" perl script. The missing constants should have been defined in the message file "/usr/lib/cdat/messages.pm". Affected release: This problem is detected after upgrading "bos.cdat" to release "6.1.6.15" which adds the new constants.
Local fix
Add additional lines to "/usr/lib/cdat/messages.pm" as follows. Add these 4 lines at the end of "use constant" block just after "use constant MSG_BUSY => 128;" use constant MSG_MANDATORY => 129; use constant MSG_OPTIONAL => 130; use constant MSG_DEFAULT => 131; use constant MSG_PASSTHROUGH => 132; and these other 4 lines, at the end of the file just after "MSG_BUSY);" in the "@EXPORT = qw(" block MSG_MANDATORY MSG_OPTIONAL MSG_DEFAULT MSG_PASSTHROUGH); note the two closing characters ");" should come at the end of the last constant in the @EXPORT block which now is "MSG_PASSTHROUGH" and not "MSG_BUSY" anymore.
Problem summary
The perl compilation error resulted since message file doesn't shipped in bos.cdat fileset.
Problem conclusion
Ship the message file in bos.cdat fileset.
Temporary fix
Comments
APAR Information
APAR number
IV48163
Reported component name
AIX 610 STD EDI
Reported component ID
5765G6200
Reported release
610
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Submitted date
2013-09-11
Closed date
2013-09-11
Last modified date
2014-02-17
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
AIX 610 STD EDI
Fixed component ID
5765G6200
Applicable component levels
R610 PSY U859511
UP14/02/17 I 1000
PTF to Fileset Mapping
U859511 bos.cdat 6.1.8.16
[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSLLZP","label":"AIX Standard Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSMV87","label":"AIX 6.1 Enterprise Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSMVAX","label":"AIX Express Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSAUMY","label":"IBM AIX Enterprise Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Edition":"","Line of Business":{"code":"","label":""}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG11Q","label":"AIX 6.1 HIPERS, APARs and Fixes"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Edition":"","Line of Business":{"code":"","label":""}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG11R","label":"APARs - AIX 7.1 environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
17 February 2014