Gen EDGE

 View Only
  • 1.  Coolgen functions -Run time conversions (TIR in cobol)

    Posted Mar 13, 2024 09:50 AM

    Hi ,

    Currently I am trying to understand the TIR modules which gets called in Cobol generated codes out of coolgen programs.

    I see many TIR modules been called by different cobol generated modules. For some TIR module , I am able to locate the source code in IEF library on mainframe but for some TIR modules I am unable to locate source code like:

    TIRFMIN             
    TIRFMTH            
    TIRFNUM           
    TIRFNUMD        
    TIRFNUMT         
    TIRFSEC             

     

    So, while performing the analysis of generated cobol modules, the TIR modules appeared as conversions.  I wanted to confirm my understanding about functionality of each TIR module. Is there way we can do it. Also, if the source modules for all TIR module should be present somehwere. 

    is there any specific library we can look upon.

    Any advise/guidance will be helpful.

    Thanks,

    Rashmi



  • 2.  RE: Coolgen functions -Run time conversions (TIR in cobol)

    Community Manager
    Posted Mar 13, 2024 09:52 AM

    Rashmi,

    Good morning. I wanted to let you know that I moved this discussion to the Gen community so other Gen users would be more likely to see it. Welcome to the community!



    ------------------------------
    Lenn Thompson
    Community Manager, Mainframe Division
    Broadcom Inc.
    lenn.thompson@broadcom.com
    ------------------------------



  • 3.  RE: Coolgen functions -Run time conversions (TIR in cobol)

    Broadcom Employee
    Posted Mar 13, 2024 09:00 PM
    Hi Rashmi,
    The TIR* functions are Gen runtime functions.
    For the functions where you found source code, they would be user exits that the end user can customise.
    For other functions, they represent functions available in the Toolset that are being used in the model from which the code was generated. No source code is available because they are fixed functions,
    Relevant Gen 8.6 doc. page: Functions in Action Diagram
    The TIR* name to function name mapping is not listed in the docs, but for the 5 you listed the mapping is:
    TIRFMIN - Minute
    TIRFMTH - Month
    TIRFNUM - Numtext 
    TIRFNUMD - Datenum
    TIRFNUMT - Timenum
    TIRFSEC - Second
     
    I hope that helps
     
    Regards
     
    Lynn


    ------------------------------
    Lynn Williams
    Senior Principal Support Engineer
    Broadcom Software
    Australia
    ------------------------------