These are run time routines in CoolGen and perform the conversions. But I want to know the functionality in details on what is being converted to what.
The TIR functions are listed below and what they do.
TIRFTSC - Timestamp function
TIRFNUMT - timenum function
TIRFNUMD - datenum function
The documentation at docops.ca.com has information on the command syntax for each of these functions.
.. and the specific Gen 8.6 links are here:
Functions - Timestamp Functions in Action Diagram - CA Gen - 8.6 - CA Technologies Documentation
Timenum - CA Gen - 8.6 - CA Technologies Documentation
Datenum - CA Gen - 8.6 - CA Technologies Documentation
Thank You for the information on functions.
For TIRFTSC, which is timestamp,
when 9999-12-31-188.8.131.529999 is supplied as input and the output will be 9999123123595999999. Is this right?
Similarly, for TIRFNUMD and TIRFNUMT, when 00010101 and 230000 are provided as numeric input, and the output would be '00010101' and '230000'
in string format. Is this right?
I have few more routines and I am confused between few of them:
TIRVW2S - Converts CA Gen 20 char timestamp to 26 Char standard Timestamp which includes '-','.'
TIRVW2D - Converts CA Gen 8 char date to 10 Char standard Date which includes '-'.
TIRVW2T - Converts CA Gen 8 char Time to 10 Char standard Time which includes '.'.
TIRD2VW - Converts 10 char Standard date to 8 Char CA Gen Date excluding '-'.
TIRS2VW - Converts 26 char Standard Timestamp to 20 Char CA Gen Date excluding '-' and '.'.
TIRFCHR - Converts Number to String,
TIRNUM - Converts String to Number,
TIRFDTEC - Converts 10 char Standard date to 8 Char CA Gen Date excluding '-'.
TIRDAT2 - Gets Current Date in format YYYYMMDDHHmmss.
TIRFTRIM - Removes leading and trailing spaces from input string and populates data in output string. and also gets the length of output string.
I am not aware of equivalent CAgen functions, but I understood the above things from the way input and output variables are declared.
Please confirm my understanding and if you can provide functions, it would be helpful.
Most importantly, I am unable to understand the difference between TIRFDTEC, TIRFTSC and TIRD2VW. Please help on this.
I am a little confused by the direction of your questions. The documentation should have all you need, the information on the functions and syntax. Please elaborate more on the purpose of the questions.
What's the nature of your inquiry? What are you trying to accomplish?
Product Owner, CA Gen
I am sorry for delayed reply. I could not access my account due to some network issues.
Currently we are trying understand the CoolGen run time routines and Map them to Cobol functionality.
This is needed for us to revamp our Clients batch and online processes.
So, while performing the analysis of generated cobol modules, the TIR modules appeared as conversions and I wanted to confirm if my understanding about functionality of each TIR module is correct or not.
Retrieving data ...