APAR status
Closed as program error.
Error description
When applying an xml rule set to a system, the Prereq list will not be maintained. For example, a list like this: <AIXPertPrereqList>bos.rte.date,bos.rte.commands, bos.rte.security,bos.rte.shell,bos.rte.ILS </AIXPertPrereqList> Will be shortened to just the first entry in the appliedaixpert.xml file: <AIXPertPrereqList>bos.rte.date</AIXPertPrereqList>
Local fix
Problem summary
prereq entries are missed in appliedaixpert.xml file after the rules are applied. This gives wrong impression about the prereqs used by the xml file
Problem conclusion
This is happening because the comma sepereted list of prereqs taken from the xml file is directly given to strtok which replaces the comma with null'0'. So when printf is used to the prereq lists, it is reading till '0' is encountered thereby ignoring the remaining prereqs actually mentioned in the xml file
Temporary fix
Comments
APAR Information
APAR number
IV85527
Reported component name
AIX V7.1
Reported component ID
5765H4000
Reported release
710
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2016-06-08
Closed date
2016-06-15
Last modified date
2017-01-20
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
IV85886 IV85900 IV85917 IV86092 IV86475 IV88220
Fix information
Fixed component name
AIX V7.1
Fixed component ID
5765H4000
Applicable component levels
R710 PSY U872355
UP17/01/19 I 1000
[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SG11R"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"710","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}}]
Document Information
Modified date:
18 April 2022