vscode-ibmi icon indicating copy to clipboard operation
vscode-ibmi copied to clipboard

Speed up logic to validate member and extension exists

Open chrjorgensen opened this issue 1 year ago • 0 comments

Changes

This PR is an alternative to PR #1826 and will keep the check for member existence.

Instead of using QSYS2.SYSPARTITIONSTAT to retrieve the member information, which could be slow on small server with many, many members, the code introduces a new SQL table function <tempLib>.GETMBRINFO to get the information for the specific member. API QUSRMBRD is used by GETMBRINFO behind the scenes.

Checklist

  • [x] have tested my change

chrjorgensen avatar Feb 22 '24 23:02 chrjorgensen