Current date



Support for OS/VS COBOL, VS COBOL II, COBOL for OS/390 & VM and Enterprise COBOL for z/OS

Current date

Postby jvinoth » Wed Mar 13, 2013 11:48 pm

Can anyone please tell me how to get the current date in COBOL program in the format (YYMMDD) without using the SQL..
jvinoth
 
Posts: 132
Joined: Fri Nov 18, 2011 3:13 pm
Has thanked: 0 time
Been thanked: 1 time

Re: Current date

Postby Akatsukami » Thu Mar 14, 2013 12:00 am

You're trolling again, eh? :roll:
"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
User avatar
Akatsukami
Global moderator
 
Posts: 1058
Joined: Sat Oct 16, 2010 2:31 am
Location: Bloomington, IL
Has thanked: 6 times
Been thanked: 51 times

Re: Current date

Postby Robert Sample » Thu Mar 14, 2013 12:53 am

Read the manual. The manual can be reached from the IBM Manuals link on this page. Topic locked to prevent further waste of time.
Robert Sample
Global moderator
 
Posts: 3720
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times


Return to IBM Cobol

 


  • Related topics
    Replies
    Views
    Last post