IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to get Timestamp in cobol without DB2 access?


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sathish_seabiscuit

New User


Joined: 14 Jun 2006
Posts: 4

PostPosted: Sat Aug 05, 2006 9:03 pm
Reply with quote

Hi All,

I have a COBOL program which fetches the time stamp from SYSIBM table.

There is some perfomance issue because of it.
So I am trying to write a COBOL code to get the time stamp.

Please help me to do the same.

Regards,
Sathish Kumar.
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Sun Aug 06, 2006 9:32 am
Reply with quote

You can try to play with the results of COBOL's ACCEPT DATE/TIME statement.

O.
Back to top
View user's profile Send private message
diwa_thilak

Active User


Joined: 13 Jul 2006
Posts: 205
Location: At my desk

PostPosted: Mon Aug 07, 2006 8:58 am
Reply with quote

Hi,

The Date/ Time built in variable is the timestamp . Hope i meant rt for you.

Accept Date /Time in cobol will retrieve the timestamp for you.

Regards,
Diwakar.D

------------------------------------
Nobody is prefect. I am Nobody
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts To get the count of rows for every 1 ... DB2 3
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts Access to non cataloged VSAM file JCL & VSAM 18
Search our Forums:

Back to Top