How do I use RSVP to create $SM compress statements?

Document ID:  TEC1950104
Last Modified Date:  06/21/2016
{{active ? 'Hide' : 'Show'}} Technical Document Details

Products

  • CA RSVP

Releases

  • CA RSVP:Release:1.0 SP 1
  • CA RSVP:Release:1.0 SP02
  • CA RSVP:Release:1.0 SP03

Components

  • CA ASM2 Backup and Restore:ASM2
  • CA RSVP:RSVP

Question:

Can you please provide a sample of using RSVP to generate $SM COMPRESS statements for multiple volumes?

Answer:

Your first step will be to run the ASM2CMDU proc to gather the data with the RSVP sample below. Add a DD statement to the proc to send the $SM commands to:    //$RSTRANS DD  DISP=SHR,DSN=yourhlq.RSTRANS

This sample will make $SM compress statements for specific high level qualifiers to be processed in a subsequent process.

$RSVP VOL(ALL) -                                   
HEADING1('1     COMPRESS FILES ON ALL VOLUMES FOR SPECIFIC HLQ   ') -
HEADING2('-    BY STORAGE ADMIN ) -                          
TRK BLIST(ACTION1) SORT(VOLUME) -                  
ACTION('          $SM DA(''') COM(''') NORLSE ') -                     **note the build for the statement stored in the output file
BEGIN(BLAJO02 BOUFR01 4498JE1 TEST) -                            **note the sample high level qualifiers             
PRINT(ADD (DSORG CAT LMJOB LMDATE CREDT))                  **your report of the files in the output file          

Your second step will be to process the $SM statements in your $RSTRANS file using the ASM2CMDU proc:

your sysin will be:

//SYSIN    DD  DISP=SHR,DSN=yourhlq.RSTRANS                     
 

You can do this in a single job with 2 steps or 2 separate jobs if you want to review the report produced in the first step before executing the $SM compress statements.

Additional Information:

For more details and examples please review the CA RSVP User Guide

 

Please help us improve!

Will this information enable you to resolve your issue?

Please tell us what we can do better.

{{feedbackText.length ? feedbackText.length : '0'}}/255

{{status}}

Not what you were looking for?

Search Again >

Product Information

Support by Product >

Communities

Join a Community >