Date and time stamp when executing TSS commands in batch.
search cancel

Date and time stamp when executing TSS commands in batch.

book

Article ID: 274595

calendar_today

Updated On:

Products

Top Secret

Issue/Introduction

Is there a way to add the date and time in the output when a TSS command is executed in batch?

Environment

Release : 16.0

Resolution

Use the  IBM JCL 'TIME' parameter after each TSS command in batch, which will place the time and date in the output.

Example,

TSS MODIFY(VERSION)

TIME

the output would look like the following:

TSS MODIFY(VERSION)                                                                          
TSS9660I VERSION=16.0.01  KO                                                                  
TSS0300I  MODIFY   FUNCTION SUCCESSFUL                                                        
READY                                                                                        
TIME                                                                                          
IKJ56650I TIME-03:07:26 PM. CPU-00:00:00 SERVICE-1926 SESSION-00:00:00 SEPTEMBER 28,2023      
READY