Skip to main content

EasyGIMAPI

EasyGIMAPI is a Java interface to the GIMAPI program used to query the contents of a SMP/E CSI.

It makes it very easy to query your SMP/E information, and Java provides powerful facilities to process the data. See the samples for examples of the type of reports you can write.

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

Get updates

Sign up to receive updates about the GIMAPI Java interface: