IBM Support

OA65928: FSUZ0113 WHILE WRITING TO .ZSH_HISTORY FILE

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • In some cases when the variable HISTFILE is set, the z/OS Z
    shell (/bin/zsh) reports a FSUZ0113 failure indicating it is
    unable to write to the zsh history file (.zsh_history). However,
    the history file is correctly updated, the production of the
    message is in error.
    
    VERIFICATION STEPS:
    To recreate, the user must have zsh shell on z/OS 3.1 and
    perform the following steps:
    1) Create .zsh_history file in
    $HOME
    2) Create .zshrc file specifying:
    export
    HISTFILE=$HOME/.zsh_history
    export HISTSIZE=xxxx
    export
    SAVEHIST=xxxx
    3) log into zsh using zsh l
    4) Optionally enter in
    a command
    5) Exit from zsh session using 'exit' command
    
    ADDITIONAL SYMPTOMS:
    FSUZ0113, EDC5000I, MSGFSUZ0113
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: z/OS users of the USS Zsh shell              *
    ****************************************************************
    * PROBLEM DESCRIPTION: In some cases when the variable         *
    *                      HISTFILE is set, the z/OS Z shell       *
    *                      (/bin/zsh) reports a FSUZ0113 failure   *
    *                      indicating it is unable to write to     *
    *                      the zsh history file (.zsh_history).    *
    *                      However, the history file is correctly  *
    *                      updated, the production of the message  *
    *                      is in error.                            *
    ****************************************************************
    A local variable in the z/OS Z shell (/bin/zsh) is optimized
    out by compiler option -O2. This results in the Z shell being
    unable to evaluate the variable and correctly report successes
    or failures writing the command to the history file
    .zsh_history when HISTFILE is in use.
    

Problem conclusion

  • Prevent a local variable in the z/OS Z shell (/bin/zsh) from
    being optimized out by compiler option -O2.
    

Temporary fix

Comments

APAR Information

  • APAR number

    OA65928

  • Reported component name

    OPENMVS SHELL/U

  • Reported component ID

    5695SCPX2

  • Reported release

    7E0

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2023-12-14

  • Closed date

    2024-04-24

  • Last modified date

    2024-06-03

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

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

    UJ95154

Modules/Macros

  • FSUMXZSH
    

Fix information

  • Fixed component name

    OPENMVS SHELL/U

  • Fixed component ID

    5695SCPX2

Applicable component levels

  • R7E0 PSY UJ95154

       UP24/05/08 P F405

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":"BU011","label":"Systems - zSystems software"},"Product":{"code":"SG19O"},"Platform":[{"code":"PF054","label":"z Systems"}],"Version":"7E0"}]

Document Information

Modified date:
03 June 2024