APAR status
Closed as program error.
Error description
Source cannot build with SELECT;WHEN;ELSE-Statement and function call "to_char"
Local fix
n/a
Problem summary
This issue is about some errors which appeared in a COBOL program build, when the SQL conversion function TO_CHAR was called in a mixed expression inside of a "SELECT CASE ...WHEN ... THEN... ELSE... END" SQL statement. The errors which appeared were kind of: Token: WORKING_STORAGE Text: 'TO-CHAR' Token: ITEMDESCRIPTION Text: '('
Problem conclusion
The issue was fixed with code changes.
Temporary fix
Comments
APAR Information
APAR number
PH61779
Reported component name
APPL DISCOVERY
Reported component ID
5737B1600
Reported release
611
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2024-06-10
Closed date
2024-08-19
Last modified date
2024-08-19
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
APPL DISCOVERY
Fixed component ID
5737B1600
Applicable component levels
[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSRR9Q","label":"IBM Application Discovery"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"611","Line of Business":{"code":"LOB70","label":"Z TPS"}}]
Document Information
Modified date:
20 August 2024