Are symbolics allowed in the parameters for CCI ?
search cancel

Are symbolics allowed in the parameters for CCI ?

book

Article ID: 198026

calendar_today

Updated On:

Products

COMMON SERVICES FOR Z/OS 90S SERVICES Common Services

Issue/Introduction

Is it possible to use symbolics in the parameters for the CCI component of Common Services for z/OS r15?  If so, how?  


The following is an example for 1 system of what i'm trying to simplify;

IF(SYSNAME='CBOC')
SYSID(CBOC)
PROTOCOL(TCPSSLGW,21721,1,CBOC)
ENDIF()
*
IF(SYSNAME='CBOC'&SYSDR='C')
SYSID(PRECBOC)
PROTOCOL(TCPSSLGW,21721,1,PRECBOC)
ENDIF()
*
IF(SYSNAME='CBOC'&SYSDR!='P'&SYSDR!='H'&SYSDR!='C')
SYSID(CBOCDR)
PROTOCOL(TCPSSLGW,21721,1,CBOCDR)
ENDIF()

Due to the number of systems we have, this results in a lot of similar parameters, so I'd like to be able to simplify to something like the following;

SYSID(&SYSNAME.)
PROTOCOL(TCPSSLGW,21721,1,&SYSNAME.)
*
IF(&SYSDR='C')
SYSID(PRE&SYSNAME.)
PROTOCOL(TCPSSLGW,21721,1,PRE&SYSNAME.)
ENDIF()
*
IF(SYSDR!='P'&SYSDR!='H'&SYSDR!='C')
SYSID(&SYSNAME.DR)
PROTOCOL(TCPSSLGW,21721,1,&SYSNAME.DR)
ENDIF()

Cause

Due to a large number of systems, the customer needs to code an excessive number of different CCI parameters 

Resolution

You can only use the IF statements and then use the PROTOCOL statement in the IF (together with the NODE / CONNECT statements), in conjunction with ENDIF.

Currently, symbolics can be used for values on the PROTOCOL NODE/CONNECT statements within the IF/THEN -  ENDIF   They cannot be used for the parms themselves. 

Please see the Component Reference Section of the doc for more information . 
The protocol statement cannot be adjusted.