Changing default "Generate As Subroutine" flag
search cancel

Changing default "Generate As Subroutine" flag

book

Article ID: 265805

calendar_today

Updated On:

Products

CA 2E

Issue/Introduction

Is there a method to change the default value for "Generate As Subroutine" from N to Y?

Environment

CA 2E 8.7.x

 

Resolution

There is a workaround possible using SQL.

If the number of EXCINTFUNs is less in number, then we recommend manually changing the function option.

If the number of functions is larger, you can utilize the following SQL statements and execute them from the STRSQL tool.

  1. Take a backup of the CA 2E product library (typically Y2SY) and your model library. If product library is restored under a different name such as Z2SY, then you need to take a backup copy of that library.
  2. Set the model library list by using EDTLIBL command
  3. From the command line, type STRSQL and press ENTER. This will open the STRSQL tool.
  4. Run the following commands. 

Please note that we have used Y2SY In the below SQL statements. If the product library is restored under a different name like Z2SY, please replace Y2SY/YMSGDTAPDP with Z2SY/YMSGDTAPDP

UPDATE Y2SY/YMSGDTAPDP                                         
SET   TYPOPT = SUBSTR(TYPOPT, 1, 84) || 'Y' || SUBSTR(TYPOPT, 86)
WHERE @@MSG_P = 9000710

This will set the default value for "Generate as subroutine" function option as "Y" for any NEW EIFs being created

UPDATE YMSGDTARFP                                                
SET   TYPOPT = SUBSTR(TYPOPT, 1, 84) || 'Y' || SUBSTR(TYPOPT, 86)
WHERE @@FIL > 1024 and @@MSG_P = 9000710

This will set the value for "Generate as subroutine" function option as "Y" for any EXISTING EIFs already created

5. Carry out the generation of the calling functions for the EXCINTFUNs and verify that the EXCINTFUNs are getting generated as subroutines. 

If any assistance is required with the above workaround, please do not hesitate to contact Broadcom Support.