1,350 pts.
 Default JRNL & JRNLRCV in AS/400?
what are the default jrnl & jrnlrcv in as400?

Software/Hardware used:
ASKED: October 13, 2011  6:57 AM
UPDATED: November 16, 2011  4:56 AM
  Help
 Approved Answer - Chosen by Rajasekhar15 (Question Asker)

First, some features are not available in older releases of the OS; so this is for recent releases -- say, V5R3 or later.

When you use SQL to create a collection, the system will create a journal named QSQJRN in the schema. That will be the default journal for that schema.

If you have a standard library, you can create a data area in that library named QDFTJRN. The data area will contain the name of the journal that you want to be the default journal for new objects created in that library. See Automatically starting journaling for details on values you store in the data area.

For an IFS directory, if use STRJRN to start journaling on that directory, you can specify the INHERIT(*YES) parameter. That sets the journal for the directory as the default journal for new objects in that directory.

The system audit journal is always named QAUDJRN and it must be created in library QSYS. The journal receivers can be in any library you choose. The system job accounting journal is always named QACGJRN and it must also be created in library QSYS. The receivers can be created wherever is best for you.

One of the quickest ways to see examples of other journals is to run WRKJRN with default parameters. Some (or all) of the journals in your library list will be listed. This includes journals in the system portion of your library list. If you are not authorized to use a journal, a diagnostic message will be sent to your session with the name of the journal in the message. There might be a number of messages for you to scroll through if journals are restricted from viewing.

Tom

ANSWERED:  Oct 20, 2011  2:31 AM (GMT)  by Rajasekhar15

 
Other Answers:

Hi I have google this and I read this and i think it is good…it is about journals..can be found below

http://www.redbooks.ibm.com/redbooks/pdfs/sg245189.pdf

Last Wiki Answer Submitted:  October 13, 2011  8:33 am  by  jinteik   15,485 pts.
Latest Answer Wiki Contributors:  jinteik   15,485 pts.
To see other answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

what are the default jrnl & jrnlrcv in as400?

Default for what?

Do you want to know what journal will be automatically created when you run CREATE COLLECTION? Do you want to know how to define a default journal for a library? Do you want to know what journal will be used for system audit events? …or for job accounting? …or for other types of system activities?

There are many possible answers. Can you say a little more about what you need to know? What do you need to accomplish? Journals are used for many purposes.

Tom

 108,360 pts.

 

YES YES YES YES YESSSSS…. TOM:-)

 1,350 pts.

 

want to know how to define a default journal for a library?
want to know what journal will be used for system audit events? …or for job accounting? …or for other types of system activities?

 1,350 pts.