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
 

 

Pull the fiscal month of a given date in cobol

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
manishm

New User


Joined: 31 Mar 2005
Posts: 5

PostPosted: Thu Aug 14, 2008 10:11 pm    Post subject: Pull the fiscal month of a given date in cobol
Reply with quote

Hi,
Does anyone know if there is any way to pull the fiscal month of a given date in cobol ? Normally the month of the date should be it's fiscal month but in specific cases for example date of 08/01/2008 is a part of fiscal month July only and I need my program to tell that to me.

Thanks in advance,
Manish
Back to top
View user's profile Send private message

dbzTHEdinosauer

Global Moderator


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

PostPosted: Thu Aug 14, 2008 10:32 pm    Post subject:
Reply with quote

fiscal - meaning accounting periods?

maybe ibm provides a modified calendar (along with a real calendar)
but I doubt it.

this kind of stuff should be application controlled (usually is).

only in your company is the 1st of aug part of july.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Fri Aug 15, 2008 12:28 am    Post subject:
Reply with quote

Hello,

Organizations that have special date requirements usually have a custom calendar sub-system that is used by all of the applications that need date logic.
Back to top
View user's profile Send private message
nelson.pandian

Active User


Joined: 09 Apr 2008
Posts: 133
Location: Phoenix, AZ

PostPosted: Fri Aug 15, 2008 8:18 pm    Post subject:
Reply with quote

There will be a Date routine to convert Calender date to Fiscal date. If u give the Calender date as the input to the date routine the output will be Fiscal date. It will complete all the information regarding Fiscal Month, Fiscal day and etc...
Back to top
View user's profile Send private message
ravindrap2

New User


Joined: 07 Aug 2008
Posts: 1
Location: Chennai

PostPosted: Sat Aug 16, 2008 11:20 am    Post subject: Re: Pull the fiscal month of a given date in cobol
Reply with quote

manishm wrote:
Hi,
Does anyone know if there is any way to pull the fiscal month of a given date in cobol
Thanks in advance,
Manish


I didn't understand what is fiscal month..
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Sat Aug 16, 2008 8:57 pm    Post subject:
Reply with quote

Hello ravi and welcome to the forums,

I edited your reply to be what i believe is what you wanted to post. If i understood, you wanted to quote the original post and ask a questions. If i misunderstood, let me know and i'll correct as needed icon_smile.gif

Fiscal month and fiscal year are accounting concepts. Some accounting and tax processesing operate on other than the standard month and year of the calendar. For example, several of my clients use July to June as their fiscal year.
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 Validate date and numeric fields and ... Rick Silvers DFSORT/ICETOOL 6 Thu May 11, 2017 6:51 pm
This topic is locked: you cannot edit posts or make replies. Cobol GUI (like Editor) Kala Mainframe COBOL Programming 14 Wed May 10, 2017 12:30 pm
No new posts IMS T-Pipe queue counts in a COBOL Pr... Siva NKK Kothamasu IMS DB/DC 0 Tue May 09, 2017 6:31 pm
No new posts COBOL Code Parsers and Lineage Establ... balimanja COBOL Programming 2 Tue May 02, 2017 3:30 am
No new posts Cobol upgrade - source code missing f... gthmrj IBM Tools 1 Wed Apr 26, 2017 6:04 pm


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