Error creating incident from OPS/MVS via NIM: OPS0996I HTTP REQUEST FAILED - HTTP/1.1 401
search cancel

Error creating incident from OPS/MVS via NIM: OPS0996I HTTP REQUEST FAILED - HTTP/1.1 401

book

Article ID: 381874

calendar_today

Updated On:

Products

OPS/MVS Event Management & Automation

Issue/Introduction

When creating an incident with ADDRESS USS SMREQ the following error is occurring:

OPS0996I     HTTP REQUEST FAILED - HTTP/1.1 401                                                      
OPS0996I     RESPONSE BODY: BUF=1D3FA388 LEN= 127                                                    
OPS0996I          :"ERROR"::"ERRORCODE":139,"ERRORMESSAGE":"REQUEST UNAUTHORIZED","HTTPRESPONSECOD   
OPS0996I          E":"UNAUTHORIZED","HTTPRESPONSECODEVALUE":401::                                    
OPS0996I                                                                                             
OPS0996I SMREQ.RESPONSE.ErrorCode='139'                                                               
OPS0996I SMREQ.RESPONSE.ErrorMessage='Request unauthorized'    

Environment

OPS/MVS NIM

Cause

Wrong userid or password being passed to NIM.

Resolution

The NIM administrator panel can be passed directly in the ADDRESS USS SMREQ using the keywords USER and PASSWORD or defaulting in the ENVFILE pointed by the OPSUSS server: 

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

Inside the member above:

CA_OPS_CANIMSM_USER=nimadmin     
CA_OPS_CANIMSM_PASSWORD=nimadmin