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

how to calculate monday date


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

New User


Joined: 12 Jan 2008
Posts: 3
Location: omaha., uSa

PostPosted: Sat Jan 12, 2008 10:40 am
Reply with quote

hi
I want to calculate moday date(010708)- Date-From by giving current date(011108) and also want to calculate next monday date(011408) - Date-To variable.

Can you please some one help me on this with cobol code.
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1436
Location: Bangalore,India

PostPosted: Sat Jan 12, 2008 6:22 pm
Reply with quote

Dhanak,

Quote:
Can you please some one help me on this with cobol code.

We can show you the way (help) and CANNOT do your work.

Using 'day-of-week' and provided date (in your case 011108).... write your own logic.

To help you go thru the old post -

ibmmainframes.com/about9421.html
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 Replacing 'YYMMDD' with date, varying... SYNCSORT 3
No new posts Modifying Date Format Using DFSORT DFSORT/ICETOOL 9
No new posts Need to convert date format DFSORT/ICETOOL 20
No new posts how to calculate SUM value for VB fil... DFSORT/ICETOOL 1
No new posts how to calculate SUM for VB file usin... JCL & VSAM 1
Search our Forums:

Back to Top