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

Document ID : KB000036125
Last Modified Date : 14/02/2018
Show Technical Document Details

Introduction: 

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

Question: 

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

Environment:  

Thread Terminator for DB2 for z/OS r17.0 and above.

Answer: 

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 can be PACKed using IBM's 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)             
/*