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

Regarding current timestamp


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

New User


Joined: 23 Nov 2005
Posts: 3

PostPosted: Wed Jul 05, 2006 5:32 pm
Reply with quote

Hi ALL,

i HAVE OPEN ONE FILE IN IN INPUT-OUTPUT MODE. IT IS READIND AS WELL AS ONE IT'S FEILD IS REWRITTEN WHICH IS THE TIMESTAMP FEILD. AFTER ONE READ IT WILL GO TO OPEN CURSOR, FETCH CURSOR CHECKING SOME CONDITIONS AND ACCORDING TO THAT INSERTING SOME VALUES.. NOW, WHEN THE THIS IS A LAST READ... I want to rewrite the timestamp....... what is the code for this? icon_cry.gif
Back to top
View user's profile Send private message
rajandhla

Active User


Joined: 18 Oct 2005
Posts: 182
Location: Luton UK

PostPosted: Thu Jul 06, 2006 3:02 pm
Reply with quote

Niharika,

IF you want to reewrite the record after reaching the end of the file/end of cursor (presuming you are using db2). check for the sql condition of the cursor i.e 100 the rewrite your rec with timestamp .
if it is file use code 10 then rewrite the record..

hope this helps

regards
jai
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 To get the count of rows for every 1 ... DB2 3
No new posts To get the the current time DFSORT/ICETOOL 13
No new posts Changeman - how can we know the curr... Compuware & Other Tools 2
No new posts Fetch data from programs execute (dat... DB2 3
No new posts replace word 'MONTH' with current mon... SYNCSORT 11
Search our Forums:

Back to Top