APAR status
Closed as program error.
Error description
Incorrect value in NUM.PRICES of EALPMRES.DAT after permanent price change Recreate: 1) create a new item in the item record file. 2) Create a new Price Management event with promotional price for this item that is lower than the original price. 3) Create another Price Management event for the same item with the same price and dates as the one created above. 4) Create a Permanent Price Management event for the same item with a lower price than the promotion above. The activation date of this permanent price should be between the start and end of the promotions from steps 2 and 3. 5) After the new Permanent price has been applied, the NUM.PRICES field in EALPMRES.DAT will have a value of 3 instead of 2.
Local fix
Problem summary
The DEACTIVATE.PRICE routine causes RE.NUM.PRICES to increment, even in the situation where we are updating a permanent price that is inactive and having the new permanent price swap places with a currently active promo event price that hasn't expired. This caused the count to be one more than it should be in NUM.PRICES in the EALPMRES file.
Problem conclusion
RE.NUM.PRICES was being allowed to get larger than the MAX.PROMOS value, which should never happen. Put a conditional test after the increment to insure RE.NUM.PRICES cannot get larger than it ever should be.
Temporary fix
Comments
APAR Information
APAR number
IR49831
Reported component name
4680-4690 GEN S
Reported component ID
569654600
Reported release
121
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2002-10-23
Closed date
2002-11-18
Last modified date
2002-11-18
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Modules/Macros
EALPPROP EALPPROX
Fix information
Fixed component name
4680-4690 GEN S
Fixed component ID
569654600
Applicable component levels
R121 PSY
UP
[{"Business Unit":{"code":"BU053","label":"Cloud \u0026 Data Platform"},"Product":{"code":"SUPPORT","label":"IBM Worldwide Support"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"121","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
23 August 2022