IBM Support

PH52924: UNIX COMMAND API in RSEAPI HANGS WHILE LOCATING THE SYSTEM ENVIRONMENT VARIABLES WHEN BASH ENVIRONMENT IS IN USE

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • Unix Command API in RSEAPI fails to access the USS environment
    variables from IBM Explorer for z/OS host (v3.2.x) for RSE API
    (v1.1.x) and results in a hang if bash environment is in use.
    
    The issue can be recreated in uss when running the following
    command in bash environment where no result is displayed:
    env -i HOME=$HOME sh -L -c 'env'
    

Local fix

  • In USS, run the user profile with /bin/sh instead of /bin/sh
    

Problem summary

  • When running Unix Command API in RSEAPI, it fails to access the
    USS environment variables from the IBM Explorer for z/OS host
    for RSEAPI and results in a hang if bash is set in the profile.
    

Problem conclusion

  • The command to retrieve the USS environment variables is updated
     in the IBM Explorer for z/OS host to ensure the USS environment
     variables can be retrieved when running Unix Command API in
    RSEAPI.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH52924

  • Reported component name

    EXP FOR Z/OS HO

  • Reported component ID

    5655EXP23

  • Reported release

    320

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2023-02-28

  • Closed date

    2023-03-10

  • Last modified date

    2023-03-10

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

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

Fix information

  • Fixed component name

    EXP FOR Z/OS HO

  • Fixed component ID

    5655EXP23

Applicable component levels

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSBDYH","label":"IBM Explorer for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"320","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
10 March 2023