CEMPOLU and CEMEMAPA sample JCL members
search cancel

CEMPOLU and CEMEMAPA sample JCL members

book

Article ID: 384853

calendar_today

Updated On:

Products

Compliance Event Manager

Issue/Introduction

There are two sample JCL members supplied that can be used to run the MAPDB dataset SQL query, CEMPOLU and CEMEMAPA. CEMPOLU is running with PGM=CEMPOLU and CEMEMAPA is running with BPXBATSL PGM /uss/ca/caldap/polutil. Is there any difference between these two samples? Just need to run a read query from the MAPDB dataset.

Environment

z/os Java

Resolution

Actually they are doing the same thing, one using a Unix program, the other using a load module version of the same program. Both the MAPA JCL and the POLU JCL have the same DD's, except the POLU has a STEPLIB to be able to execute the load module version. There are also slight differences in the EXEC PGM/PARM. MAPA uses the USS version of the polutil program, where POLU uses the load module version. Notice they both have the same exact parms of '-usejcl -batch -init //DD:SYSIN MAPDB'.

Now that LDAP is no longer used, research is being done to reduce USS tools/utilities to be only Java programs (REST APIs and UI), which is why polutil was moved to a load module.