Fixes are available
APAR status
Closed as program error.
Error description
Generating an EGL program which selects from a DB2 table with a where clause in turn referencing a date column and a host variable defined as unicode(10) {column = "stt_Dt", SQLDataCode = 385}; Compilation of the generated COBOL thereafter fails with an error message ie: IGYPA3005-S "EZELFV-SQL-1 (NATIONAL ITEM)" and "EZESQL-HST-1 (ALPHANUMERIC)" did not follow the "MOVE" statement compatibility rules. The statement was discarded.'
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: * * User programs that have unicode types for a sql date, time * * or timestamp and also have the sqldatacode set to one of the * * date/time/timestamp values. * **************************************************************** * PROBLEM DESCRIPTION: * * A cobol compiler error will occur indicating that a * * conversion from a usage national field cannot me made to a * * display field. This is because the temporary variable used * * was defined as PIC X instead of PIC N. The confusion was * * that a sqldatacode date/time/timestamp field was defined as * * PIC X, when it should have been defined as PIC N if the * * user's EGL field is unicode. * **************************************************************** * RECOMMENDATION: * ****************************************************************
Problem conclusion
The temporary variable factory now checks to see if the user's EGL variable is unicode or not and assigns the appropriate type to the temporary field.
Temporary fix
Comments
APAR Information
APAR number
PI72685
Reported component name
RATL BUS DEV
Reported component ID
5724S5000
Reported release
950
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2016-11-22
Closed date
2019-01-17
Last modified date
2019-01-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
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":"950","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]
Document Information
Modified date:
18 October 2021