A fix is available
APAR status
Closed as program error.
Error description
A compile time error occurs when compiling translating a C/C++ application with the CICS translator. In the following comment line of code: tprintf (pszCommArea, FMTOsc, FMTTOA); /* EXEC CICS RETURN */ the comment is being seperated during the translation process as follows: tprintf (pszCommArea, FMTOsc, FMTTOA); / * EXEC CICS RETURN */ The CICS translator is seperating the '/' and '*' which starts the C/C++ comment. When this translator output is passed to the to the C/C++ compiler, it is causing a compiler error.
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: All. * **************************************************************** * PROBLEM DESCRIPTION: The 'C' Translator may split a start * * comment delimiter over 2 lines and * * result in compiler message CCN5040. * **************************************************************** * RECOMMENDATION: * **************************************************************** A C program may use the preprocessor directive with a backslash so that different physical lines of code are treated as contiguous lines of code. For example, the source appears as: . #define EXAMPLE_CODE \ \ EXEC CICS STATEMENT_1; \ EXEC CICS STATEMENT_2; \ EXEC CICS STATEMENT_3; . The translator will comment out each EXEC CICS STATEMENT_x and produce a corresponding DFHEXEC type statement in the listing, for example: . #define EXAMPLE_CODE /* EXEC CICS STATEMENT_1 */ \ DFHEXEC("\x10\x\ 02\x00\x00\x2F\x00\x00\x13\x00\xF0\xF0\xF1\xF8\xF0\xF0"); \ / * EXEC CICS STATEMENT_2 */ \ DFHEXEC("\x10\x\02\x00\x00\xF\ 2F\x00\x00\x13\x00\xF0\xF0\xF1\xF8\xF0\xF0"); \ . Note the leading comment delimiter for EXEC CICS STATEMENT_2 has been split over 2 lines. The '/' is in column 72 of the previous line, the '*' is on the same line as EXEC CICS STATEMENT_2. This split comment delimiter will cause compiler error CCN5040. . Keywords: MSGCCN5040 MSGCCN3166 MSGCCN3276 CCN5040 CCN3166 CCN3276 C++
Problem conclusion
Translator module DFHEDMPD has been modified and will no longer split a comment delimiter over 2 lines.
Temporary fix
FIX AVAILABLE BY PTF ONLY
Comments
APAR Information
APAR number
PK33383
Reported component name
CICSTS 3.1 Z/OS
Reported component ID
5655M1500
Reported release
400
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2006-10-23
Closed date
2007-01-31
Last modified date
2007-03-01
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
UK21834
Modules/Macros
DFHEDMPD
Fix information
Fixed component name
CICSTS 3.1 Z/OS
Fixed component ID
5655M1500
Applicable component levels
R400 PSY UK21834
UP07/02/14 P F702
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":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSGMGV","label":"CICS Transaction Server"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"3.1","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}},{"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":"3.1","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
01 March 2007