How to use NIM custom fields with ADDRESS USS SMREQ?
search cancel

How to use NIM custom fields with ADDRESS USS SMREQ?

book

Article ID: 277172

calendar_today

Updated On:

Products

OPS/MVS Event Management & Automation

Issue/Introduction

When using the ADDRESS USS SMREQ statement in OPS/REXX programs several keywords correspond to NIM fields. How to use NIM custom fields for which there is no keyword available?

Resolution

Use the KEYWORDS and VALUES keywords:

KEYWORDS(customName1 customName2)  VALUES('value for customName1'  'value for customName2')

Example using the sample REXX OPSMREQ as a model:

/* ServiceNow */                       
cmd = "description('ServiceNow')"      
cmd = strip(cmd) "KEYWORDS(customfield) VALUES('some value')"  
cmd = strip(cmd) "Service(ServiceNow)" 
say "Calling ServiceNow"               
call doit