Journals for Dummies Part 4 – DSPJRN and Journal Entry Types

By iCluster Tech Tuesday

3 minuti di lettura

In our last post we talked about how to find all the objects that are journaled to a particular journal. In this post we will cover how to analyze what is in your journals by journal entry type using the DSPJRN command.

Once you know what journal and file or object you are interested in for problem analysis, the DSPJRN command (Display Journal) is what you need to use to figure out what has happened by transaction. The command will prompt for a journal name and library, and then prompt for a particular file or object. If you just want to see what’s going on for everything, leave these blank and page down two pages until you see Range of Journal Receivers. Here you can specify a range of receivers to display, or a starting and ending time and date.

We are interested in the CUSTOMER file in library PAYROLL, so as shown below we have specified this in the file prompt.

screenshot1

If you hit enter and see the nasty message “No entries converted or received from journal <journal name>"

screenshot2

It means the default value for starting journal receiver of *CURRENT isn’t going to work as there may be nothing in the currently attached receiver for your particular file or object.

Screenshot3

There are 2 ways to fix this problem, the first is to use the WRKJRNA (Work with Journal Attributes) command and option 15 Work with receiver directory, to see all of the receivers in the current chain. It’s possible the current receiver was attached just a few minutes ago and thus there are no relevant transactions.

Screenshot4

Use option 8 on this screen to display the attributes of the currently attached receiver as shown below.

Screenshot5

An easier method is to retrieve your DSPJRN command and specify *CURCHAIN on the starting journal receiver element of Range of journal receivers.

Screenshot 6

The result is shown below:

Screenshot7

Now we can see a number of entries with a combination of codes and entries such as Code F and Entry MS, or Code R and Entry UP. What are these cryptic codes and entries? Use Option 5 for Display entire entry next to the sequence number to see what they mean. For example using 5 next to sequence number 366502 (the F MS entry) we see that Code F is Database file member operation and Entry type MS is Member saved.

Screenshot8

Well this is all fine and dandy if you know what you are looking for, but if you want to figure out who updated the customer file and what it looked like before the update and what it looked like after the update – what code and type do you use?

Here is where the IBM Knowledge Center Journal information finder comes into play. Use this link http://www-01.ibm.com/support/knowledgecenter/ssw_ibm_i_71/rzaru/rzarufinder.htm and just use the pulldown box on Search by Category to see the valid Code values at IBM i7.1. You can also hit the Go button once you choose a category, to see just the Entry types for that particular code.

Screenshot9

So you can see under Code R Operation on specific record:

Screenshot10

That R UB is an update before-image of a record while R UP is an update after-image of a record.

Just be aware that IBM likes to change the name of its tool and products, so for earlier releases it may be under IBM Infocenter journal code finder or just journal code finder. Google is your friend!

Stay tuned next week to see how this ties into iCluster journal analysis!

Post correlati

Security & Compliance

Pronti per la fatturazione elettronica: scadenze, requisiti e prossimi passi pratici

1 minuto di lettura

Pronti per la fatturazione elettronica: scadenze, requisiti e prossimi passi pratici

Sicurezza informatica

La fiducia non equivale alla conformità

Rocket Software4 minuti di lettura

Le organizzazioni del settore dei servizi finanziari ripongono grande fiducia nei propri programmi di conformità, ma questa fiducia non sempre rispecchia la realtà. Nonostante solidi processi di governance e regolari verifiche degli accessi, molte organizzazioni continuano a dover affrontare rilievi da audit, costi di bonifica e un maggiore controllo normativo in relazione ai controlli di accesso ai mainframe. Con la crescente diffusione di audit e analisi basati sull'intelligenza artificiale, le lacune di sicurezza di vecchia data, un tempo difficili da individuare, stanno diventando sempre più evidenti. Le organizzazioni necessitano di un approccio moderno alla sicurezza delle identità che rafforzi la conformità senza compromettere i sistemi critici.

Data

Modernizzare l' Enterprise con i sistemi IBM z17 a telaio singolo e montabili su rack.

Tim Willging3 minuti di lettura

Le organizzazioni sono sottoposte a una pressione crescente per migliorare la propria preparazione all'intelligenza artificiale senza interrompere i sistemi critici su cui fanno affidamento ogni giorno.