Moving journal receivers from an overflowed basic user auxiliary storage pool

To maintain journaling for objects, follow these steps.

  1. Use the Work with Journal Attributes (WRKJRNA) command to determine the names of the journal receivers associated with the journal: WRKJRNA JRN(library-name/journal-name)
  2. Use F17 to display the attributes of the receiver that is attached.
  3. If the journal receiver to be moved is attached to a journal, create a new journal receiver on a different auxiliary storage pool (ASP) by using the Create Journal Receiver (CRTJRNRCV) command.
    Assume the currently attached receiver is CUSTR0005. Use a name for the journal receiver that continues your naming conventions.

    If the journal receiver is in a user ASP, follow these steps:

    1. Create a new library in a different ASP, such as LIBJNEW: CRTLIB LIB(LIBJNEW) ASP(4)
    2. Create a new journal receiver in the library. Specify the attributes that you displayed. For example, if the threshold of the current receiver is 100000, you would specify the following:
      CRTJRNRCV JRNRCV(LIBJNEW/CUSTR0006) THRESHOLD(100000)

    If the journal receiver is in a nonlibrary user ASP, create a new journal receiver in a different nonlibrary user ASP or in the system ASP: CRTJRNRCV JRNRCV(CUSTJRNR/CUSTR0006) ASP(5)

  4. Change the journal by using the Change Journal (CHGJRN) command.
    Specify the newly created journal receiver on the JRNRCV parameter: CHGJRN JRN(CUSTJRNR/CUSTJRN) JRNRCV(library-name/CUSTR0006)
  5. Save the journal receivers from the overflowed user ASP.
    If the journal receivers are the only objects in the library, use the Save Library (SAVLIB) command. If other objects are in the library, use the Save Object (SAVOBJ) command.
  6. If you used the SAVLIB command in step 5, delete the library from the overflowed user ASP by using the Delete Library (DLTLIB) command.
    If you used the SAVOBJ command, delete the journal receivers using the Delete Journal Receiver (DLTJRNRCV) command.
  7. Journal receivers can be restored only to the library from which they were saved.
    The steps required to restore these journal receivers if you need them for a recovery depend on whether they were in a library user ASP or a nonlibrary user ASP. For journal receivers in a nonlibrary user ASP, you can restore them to any ASP, as long as their library is in the system ASP. For libraries that were in a library user ASP, you must ensure that the ASP has adequate space before restoring the journal receivers to the library.