Where allowed to run: All environments (*ALL) Threadsafe: Yes |
Parameters Examples Error messages |
The End Journal Object (ENDJRNOBJ) command is used to end journaling of changes for an object or list of objects.
All objects, of object types *DTAARA and *DTAQ, that are currently being journaled to a specific journal may also have journaling stopped.
For other ways to end journaling see the following commands:
Restrictions:
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
OBJ | Object | Single values: *ALL Other values (up to 300 repetitions): Qualified object name |
Required, Positional 1 |
Qualifier 1: Object | Name | ||
Qualifier 2: Library | Name, *LIBL, *CURLIB | ||
OBJTYPE | Object type | *DTAARA, *DTAQ, *ALL | Required, Positional 2 |
JRN | Journal | Single values: *OBJ Other values: Qualified object name |
Optional, Positional 3 |
Qualifier 1: Journal | Name | ||
Qualifier 2: Library | Name, *LIBL, *CURLIB |
Top |
Specifies a maximum of 300 objects for which changes are no longer to be journaled.
This is a required parameter.
Single values
Qualifier 1: Object
Qualifier 2: Library
Top |
Specifies the object type for which journaling is to be ended.
This is a required parameter.
Note: If OBJTYPE(*ALL) is specified, then OBJ(*ALL) must also be specified.
Top |
Specifies the qualified name of the journal to which changes in the objects are currently being journaled.
Single values
Qualifier 1: Journal
Qualifier 2: Library
Top |
Example 1: End Journaling All Data Areas and Data Queues
ENDJRNOBJ OBJ(*ALL) OBJTYPE(*ALL) JRN(MYLIB/MYJRN)
This command stops journaling all changes to all objects of type *DTAARA and *DTAQ to journal MYJRN in library MYLIB.
Example 2: End Journaling for Specific Data Area
ENDJRNOBJ OBJ(DTALIB/MYDTAARA) OBJTYPE(*DTAARA)
This command stops the journaling of all changes to data area MYDTAARA in library DTALIB.
Top |
*ESCAPE Messages
Top |