OL Journal
OL Journal adds an audit call after each VSAM WRITE, REWRITE and DELETE of a COBOL program, and after each IMS DB ISRT, REPL and DLET, so every change to a file or a database is journaled.
Open a COBOL program of a mainframe connection and click OL Journal: add audit calls (book icon) in the Code Viewer toolbar. The wizard can be minimized and reopened from the same button.
Steps
- Select: pick the programs to journal. You can add the programs that write the same files, grouped by file or by program, including programs in other PDSs when AtomIQ has analyzed the application.
- Scan: reads the selected programs and finds each place that changes a file or a database. You can cancel a long scan; the results cover the members read before it stopped.
- Review: check the audit calls proposed for each program and mark it reviewed. Programs with a blocking finding are not changed.
- Save: writes the reviewed programs, over the program or under a new name.
- Compile: compiles the saved programs with the chosen compile template. For CICS programs, choose the region and whether the job ends with a new copy (
CEMT SET PROG PHASEIN). A failed compile can be retried or overridden.
Good to know
- Programs in other PDSs are saved and compiled in their own PDS.
- An IMS MPP region keeps the old load module until the region restarts.
- The coding agent can run the same steps, asking before it saves unless it has full access, and can test a journaled program through CoreIQ and read what the journal recorded.
Add an audit call after every VSAM and IMS DB change in COBOL programs, then save and compile them.