IBM Support

OA47887: OMVS SHELL DOES NOT EXIT WITH RC <> 0 WHEN FORK() FAILURE OCCURS

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The OMVS shell does not exit with a
    non-zero RC when a fork() failure is
                            encountered.
    

Local fix

  • -
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: z/OS users of sh command who run command     *
    *                 (e.g. var=$(command)) and encounter fork     *
    *                 failure.                                     *
    ****************************************************************
    * PROBLEM DESCRIPTION: The exit value is still zero when       *
    *                      the message is returned : FSUM7726      *
    *                      cannot fork: reason code = 0b250012:    *
    *                      EDC5112I Resource temporarily           *
    *                      unavailable.                            *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When the fork failure occurs due to unavailable resource,
    the zero exit value is still returned.
    

Problem conclusion

  • The codes was updated to return non-zero exit value when
    fork faulure occurred with command substitution.
    

Temporary fix

Comments

APAR Information

  • APAR number

    OA47887

  • Reported component name

    OPENMVS SHELL/U

  • Reported component ID

    5695SCPX2

  • Reported release

    780

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-05-15

  • Closed date

    2015-07-01

  • Last modified date

    2015-08-03

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

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

    UA77975 UA77976 UA77977

Modules/Macros

  • FSUMXSH
    

Fix information

  • Fixed component name

    OPENMVS SHELL/U

  • Fixed component ID

    5695SCPX2

Applicable component levels

  • R7A0 PSY UA77975

       UP15/07/22 P F507

  • R780 PSY UA77976

       UP15/07/22 P F507

  • R790 PSY UA77977

       UP15/07/22 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":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M","label":"APARs - z\/OS environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"780","Edition":"","Line of Business":{"code":"","label":""}},{"Business Unit":{"code":null,"label":null},"Product":{"code":"SG19O","label":"APARs - MVS environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"780","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
03 August 2015