IBM Support

How do you collect an SSL Trace using a batch job?

Question & Answer


Question

Need directions on collecting an SSL Trace using a batch job.

Answer

You can modify and use the batch job sample below to collect the trace:

 //FTPBTCH  JOB MSGCLASS=A,MSGLEVEL=(1,1),CLASS=A,NOTIFY=&SYSUID  
 //FTP      EXEC PGM=FTP,REGION=3M,                               
 //  PARM=(,                                                      
 //   'ENVAR("GSK_TRACE=0xffff","GSK_TRACE_FILE=/tmp/ssl.trace")',
 //   '/(EXIT')                                                   
 //SYSPRINT DD SYSOUT=*                                           
 //OUTPUT   DD SYSOUT=*,DCB=(LRECL=160,RECFM=FB,BLKSIZE=16000)    
 //INPUT    DD *                                                  
 -r TLS -d server_IPaddress                                       
 userid password                                                  
 locstat                                                          
 quit                                                             
 /*                                                                                 

After GSK trace file gets created, you need to issue an OMVS command to convert the trace file to a readable text file:

 gsktrace input_trace_file > output_trace_file                                                             
 input_trace_file would be /tmp/ssl.trace                 
 output_trace_file can be any name, say /tmp/ssltrace.txt 
                                                      

              
                                                                                                                   


[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSSN3L","label":"z\/OS Communications Server"},"Platform":[{"code":"PF035","label":"z\/OS"}],"Component":"","Version":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Product Synonym

ZOSCS COMMSERVER

Document Information

Modified date:
28 May 2015

UID

dwa1193598