SYSVIEW Performance Management

 View Only

 How to backup up a portion of data from CICSLOGR.TRAN logstream

Fernando Soriano's profile image
Fernando Soriano posted May 02, 2025 03:37 PM

Hi Community

I appreciate so much your advise on this question:

I looking for a way to backup just one day (end of month 30/04/2025) from our CICSLOGR.TRAN logstream, I can't back it up completely because it's a huge file. The purpose of that backup is to generate reports in the future.

Any advice will be welcomed, thanks in advance.

Best regards.

Fernando

William Keenan's profile image
Broadcom Employee William Keenan

Hello Fernando,

Perhaps JCL similar to the following would be helpful.

//SYSUT1   DD DISP=SHR,DSN=SYSVIEW.CICSLOGR.TRAN,                   
//      SUBSYS=(LOGR,GSVXLGEX,                                      
//         'DURATION=(24,HOURS)',                                   
//         'STATS,EXPAND,BACKWARD,NORDW'),                          
//            DCB=(DSORG=PS,RECFM=VB,LRECL=32756,BLKSIZE=32760)     
//*                                                                 
//SYSIN    DD DUMMY                                                 
//SYSPRINT DD SYSOUT=*                                              
//SYSUDUMP DD SYSOUT=*                                              
//SYSOUT   DD SYSOUT=*                                              
//*                                                                 
//SYSUT2   DD DSN=SYSVIEW.CICS.TRAN.BK(+1),DISP=(NEW,CATLG,DELETE), 
//            DCB=(RECFM=VBS,LRECL=32756,BLKSIZE=32760),            
//            SPACE=(CYL,(400,250),RLSE)                            

You can set the duration to a higher value if needed. This could also be used as a daily backup if needed.