IBM Support

How Much Data is Saved When Using BRMS

Troubleshooting


Problem

This program checks the size of each save and add it up according to options selected.

Resolving The Problem

Disclaimer: This document contains code made available by IBM Corporation on an as is basis. Anyone receiving this document is considered to be licensed under IBM copyrights to use the IBM-provided source code in any way he or she deems fit, including copying it, compiling it, modifying it, and redistributing it, with or without modifications. No license under any IBM patents or patent applications is to be implied from this copyright license.


This program checks the size of each save on a tape or optical  volume and adds it up according to options selected. The results are the amount of raw data saved and this cannot be used to determine the amount of data on a tape/optical because of compaction, compression etc.

This program has four options:

1. By Job

CALL VOLUSEAGE PARM('*JOB' 'Job' 'User ' 'job nbr')

File Created - QTEMP/VOLUSAGE

DSPPFM QTEMP/VOLUSAGE



2. By Volume

CALL PGM(VOLUSEAGE) PARM('*VOL' 'XXXXXX') where 'XXXXXX' is the volume ID

File Created - QTEMP/VOL

DSPPFM QTEMP/VOL



3. By Volume - multiple

CALL PGM(VOLUSEAGE) PARM('*VOLM' 'XXXXXX') where 'XXXXXX' is the volume ID

File Created - QTEMP/VOLM

DSPPFM QTEMP/VOLM



4. By Date Range

CALL PGM(VOLUSEAGE) PARM('*DATE' 'MMDDYY' 'MMDDYY')

File Created - QTEMP/VOLDATE

DSPPFM QTEMP/VOLDATE


Program is in the attached save file. FTP the save file to the systems and run the following command to restore it:

RSTOBJ OBJ(VOLUSEAGE) SAVLIB(QGPL) DEV(*SAVF) OBJTYPE(*PGM) SAVF(VOLUSE)

voluse voluse

Notes:
  1. If media spans volumes, the continuation sequence is included only on the first volume.
  2. If parallel saves are done, the items saved in parallel-parallel are included on the first drive used.
    • Example: TAP01 BRM001 BRM002 TAP02 BRM003 BRM004 .Items saved on all four volumes in parallel-parallel mode.
    • Program will only report items saved on volumes BRM001 and BRM003.
  3. Output is sorted by volume ID and by system ID (if receive media info is set to *LIB).
  4. This is the amount of data saved, not the actual amount of data on the cartridges due to compaction and compression that might take place.
  5. Files created by the program are placed in QTEMP library. The existing file is deleted and a new one is created (except when parameter *VOLM is used).
  6. When run multiple times with *VOLM in the same job stream, a new entry is added to the file each time.
  7. All parameters need to be in uppercase.
  8. Output in the physical file is "SYSTEM ID" "VOLUME ID" "TOTAL AMOUNT of DATA SAVED in BYTES".
    • When the job ends, QTEMP is deleted for that user. Either save or copy the required file (VOLUSE, VOL, VOLM or VOLDATE) before ending the job.
  9. The maximum size program can calculate is 999,999,999,999,999,999 bytes
Note: At V6R1M0 and higher a new report function has been added called PRTRPTBRM.
This report can provide information about the amount of data that was saved.
See BRMS Wiki for more information: Backup control group status - PRTRPTBRM

[{"Type":"MASTER","Line of Business":{"code":"LOB57","label":"Power"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG60","label":"IBM i"},"Platform":[{"code":"PF012","label":"IBM i"}],"Version":"7.1.0"}]

Historical Number

552159884

Document Information

Modified date:
23 August 2022

UID

nas8N1012478