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.
OPS/MVS
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