ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

ENFCMD delay

book

Article ID: 236815

calendar_today

Updated On:

Products

COMMON SERVICES FOR Z/OS

Issue/Introduction

Is there a way to put a delay in the CAENF startup commands?

Having an issue with a specific startup coming up too soon and need to delay it by 30 seconds or so. 

Environment

COMMON SERVICES 15.0 - z/OS supported releases -

Resolution

The WAIT option can be used for CAIRIM AUTOCMD

WAIT(nnn) option where nnn is 0 - 999

The WAIT command is only valid as an AUTOCMD in CAIRIM, not for CAENF.

The CAIRIM auto commands member specifies one command per line, exactly as it would be issued from the operator console.

Comments can be added by placing an asterisk (*) in Column 1. 

The option WAIT(nnn) causes the auto-command process to pause nnn seconds, where nnn is a number in seconds from 0 through 999.

Example: Auto Command for Top Secret: 

In this example, Top Secret starts automatically after 30 seconds: 


Col 1
     *  Bring up TSS 
     START TSS 
     WAIT(30)