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,
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
------------------------------
Original Message:
Sent: Mar 13, 2024 09:51 AM
From: Lenn Thompson
Subject: Coolgen functions -Run time conversions (TIR in cobol)
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
Original Message:
Sent: Mar 13, 2024 08:03 AM
From: Rashmi Prabhat
Subject: Coolgen functions -Run time conversions (TIR in cobol)
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