Command issued via OPSLINK does not wait long enough for output
search cancel

Command issued via OPSLINK does not wait long enough for output

book

Article ID: 233744

calendar_today

Updated On:

Products

OPS/MVS Event Management & Automation

Issue/Introduction

I've an assembler program that calls the "OPSLINK" program to execute a command and I specify a memory area in the parameters to obtain the result of the command.  
Often, there is an important delay before the result of the command arrives (sometimes 30 seconds), and I have no result in the memory area.  
Is there a default for how long "OPSLINK" waits for the result ?
Is there an option or a parameter to change it ?

 

Environment

Release : 14.0

Component : OPS/MVS

Resolution

The length of time OPS commands issued via OPSLINK wait for a response can be configured using the OCWAIT parameter.

The OCWAIT parameter specifies how many seconds an OPSCMD command or ADDRESS OPER command will wait for command output when issued natively, from a REXX exec or from OPSLINK. The default value is 10 seconds, and the range available is anywhere from 2 to 60 seconds.

The OCWAIT parameter is described below:

Command Related Parameters