A fix is available
APAR status
Closed as program error.
Error description
The DSECT utility is generating an unexpected variable definition for an ASM DS statement using a duplication factor of zero, which is used to align data and should not generate a variable definition. HLASM Language Reference - To force alignment http://www.ibm.com/support/knowledgecenter/SSLTBW_2.1.0/ com.ibm.zos.v2r1.asma400/asmr1021149.htm Use the DS instruction to align the instruction or data that follows, on a specific boundary. You can align the location counter to a doubleword, a fullword, or a halfword boundary by using the correct constant type (for example, D, F, or H) and a duplication factor ofzero. No space is reserved for such an instruction, yet the data that follows is aligned on the correct boundary. DSECT conversion utility>Generation of structures http://www.ibm.com/support/knowledgecenter/SSLTBW_2.1.0/ com.ibm.zos.v2r1.cbcux01/genstruct.htm?lang=en === TESTCASE === TEST DSECT FIELD1 DS H TESTEND DS 0F fullword aligned end END === INCORRECT OUTPUT === struct TEST { short int FIELD1; unsigned char _filler1[2]; int TESTEND; /* fullword aligned end */ }; - The 'int TESTEND;' variable is unexpected
Local fix
Manually edit out unexpected ASM
Problem summary
**************************************************************** * USERS AFFECTED: DSECT utility with DS statement having * * duplication factor of zero. * **************************************************************** * PROBLEM DESCRIPTION: Having the following at the end of asm * * DSECT should not generate member of * * struct in output of DSECT * * utility.TESTEND DS 0F * **************************************************************** * RECOMMENDATION: Apply the provided PTF. * * * **************************************************************** .
Problem conclusion
Apply provided fix.
Temporary fix
Comments
APAR Information
APAR number
PI67356
Reported component name
C/C++ FOR MVS
Reported component ID
56551210A
Reported release
791
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2016-08-10
Closed date
2016-09-06
Last modified date
2016-10-03
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Modules/Macros
CCNEPP
Fix information
Fixed component name
C/C++ FOR MVS
Fixed component ID
56551210A
Applicable component levels
R791 PSY UI40666
UP16/09/22 P F609
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":"SG19M","label":"APARs - z\/OS environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"791","Edition":"","Line of Business":{"code":"","label":""}},{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSQKCWV","label":"IBM C\/C++ for MVS\/ESA"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"791","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]
Document Information
Modified date:
09 August 2024