Error executing the curl command on an OPSUSS server
search cancel

Error executing the curl command on an OPSUSS server

book

Article ID: 274739

calendar_today

Updated On:

Products

OPS/MVS Event Management & Automation

Issue/Introduction

Error trying to execute the curl command on an OPSUSS server:

>O>   USSCMD COMMAND('/u/user/somescript') LOG(Y) STEM(RESPONSE.) WAIT(30)    
+++    RC(8)                                                                  
*-* 6:trace e                                                                 
 |    RC:8  /  USSCODE:1127  /  USSREASON:0                                   
 |0   Response.0 = 1                                                          
 |1   Response.1 = curl: /u/user/somescript 3: FSUM7351 not found    

Environment

Release : 14.0

Resolution

curl path was missing for the OPSUSS servers

In case you need to change the PATH available for the OPSUSS servers you can do so by updating the member pointed by the DD ENVFILE of the OPSUSS server. The default DD is:

//ENVFILE  DD DISP=SHR,DSN=SYS1.OPS.CCLXCNTL(USSENV00) 

Check the JCL of your OPSUSS servers to see what file is being used. Check if this member sets the PATH variable. You can add a new path by including for example:

PATH=$PATH:/bin/curlpath     <-- where "/bin/curlpath" is the path where curl is