Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Need to calculate duration of dates for a quarterly run job

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: Need to calculate duration of dates for a quarterly run job
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: 6968
Location: porcelain throne

PostPosted: Mon Jun 15, 2009 9:50 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Wanted to calculate TRK when i have B... Balu5491 JCL & VSAM 7 Wed Jul 19, 2017 5:43 pm
No new posts How to calculate an specific transact... lind sh CICS 2 Tue Sep 13, 2016 9:20 pm
No new posts Calculate a timeframe with DFsort Gerd Hofmans DFSORT/ICETOOL 6 Thu Jan 14, 2016 5:30 pm
No new posts Sort Card : To get the records with ... pecsakthivel123 DFSORT/ICETOOL 7 Thu Dec 10, 2015 11:54 pm
No new posts Calculate Keylen parameter provided i... kratos86 IMS DB/DC 5 Wed Aug 27, 2014 1:19 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us