Fixes are available
APAR status
Closed as program error.
Error description
The getTokenCount function is not working correctly if the entire, or last character, in the delimiter is a space. The code is truncating the trailing spaces on the move to an internal string, causing the loss of all trailing spaces from the delimiter, which would then give incorrect results on the getTokenCount function.
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: * * Users that use the Strlib.getTokenCount function where the * * delimiter argument is a character space or ends with a space * **************************************************************** * PROBLEM DESCRIPTION: * * When the delimiter argument was converted to a string, so * * the getTokenCount function could process, trailing spaces * * were removed. This was due to the normal fixed text (char, * * unicode, etc) to string processing. However, in the case of * * the getTokenCount function, trailing spaces should not have * * been removed. The result of this removal could be to return * * incorrect results for the function call. * **************************************************************** * RECOMMENDATION: * ****************************************************************
Problem conclusion
The software has been updated to properly handle the delimiter argument. The process will no longer trim trailing spaces.
Temporary fix
Comments
APAR Information
APAR number
PI64381
Reported component name
RATL BUS DEV
Reported component ID
5724S5000
Reported release
911
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2016-06-16
Closed date
2019-01-18
Last modified date
2019-01-18
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
RATL BUS DEV
Fixed component ID
5724S5000
Applicable component levels
R901 PSY
UP
R911 PSY
UP
R950 PSY
UP
[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSMQ79","label":"Rational Business Developer"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.1.1","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]
Document Information
Modified date:
17 October 2021