PM96647: SIZEOF FUNCTION IS MISSING FROM MAINFRAME APL2

A fix is available

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • External function SIZEOF is present in Workstation APL2
    but not in mainframe APL2.  Cross-system applications
    cannot use SIZEOF.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All APL2 users.                              *
    ****************************************************************
    * PROBLEM DESCRIPTION: The external function SIZEOF exists     *
    *                      for Workstation APL2, but not for       *
    *                      mainframe APL2. Applications            *
    *                      written to run on all APL2              *
    *                      platforms must avoid using SIZEOF.      *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The code to implement SIZEOF was not included in the base
    level of mainframe APL2.
    

Problem conclusion

  • SIZEOF is added to mainframe APL2.
    The syntax of the function is the same as for Workstation APL2.
    
      SIZEOF pattern
    
      pattern  A character vector containing a formalized
               description of the fields within an array.
               Array patterns are defined in
               "APL2 Programming: System Services Reference"
               (SH21-1054).  The pattern may not contain an
               asterisk unless it can be resolved to an integer
               based on other information in the item description.
               The pattern may not contain the > or < marks.
    
    The result of SIZEOF is the number of bytes required to hold an
    array described by the pattern.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM96647

  • Reported component name

    APL2

  • Reported component ID

    566889901

  • Reported release

    222

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-09-09

  • Closed date

    2013-09-10

  • Last modified date

    2013-10-04

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

    UK97416 UK97415

Modules/Macros

  •    AP2ISVY  AP2ISXA  AP2TNSZF AP2VN011 AP2XNRSS
    AP2XNRS1
    

Fix information

  • Fixed component name

    APL2

  • Fixed component ID

    566889901

Applicable component levels

  • R222 PSY UK97415

       UP13/09/11 P F309

  • R225 PSY UK97416

       UP13/09/12 I 1000

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:

APL2
Mainframe APL2

Software version:

222

Reference #:

PM96647

Modified date:

2013-10-04

Translate my page

Machine Translation

Content navigation