PM87578: INCORRECT FUNCTION SIGNATURE IN SIDE-DECK FILE

A fix is available

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • The compiler generates incorrect function signature with XPLINK
    turned on when one or more of the following occurs:
    
    1. The exported function is inside an anonymous namespace
    2. The source with the function in question resides in
    Sequential Data Set
    3. The Seq. Data Set is compiled with absolute syntax
    i.e. //'HLQ.SOURCE.C'
    
    Here is a typical JCL error message which indicates the
    compiler's error:
    
    IEW2333E 1704 INVALID SYNTAX IN IMPORT CONTROL STATEMENT NEAR
    ''somefunction__45'SY'.
    
    This error is triggered by the following syntax of signature
    functions generated by the compiler and placed into side-deck
    file:
    
    IMPORT CODE,'USERID','somefunction__45'AB12345.SRC.SEQU*
     ENCE.DATA.SET.USERID'-0Fd'
    

Local fix

  • There are few workarounds available:
    
    1. Switch to named namespace from anonymous
    2. Move the source to HFS or PDS/PDSE dataset
    3. Change the compile step or #include directive not to use
    absolute Seq. Data Set syntax i.e //SOURCE.C instead of
    //'HLQ.SOURCE.C'. The HLQ will be appended by compiler using the
    ID of the user performing the compile step.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Compiler users are affected if the           *
    *                 following conditions are all met:            *
    *                 - the exported function is to be inside      *
    *                   an anonymous namespace                     *
    *                 - the source with the function in question   *
    *                   is to be a sequential dataset              *
    *                 - the sequential dataset is be compiled      *
    *                   with absolute syntax. That is              *
    *                   //'HLQ.SOURCE.C'                           *
    ****************************************************************
    * PROBLEM DESCRIPTION: During binding C++ object modules, the  *
    *                      binder generates the side-deck file     *
    *                      with incorrect function signature.      *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • Apply provided service.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM87578

  • Reported component name

    C/C++ FOR MVS

  • Reported component ID

    56551210A

  • Reported release

    780

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-04-23

  • Closed date

    2013-05-27

  • Last modified date

    2013-07-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

  • R780 PSY UK94597

       UP13/06/26 P F306

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.



Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

z/OS family

Software version:

7.8

Operating system(s):

z/OS

Reference #:

PM87578

Modified date:

2013-07-03

Translate my page

Machine Translation

Content navigation