EasyGIMAPI is a Java interface to the GIMAPI program used to query the contents of a SMP/E CSI.
You can use the regular GIMAPI query format:
List<EntryList> entries = SmpeQuery.query("MVS.GLOBAL.CSI",
"ALLTZONES",
"SYSMOD",
"MOD,INSTALLDATE",
"(SMODTYPE='PTF' | SMODTYPE='USERMOD') & FMID='HQX77E0' & APPLY='YES' & BYPASS='YES' & RECDATE>'26031'");
entries.forEach(System.out::println);
Or a Java builder style with filtering in Java, or a combination.
List<Sysmod> sysmods = SmpeQuery.csi("MVS.GLOBAL.CSI")
.zone("MVST")
.fmid("HQX77E0")
.receivedAfter(LocalDate.of(2026, 1, 31))
.listSysmod();
sysmods.stream()
.filter(Sysmod::apply)
.filter(Sysmod::bypass)
.filter(entry ->
entry.smodtype() == SysmodType.PTF
|| entry.smodtype() == SysmodType.USERMOD)
.forEach(System.out::println);
More information:
- View the Javadoc: https://static.blackhillsoftware.com/gimapi/javadoc/index.html
- Sample code is available on Github: https://github.com/BlackHillSoftware/gimapi-samples
- View release notes and download the jar here: EasyGIMAPI Release Notes