CICS

CICS

CICS

The world's leading application server software for IBM Z

 View Only

z/OSMF REST API - HTTP 500 ISRZ002 "Invalid block size" when listing LOAD library members

  • 1.  z/OSMF REST API - HTTP 500 ISRZ002 "Invalid block size" when listing LOAD library members

    Posted 06/18/26 09:36 AM
    Dear IBM Support Team,
     
    I would like to report an issue encountered with the z/OSMF Files REST API when attempting to list members of a LOAD library dataset.
     
    Environment:
    - z/OS System: S0W1
    - z/OSMF Host: 204.90.115.200, Port: 10443
    - Client: Zowe Explorer for VSCode v3.5.0
    - UserID: Z82064
     
    Problem Description:
     
    When the z/OSMF Files REST API is called to retrieve the member list of a LOAD library (Z82064.LOAD), the server returns an HTTP 500 error with the following message:
     
      ISRZ002 Invalid block size - Block size of data set must not be zero.
      LMOPEN error
     
    Request that triggered the error:
     
      GET /zosmf/restfiles/ds/Z82064.LOAD/member
     
    Expected behavior:
    The API should either return the list of members or respond with a clear, descriptive error message indicating that LOAD libraries (RECFM=U) are not supported by this endpoint.
     
    Actual behavior:
    The server returns HTTP 500 with an ISPF LMOPEN error (ISRZ002), which is not informative for end users and does not distinguish between a configuration issue and an unsupported dataset type.
     
    Please advise whether this is a known limitation or a defect, and whether a fix or workaround is available.
     
    Thank you for your assistance.
     
    Best regards,
    Louis



    ------------------------------
    Koyé Louis-Celestin Kouamé
    ------------------------------