A fix is available
APAR status
Closed as program error.
Error description
The output C code from the DSECT Utility is missing #define statements meant to represent EQU statements from the original HLASM input. For example: MYNUMB EQU X'80' // WILL BE MISSING IN DSECT OUTPUT The issue appears to occur when duplication-factor-zero fields are present in the HLASM. For example: MYVALUE DS 0B The issue only occurs in the default 'NOLEGACY' mode. Running the utility in 'LEG' or 'LEGACY' mode generates the #defines as expected.
Local fix
Use 'LEG' mode
Problem summary
**************************************************************** * USERS AFFECTED: Consecutive zero duplication factor fields * * with following EQU(s) statements and using * * NOLEGACY option. * **************************************************************** * PROBLEM DESCRIPTION: The EQU(s) following two or more * * consecutive zero duplication factor DS * * fields are not generating #define * * statements. This only occurs in * * NOLEGACY mode. * **************************************************************** * RECOMMENDATION: Install the PTF. * **************************************************************** The second consecutive zero duplication factor DS field generates nested C struct and ignores the EQU(s) following it.
Problem conclusion
The second consecutive zero duplication factor DS field will generate regular C struc member and EQU(s) associated with it will generate expected #define statements.
Temporary fix
Comments
APAR Information
APAR number
PH47992
Reported component name
C/C++ FOR MVS
Reported component ID
56551210A
Reported release
7C0
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2022-07-14
Closed date
2022-08-05
Last modified date
2022-10-03
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Modules/Macros
CCNECICS CCNECWI CCNED240 CCNEDSCT CCNEDWRT CCNEFILT CCNEHIFC CCNEIPA3 CCNEIPAO CCNEMDEP CCNEOPTP CCNEP CCNEPP CCNETBY CCNMSGE CCNMSGT CCNQIPA
Fix information
Fixed component name
C/C++ FOR MVS
Fixed component ID
56551210A
Applicable component levels
R7C0 PSY UI81828
UP22/09/07 P F209
Fix is available
Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.
[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSTLTF","label":"z\/OS XL C\/C++"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7C0","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}}]
Document Information
Modified date:
03 October 2022