PM91668: ISSUE WARNING ON SPKA INSTRUCTION.

A fix is available

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as unreproducible in next release.

Error description

  • HLASM not warning users if they incorrectly code an operand for
    the SPKA instruction.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All users of HLASM for z/OS, z/VM and z/VSE  *
    ****************************************************************
    * PROBLEM DESCRIPTION: The SPKA instruction operand is often   *
    *                      incorrectly specified resulting in a    *
    *                      change to an incorrect Program Status   *
    *                      Word (PSW) key.                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The SPKA instruction operand is often incorrectly specified
    since only bits 56-59 of the generated operand value are used
    to change the PSW key by the instruction.  For example,
    assembling the instruction SPKA 8 results in bits 56-59 being
    set to 0 (and so a switch to PSW key 0 will be made) rather
    than the intended switch to PSW key 8 written as SPKA X'80'.
    

Problem conclusion

Temporary fix

Comments

  • Problem conclusion:
    HLASM has been modified to issue a new warning message when
    the SPKA instruction is used under the following
    circumstances:
    (i)  ASMA221W SPKA specifies a non-zero base register and a
    displacement value.
    (ii) ASMA222W SPKA operand contains bits ignored by the
    instruction.  Key n will be used.
    
    Note that these messages can be suppressed by using the
    SUPRWARN option.
    
    The High Level Assembler for z/OS & z/VM & z/VSE Programmer's
    Guide Version 1 Release 6 (SC26-4941-06) will be updated as
    follows:
    
     --- START OF DOC UPDATES ---
    Publication Number: SC26-4941-06  Title: Programmer's Guide
    ===========================================================
    is required to be updated:
    
    Appendix F. High Level Assembler Messages
    Assembly error diagnostic messages
    Add new message:
    
    ASMA221W  SPKA operand specifies a non-zero base register and a
    displacement value.
    
    Explanation:  The SPKA operand specifies a non-zero register
    and displacement value.  The value of bits 56-59 of the
    generated operand value can only be determined at runtime.
    HLASM cannot determine which value will be used by the
    instruction.
    
    System action:  The assembly continues.
    
    Programmer Response:  Check that the instruction operand base
    register and displacement values have been specified correctly.
    This message can be suppressed using the SUPRWARN option.
    
    Severity: 4
    
    
    Add new message:
    
    ASMA222W  SPKA operand contains bits ignored by the
    instruction.  Key n will be used.
    
    Explanation:  The SPKA instruction specifies an operand which
    includes bits other than bit positions 56-59 of the generated
    operand value.  The PSW key as specified by bit positions 56-59
    will be set to the value n.
    
    System action:  The assembly continues.
    
    Programmer Response:  Ensure that the SPKA instruction operand
    has been correctly specified to only set bits 56-59 of the
    generated operand value.  This message can be suppressed using
    the SUPRWAN option.
    
    Severity: 4
     --- END OF DOC UPDATES ---
    

APAR Information

  • APAR number

    PM91668

  • Reported component name

    HLASM MVS, VM &

  • Reported component ID

    569623400

  • Reported release

    160

  • Status

    CLOSED UR1

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-06-24

  • Closed date

    2013-10-25

  • Last modified date

    2014-03-27

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

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

    UI11675 UI11676 UI11677

Modules/Macros

  • ASMADOPD ASMAINFO ASMA00   ASMA01   ASMA02   ASMA03   ASMA04
    ASMA1A   ASMA1B   ASMA1F   ASMA1G   ASMA1I   ASMA1J   ASMA1K
    ASMA1L   ASMA1M   ASMA1N   ASMA1P   ASMA1Q   ASMA1R   ASMA1S
    ASMA1T   ASMA1U   ASMA1V   ASMA1W   ASMA1X   ASMA1Y   ASMA1Z
    ASMA10   ASMA11   ASMA12   ASMA13   ASMA15   ASMA16   ASMA17
    ASMA2B   ASMA2D   ASMA2F   ASMA2G   ASMA2I   ASMA2V   ASMA20
    ASMA21   ASMA22   ASMA23   ASMA25   ASMA26   ASMA40   ASMA5UNI
    ASMA7DE  ASMA7EN  ASMA7ES  ASMA7JP  ASMA7UE  ASMA80   ASMA9D
    ASMA9Z   ASMA90   ASMA91   ASMA92   ASMA93
    

Publications Referenced
SC26494106        

Fix information

  • Fixed component name

    HLASM MVS, VM &

  • Fixed component ID

    569623400

Applicable component levels

  • R160 PSY UI11676

       UP13/11/01 P F310

  • R360 PSY UI11675

       UP13/10/31 I 1000

  • R689 PSY UI11677

       UP13/10/31 P E520

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:

160

Operating system(s):

z/OS

Reference #:

PM91668

Modified date:

2014-03-27

Translate my page

Machine Translation

Content navigation