CL Command Reference - MOVSPLFBRM

CL Command List > MOVSPLFBRM Reference

Description:

The Move Spooled Files using BRM (MOVSPLFBRM) command provides for the movement of selected spooled files to a specified library-qualified output queue. Selection criteria includes library-qualified from output queue name, from auxiliary storage pool, spooled file, job name, job user, job number, user data, create date range, last used date range, and size range. A run option of *REPORT is provided to allow the user to review the ¡åMove Spooled Files using BRM¡å report prior to moving the selected spooled files. The report, if printed, is written to printer file QP1AMSF.

Using the output queues¡¯ spooled file auxiliary storage pool attribute, BRMS determines whether spooled files will actually move from one auxiliary storage pool to another when moved from one output queue to another. If a spooled file that moves from one outq to another does not move from one auxiliary storage pool to another then BRMS does not check the auxiliary storage pool high storage threshold since the spooled file does not move. If a spooled file that moves from one outq to another also moves from one auxiliary storage pool to another, then before requesting the spooled file to move BRMS determines if the target auxiliary storage pool has sufficient space to accommodate the spooled file without exceeding the high storage threshold. If the spooled file cannot be moved without exceeding this threshold, BRMS will show that the file was not moved, and the file will be included in the summary section detail which indicates the number of files and amount of spooled data that could not be moved.

To use this command, you must have the Backup Recovery and Media Services for iSeries, 5722-BR1, licensed program installed.

Restriction:

. The BRMS Advanced feature (Option 2) is required to use this command.


Examples:

Example 1: Move Large Spooled Files in System ASP

MOVSPLFBRM OPTION(*MOVE) TOOUTQ(MYLIB/MYOUTQ)
FROMASP(*SYSTEM) SLTSIZE(*MB 50 *NOMAX)

This command moves all spooled files currently in the system ASP that are fifty or more megabytes in size to the output queue named MYOUTQ in the library named MYLIB. This example assumes MYLIB is not in the system ASP, and the ASP attribute of the spooled file for the MYOUTQ output queue specifies that spooled files are placed in the same ASP as the output queue.