Skip to content

Commit fdf6d55

Browse files
authored
Merge pull request #2839 from jman116/Alter-Detailed-Info
Change LIBRARY_LIST table functionto to significantly reduce SRCPF load time.
2 parents b0b1f04 + 8bcfc31 commit fdf6d55

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,3 +67,4 @@ Thanks so much to everyone [who has contributed](https://github.com/codefori/vsc
6767
* [@buzzia2001](https://github.com/buzzia2001)
6868
* [@e1mais](https://github.com/e1mais)
6969
* [@NattyNarwhal](https://github.com/NattyNarwhal)
70+
* [@jman116](https://github.com/jman116)

src/api/IBMi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1566,7 +1566,7 @@ export default class IBMi {
15661566
let foundNumber = this.libraryAsps.get(library);
15671567

15681568
if (!foundNumber) {
1569-
const [row] = await this.runSQL(`SELECT IASP_NUMBER FROM TABLE(QSYS2.LIBRARY_INFO('${this.sysNameInAmerican(library)}'))`);
1569+
const [row] = await this.runSQL(`SELECT IASP_NUMBER FROM TABLE(QSYS2.LIBRARY_INFO('${this.sysNameInAmerican(library)}', DETAILED_INFO=>'NO'))`);
15701570
const iaspNumber = Number(row?.IASP_NUMBER);
15711571
if (iaspNumber >= 0) {
15721572
this.libraryAsps.set(library, iaspNumber);

0 commit comments

Comments
 (0)