Command reference / sec
CPYAUDJRNE
Copy Audit Journal Entries
Copies entries from the QAUDJRN security audit journal to database output files. Each selected entry type goes into a separate file.
Allowed environments: *INTERACT, *IPGM, *IREXX, *EXEC, *BATCH, *BPGM, *BREXX.
Positional parameters: 3.
Parameters
ENTTYP
Journal entry types
Sets the journal entry types to be copied to an output file.
Suggested / special values:
*ALL
*ALL- All audit record entry types are selected.
AF- Authorization failure.
AD- Auditing changes.
AP- Obtaining adopted authority.
AU- Attribute changes.
AX- Row and colum access control.
CA- Change authority.
CD- Command string.
CO- Create object.
CP- Change user profile.
CQ- Change of *CRQD object.
CU- Cluster management operations.
CV- Connection verification.
CY- Cryptographic configuration.
C3- Advanced Analysis command configuration.
DI- Directory services.
DO- Delete object.
DS- DST security password reset.
EV- Environment variable operations.
FT- FTP client operations.
GR- Generic record.
GS- Socket descriptor was given to another job.
IM- Intrusion monitor.
IP- Interprocess communication.
IR- IP rules action.
IS- Internet security management.
JD- Change to a user parameter of a job description.
JS- Actions against jobs entries.
KF- Key ring file.
LD- Link, unlink, or lookup directory entry.
ML- Office services mail actions.
M0- Db2 Mirror setup tools.
M6- Db2 Mirror communication services.
M7- Db2 Mirror replication services.
M8- Db2 Mirror product services.
M9- Db2 Mirror replication state.
NA- Network attribute changed.
ND- Directory search filter violations.
NE- End point filter violations.
OM- Object move or rename.
OR- Object restored.
OW- Object ownership changed.
O1- (Optical access) single file or directory.
O2- (Optical access) dual file or directory.
O3- (Optical access) volume.
PA- Program changed to adopt authority.
PG- Change of an object's primary group.
PF- Program Temporary Fix (PTF) operations.
PO- Printed output entries.
PS- Profile swap.
PU- Changes to Program Temporary Fix (PTF) objects.
PW- Invalid password entries.
RA- Authority change during restore.
RJ- Restoring job description with user profile specified.
RO- Change of object owner during restore.
RP- Restoring adopted authority program.
RQ- Restoring a *CRQD object.
RU- Restoring user profile authority.
RZ- Changing a primary group during restore.
SD- Changes to system distribution directory.
SE- Subsystem routing entry changed.
SF- Action on spooled files entries.
SG- Asynchronous signals.
SK- Secure sockets connections.
SM- System management changes.
SO- Server security user information actions.
ST- Use of service tools.
SV- System values changed entries.
VA- Changing an access control list.
VC- Starting or ending a connection.
VF- Closing server files.
VL- Account limit exceeded.
VN- Logging on and off the network.
VO- Validation list actions.
VP- Network password error.
VR- Network resource access.
VS- Starting or ending a server session.
VU- Changing a network profile.
VV- Changing service status.
XD- Directory services extension.
X0- Network Authentication.
X1- Identity token.
YC- DLO object changed entries.
YR- DLO object read entries.
ZC- Object changed entries.
ZR- Object read entries.
OUTFILE
Output file prefix
Sets the prefix for each database file to which the output of the command is directed. If an output file does not exist, this command creates the file in the specified library. If an output file is created by this command, the public authority for the file is set to *EXCLUDE.
QAUDIT- Each output database file name will begin with 'QAUDIT' with the audit entry type appended to form the complete file name. For example, QAUDITZR would be the file name if ENTTYP(ZR) was specified.
name prefix- Enter the first 1 to 8 characters of the name of each database file to which the audit entries will be copied. The audit entry type will be appended to the name prefix to form the complete database file name.
QTEMP- The QTEMP library for the job is used to locate the file.
*CURLIB- The current library for the thread is used to locate the file. If no library is specified as the current library for the thread, the QGPL library is used.
name- Enter the name of the library to be searched.
Qualified parts (object, then library; write LIBRARY/OBJECT)
Output file prefix
Output file prefix
Library
Library
Suggested / special values:
*LIBL, *CURLIB
JRNRCV
Journal receiver searched
Sets the starting (first) and ending (last) journal receivers whose journal entries are searched. Note: If the maximum number of receivers (256) in the range is surpassed, an error occurs and no journal entries are copied.
Allowed values:
*CURRENT, *CURCHAIN
*CURRENT- Journal entries in the currently attached journal receiver are searched.
*CURCHAIN- Journal entries in the currently attached journal receiver chain are searched.
(starting journal receiver)- Qualifier 1: Starting journal receiver name Specify the name of the first journal receiver from which entries are searched.
name (starting journal receiver)- Enter the name of the first journal receiver from which entries are searched.
(2)- Qualifier 2: Library *LIBL The library list is used to locate the journal receiver. *CURLIB The current library for the job is used to locate the journal receiver.
*LIBL (library)- The library list is used to locate the journal receiver.
*CURLIB (library)- The current library for the job is used to locate the journal receiver. If no library is specified as the current library for the job, QGPL is used.
name (library)- Enter the name of the library where the journal receiver is located.
*CURRENT (ending journal receiver)- The journal receiver that is currently attached is used as the ending journal receiver.
(ending journal receiver)- Qualifier 1: Ending journal receiver name Specify the name of the last journal receiver from which entries are searched.
name (ending journal receiver)- Enter the name of the last journal receiver from which entries are searched.
(3)- Qualifier 2: Library *LIBL The library list is used to locate the journal receiver. *CURLIB The current library for the job is used to locate the journal receiver.
Examples
CPYAUDJRNE ENTTYP(AF)
Copies all 'Authority Failure' audit records in the current journal receiver and puts them in member QAUDITAF in database file QTEMP/QAUDITAF.
CPYAUDJRNE ENTTYP(CO DO) OUTFILE(AUDITLIB/SYSTEM1)
Copies all 'Create Object' and 'Delete Object' audit records in the current journal receiver and puts them in database files AUDITLIB/SYSTEM1CO and AUDITLIB/SYSTEM1DO respectively.
CPYAUDJRNE ENTTYP(*ALL) OUTFILE(SAVEAUDIT/JUNE) OUTMBR(SMITHJ *REPLACE) USRPRF(SMITHJ) JRNRCV(*CURCHAIN) FROMTIME('06/01/2004' '00:00:00') TOTIME('07/01/2004' '00:00:00')
Copies all audit entries for user profile SMITHJ to a set of database files in library SAVEAUDIT that have names like JUNExx where the xx is the audit record entry type.
Generated from os/cl/catalog/CPYAUDJRNE.json and os/cl/help/CPYAUDJRNE.json.