OPSREST - How to use system symbols in MAINARGS parameters?
search cancel

OPSREST - How to use system symbols in MAINARGS parameters?

book

Article ID: 431722

calendar_today

Updated On:

Products

OPS/MVS Event Management & Automation

Issue/Introduction

The OPSREST JCL has the following statement:

//MAINARGS DD *                                                
-jar bin/opsREST.jar                                           
--spring.config.additional-location=file:etc/application.yml   

How to use a z/OS system symbol like &SYSNAME in the parameters.

Environment

OPS/MVS

Resolution

One possible solution is to use the following:

//MAINARGS DD *,SYMBOLS=EXECSYS                                                
-jar bin/opsREST.jar                                           
--spring.config.additional-location=file:etc/&SYSNAME.application.yml