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

Need to calculate duration of dates for a quarterly run job


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

New User


Joined: 24 Mar 2008
Posts: 29
Location: mumbai

PostPosted: Mon Jun 15, 2009 8:09 pm
Reply with quote

Hi,
I have a job scheduled to run quarterly. For this I have to handle in the program to calculate the dates duration like. in second quarter for example job running on first monday of april 2009 month, in program i have to get the dates duration like January01,2009 to march 31,2009.
And the program is written in COBOL and using VSAM files. Its a batch program not having DB2.
Somebody please help me..
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Mon Jun 15, 2009 9:50 pm
Reply with quote

There have been several threads about dates and COBOL.

you could also look at the available functions of Language Environment.
Here are all the LE Manuals. You can pick the one that is applicable with your OPS-SYS.
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 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
No new posts Amount of days between two dates PL/I & Assembler 8
No new posts Calculate with timestamp PL/I & Assembler 19
No new posts Dates compare on specific dates using... DFSORT/ICETOOL 2
Search our Forums:

Back to Top