rekhamf wrote:Hi ,
I need to get the time stamp difference before and after MQPUT and MQGET in COBOL.
So i get the timestamp from DB2 and stored in Field1 which is x(26)
I get the timestamp from Db2 and stored in field2 which is x(26)
I need to get the differnce between Field3 - Field 2- Field1
How i can do this,since Timestamp declartion is X(26) , How can I calcuate the difference ?
And also I need to show this difference in the report too. Can someone help me in this regard ?
Begin by reading the fine manual in re CEEDAYS
. Study the COBOL example (Figure 89) and then ask questions about what you do not comprehend.
"You have sat too long for any good you have been doing lately ... Depart, I say; and let us have done with you. In the name of God, go!" -- what I say to a junior programmer at least once a day