diff options
| author | Sean Kurtz <seankurtz75@gmail.com> | 2026-11-19 18:28:13 -0600 |
|---|---|---|
| committer | Sean Kurtz <seankurtz75@gmail.com> | 2026-11-19 18:28:13 -0600 |
| commit | a37d3adca684abd6ccca77c58732515efde9dd76 (patch) | |
| tree | 7a8442d3d07cfca96c994148c3ced42e1252906c /bench/git@git.abendless.com:/srv/git | |
| parent | e4e4fd1e2b84ad71ebc5187d099ea0f10bf88c2c (diff) | |
| download | zash-a37d3adca684abd6ccca77c58732515efde9dd76.tar.gz | |
z/OS: load IGGCSI00 once and keep the block for the shell
The search interface was reached through LINK, which asked the system to
find and attach the module on every call -- and completion issues a call
per Tab. The glue now LOADs the module on the first call, writes its
entry point into the block, and branches to it directly afterwards, and
the block itself is taken from 31-bit storage on the first search and
kept, because IGGCSI00 is AMODE 31 and all three of its addresses have
to stay below 2 GB.
The block is declared packed, so the compiler cannot add padding the
assembler's offsets do not know about, and aligned(8), so the save area
starts on a doubleword. Its name field is spelled in IBM-1047 bytes
rather than as a C string, so the module is named the same way whatever
character mode this build runs in.
Verified on the machine: SYS1.MA* returns SYS1.MACLIB, SYS1.* returns
135 names, and Tab in an interactive shell completes //'SYS1.MA to
//'SYS1.MACLIB' and lists the members of that PDS.
Diffstat (limited to 'bench/git@git.abendless.com:/srv/git')
0 files changed, 0 insertions, 0 deletions
