CAS9125E - Invalid data: Unbalanced parentheses.

Document ID : KB000050827
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

Unlike previous releases of CA Common Services, release 12.0 is enforcing the 72-character limit for an input statement. As a result, any characters beyond column 72 will not be accounted for and may result in an error. One such example is the following CAIRIM initialization statement that can be defined in the CARIMPRM member of the CAIOPTN library.

****** ***************************** Top of Data **************************************
=COLS> ----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8
000100 PRODUCT(CAIRIM) VERSION(S910) INIT(CAS9INIT) PARM(REFRESH(SSF,MB838,LMP)00000001
****** **************************** Bottom of Data ************************************

As seen in the above example, the last closing parentheses is missing and as a result the defined statement is syntactically incorrect. When the CAS9 procedure is run, this statement will be flagged in error and the initialization will fail with a RC=08

Here are the error messages as seen in the system log.

CAS9115I - Input: PRODUCT(CAIRIM) VERSION(S910) INIT(CAS9INIT)
PARM(REFRESH(SS
CAS9125E - Invalid data: Unbalanced parentheses.
CAS9173E - Errors detected during CAIRIM initialization

Solution:

Any initialization statement that will extend beyond column 72 should be split and continued on a new line. Statements can be continued on the next line by placing a dash (-) at the end of the line, but a keyword and its operands that are contained within parentheses must be on the same line. Using the previous statement as an example, the initialization can be defined as follows:

****** ***************************** Top of Data **************************************
=COLS> ----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8
000100 PRODUCT(CAIRIM) VERSION(S910) INIT(CAS9INIT) -                          00000001
000200 PARM(REFRESH(SSF,MB838,LMP))                                            00000002
****** **************************** Bottom of Data ************************************