CA IDMS Link ADSOVCON with user written built-in functions (BIFs)

book

Article ID: 196893

calendar_today

Updated On:

Products

CA IDMS CA IDMS - Database CA IDMS - ADS

Issue/Introduction

How to link ADSOVCON with  user written built-in functions (BIFs).

Environment

Release : 19.0

Component : CA ADS

Resolution

All user written built-in functions (BIFs) can optionally be linked together with ADSOVCON to improve performance.

First create the ADSOVCON source in the custon.srclib:

         #BIFVCON TYPE=INITIAL                                     
         #BIFVCON TYPE=ENTRY,PROGRAM=USERBIF1,EPNAME=BIF1EP1 
         #BIFVCON TYPE=ENTRY,PROGRAM=USERBIF2,EPNAME=BIF2EP1 
             .                                                     
         #BIFVCON TYPE=FINAL                                       
         END      

Then assemble and link ADSOVCON. 
The linkedit statements have to include the user written BIF load modules from the library that contains the BIF load modules:

//ASMCL   EXEC HLASMCL
//C.SYSLIB   DD DISP=SHR,DSN=zOS.maclib
//           DD DISP=SHR,DSN=idms.cagjmac
//C.SYSIN    DD DISP=SHR,DSN=idms.custom.srclib(ADSVCON)
//L.SYSLMOD  DD DISP=SHR,DSN=idms.custom.loadlib
//L.CAGJLOAD DD DISP=SHR,DSN=idms.cagjload
//L.SYSLIB   DD DISP=SHR,DSN=userbif.loadlib
//L.SYSIN DD *
 INCLUDE OBJLIB(ADSOVCON)                                          
 INCLUDE SYSLIB(USERBIF1)                                   
 INCLUDE SYSLIB(USERBIF2)                                  
 SETOPT  PARM(AMODE=31,REUS(REFR),RMODE=ANY)                       
 ENTRY   VCONEP1                                                   
 NAME    ADSOVCON(R)                                               
/*

 

Additional Information

See documentation section Linking Built-In Functions With The Runtime System