Thank You for the information on functions.
For TIRFTSC, which is timestamp,
when 9999-12-31-23.59.59.999999 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.