IBM Support

OA49489: SPAWN() FAILURE RC81 ENOENT RSN05F1006C JRFILENOTHTHERE CWD RELATIVE PATHNAME

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • spawn() with a shell script specified in a directory different
    than the parent directory can fail with RC=81 ENOENT
    RSN05F1006C JRFileNotThere
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All users of z/OS UNIX System Services for   *
    *                 HBB7790 and HBB77A0.                         *
    ****************************************************************
    * PROBLEM DESCRIPTION: Spawn with a new CWD (current working   *
    *                      directory) and a relative path name     *
    *                      specified does not find the target      *
    *                      program in the new directory.  The new  *
    *                      CWD should be included in the search    *
    *                      for the target program.                 *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Only the path name specified by the caller was being used by
    the spawn syscall to locate the target program.  When the
    caller specifies a relative path name and a new CWD, the CWD
    should be used in conjunction with the path name to locate the
    target program.  As a result the spawn syscall failed with
    RC81 (ENOENT) RSN05F1006C (JrFileNotThere), indicating the
    target program could not be found.
    

Problem conclusion

  • Module BPXPREXC will be modified to always use the new CWD with
    a relative path name to locate the target program for spawn.
    Keywords:
    APSPARKT/K
    

Temporary fix

Comments

APAR Information

  • APAR number

    OA49489

  • Reported component name

    OPENMVS SYS SRV

  • Reported component ID

    5695SCPX1

  • Reported release

    7A0

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2015-11-30

  • Closed date

    2016-01-29

  • Last modified date

    2016-03-28

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

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

    UA80505 UA80506

Modules/Macros

  • BPXPREXC BPXPRLOD
    

Fix information

  • Fixed component name

    OPENMVS SYS SRV

  • Fixed component ID

    5695SCPX1

Applicable component levels

  • R7A0 PSY UA80505

       UP16/02/10 P F602

  • R790 PSY UA80506

       UP16/02/10 P F602

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":"7A0","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":"7A0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
28 March 2016