IBM Support

OA65879: Support for shlock and flock utilities on z/OS

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as new function.

Error description

  • Support for shlock and flock utilities on z/OS
    
    shlock is a command to create and manage shell locks. It
    provides a way for shell scripts to implement simple locking
    mechanisms and helps prevent multiple instances of a script
    from running simultaneously and potentially conflicting with
    each other.
    
    flock is a command to manage locks from within shell scripts
    or the command line. It provides a method for user to manipulate
    file locks and it allows multiple processes to read and/or
    write to a file without corrupting its contents. This utility
    grants exclusive or shared access to a specified file or
    directory and ensures synchronization which is essential in
    multi-user and multi-tasking environments.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of z/OS Shells and Utilities           *
    ****************************************************************
    * PROBLEM DESCRIPTION: New z/OS Shells and Utilities functi-   *
    *                      onality is being added in support of    *
    *                      z/OS Container Platform technology.     *
    ****************************************************************
    * RECOMMENDATION: Install this PTF and re-IPL the system to    *
    *                 improve z/OS UNIX functionality.             *
    ****************************************************************
    This PTF adds z/OS Shells and Utilities functionality to
    enable support for the shlock and flock utilities.
    
    shlock is a command to create and manage shell locks. It
    provides a way for shell scripts to implement simple locking
    mechanisms and helps prevent multiple instances of a script
    from running simultaneously and potentially conflicting with
    each other.
    
    flock is a command to manage locks from within shell scripts
    or the command line. It provides a method for user to manipulate
    file locks and it allows multiple processes to read and/or
    write to a file without corrupting its contents. This utility
    grants exclusive or shared access to a specified file or
    directory and ensures synchronization which is essential in
    multi-user and multi-tasking environments.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    OA65879

  • Reported component name

    OPENMVS SHELL/U

  • Reported component ID

    5695SCPX2

  • Reported release

    7E0

  • Status

    CLOSED UR1

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    YesSpecatt / New Function / Xsystem

  • Submitted date

    2023-12-05

  • Closed date

    2025-06-19

  • Last modified date

    2025-12-30

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

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

    UJ97443 UJ97444

Modules/Macros

  • FSUMXFLK FSUMXSLK
    

Fix information

  • Fixed component name

    OPENMVS SHELL/U

  • Fixed component ID

    5695SCPX2

Applicable component levels

  • R7C0 PSY UJ97443

       UP25/07/02 P F507  

  • R7E0 PSY UJ97444

       UP25/07/02 P F507  

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:
30 December 2025