How to send a Subsystem Analyzer for DB2 for z/OS datastore to technical support when requested?
search cancel

How to send a Subsystem Analyzer for DB2 for z/OS datastore to technical support when requested?

book

Article ID: 36125

calendar_today

Updated On:

Products

Subsystem Analyzer for DB2 for z/OS

Issue/Introduction

If a Subsystem Analyzer for DB2 for z/OS (PSA) datastore is requested by technical support for analysis,
the following is sample JCL that should be used to copy the 2 VSAM datasets into sequential datasets.

Environment

Release: 20.0
Component: PSA

Resolution

The following sample JCL contains the correct block size and record length parameters for the sequential output datasets.
Once the sequential files have been created they have to be tersed using IBM AMATERSE utility and sent via FTP in binary format for analysis.

//XXXXXXXX JOB (106100000),'J. Doe - Repro',CLASS=A,MSGCLASS=4,
//        MSGLEVEL=(1,1),REGION=0M,NOTIFY=XXXXXXX              
//*                                                            
//STEP010  EXEC PGM=IDCAMS                                     
//*                                                            
//INFILE1  DD DSN=Your.DS.Name.PSA0001.SSID,DISP=SHR           
//INFILE2  DD DSN=Your.DS.Name.PSA0002.SSID,DISP=SHR           
//*                                                            
//OUTFILE1 DD DSN=Your.Output.Dataset.Number1,                 
//            UNIT=SYSDA,                                      
//            DISP=(NEW,CATLG,DELETE),                         
//            SPACE=(CYL,(25,10),RLSE),                        
//            DCB=(RECFM=FB,LRECL=24576,BLKSIZE=24576)         
//*                                                            
//OUTFILE2 DD DSN=Your.Output.Dataset.Number2,         
//            UNIT=SYSDA,                              
//            DISP=(NEW,CATLG,DELETE),                 
//            SPACE=(CYL,(25,10),RLSE),                
//            DCB=(RECFM=FB,LRECL=4096,BLKSIZE=4096)   
//*                                                    
//SYSPRINT DD SYSOUT=*                                 
//SYSUDUMP DD SYSOUT=*                                 
//AMSDUMP  DD SYSOUT=*                                 
//SYSOUD   DD SYSOUT=*                                 
//*                                                    
//SYSIN    DD *                                        
 REPRO INFILE (INFILE1) OUTFILE (OUTFILE1)             
 REPRO INFILE (INFILE2) OUTFILE (OUTFILE2)             
/*