Is there a distributed sample job to copy out (REPRO backup) any NetMaster (or SOLVE) VSAM KSDS file to a sequential file, so that it can then be copied in (REPRO restore) to the newly redefined (DEF CLUSTER) file?
search cancel

Is there a distributed sample job to copy out (REPRO backup) any NetMaster (or SOLVE) VSAM KSDS file to a sequential file, so that it can then be copied in (REPRO restore) to the newly redefined (DEF CLUSTER) file?

book

Article ID: 53356

calendar_today

Updated On:

Products

CMDB for z/OS NetSpy Network Performance NetMaster Network Automation SOLVE NetMaster Network Management for SNA NetMaster Network Management for TCP/IP NetMaster File Transfer Management SOLVE:Operations Automation SOLVE:Access Session Management SOLVE:FTS

Issue/Introduction

Description

Sometimes it is necessary, after the NetMaster (or SOLVE) region is shut down, or at least after the file is unallocated using the UNALLOC command, to change the VSAM KSDS file characteristics, such as the file size (because it was full or due to increased file usage). To achieve it, the file must be backed up to a sequential file, reallocated, and finally restored to its new VSAM KSDS definition.

Solution

The IPREORG member in hlq.IPSAMP is the only distributed sample provided to reorganize IPLOG.

However, it can be readapted to any other VSAM KSDS file, including VFS.

The following DCB (DD2 DD) is for the sequential dataset based on this sample, and can be used to copy out (REPRO backup) any NetMaster (or SOLVE) region VSAM KSDS file to a sequential file:

    //COPYOUT  EXEC PGM=IDCAMS 
    //SYSIN    DD DUMMY 
    //DD1      DD DSN=&IPLOGDSN,DISP=SHR 
    //DD2      DD DSN=&BKUPDSN,DISP=(NEW,CATLG), 
    //         SPACE=(CYL,(&BKUPPRI,&BKUPSEC)), 
    //         DCB=(RECFM=U,BLKSIZE=32760),             
    //         VOL=SER=&BKUPVOL,UNIT=&BKUPUNIT 

Please see the hlq.IPSAMP(IPREORG) member for full reorganization details.

Environment

Release: SLFTS.00200-11.6-SOLVE:FTS
Component: