No USSCMD output captured in stem variable
search cancel

No USSCMD output captured in stem variable

book

Article ID: 239341

calendar_today

Updated On:

Products

OPS/MVS Event Management & Automation

Issue/Introduction

Working to have an interface between OPSUSS and the IBM CSM product via the command line interface. Wondering what I have missed in the configuration (if anything) of OPSUSS that is preventing getting the output back into a REXX stem. 

 

ctext = "sh csmcli.sh 'cmdsess -help -noinfo'"       
"USSCMD COMMAND('"ctext"') LOG(Y) STEM(csm.)"        

 

Environment

Release : 14.0

Component : OPS/MVS

Cause

The USSCMD is not waiting long enough for output to be returned.

Resolution

Add a WAIT keyword to the USSCMD statement as follows:

"USSCMD COMMAND('"ctext"') LOG(Y) STEM(csm.) WAIT(300)"

Additional Information

Description of USSCMD keywords including the WAIT keyword:

ADDRESS USS Commands