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

Cobol command used for monthly specifivc task.


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

New User


Joined: 20 Jan 2004
Posts: 42

PostPosted: Mon Aug 23, 2004 11:55 am
Reply with quote

I need information for the following.

Is there any facility available in cobol to do some special task on monthly basis like jcl.
I want to know the command which will do some specific task on 31 st of every month.

Immediate help will be highly appreciated.

Thanks
Shakthi
Back to top
View user's profile Send private message
sandip_datta

Active User


Joined: 02 Dec 2003
Posts: 150
Location: Tokyo, Japan

PostPosted: Mon Aug 23, 2004 1:37 pm
Reply with quote

I don't know such facility exists in COBOL itself. If you want to run the total COBOL program on month end, you can schedule the JCL running that program accordingly.
Or, you can check with the date for monthend. These monthend dates can be updated in a parameter annually. In COBOL. you can read the parameter for date and check whether the processing date is equal to the parameter dates. Then you can branch your processing depending on the result of the IF loop.

Regards,
Sandip.
Back to top
View user's profile Send private message
shakti

New User


Joined: 20 Jan 2004
Posts: 42

PostPosted: Mon Aug 23, 2004 4:41 pm
Reply with quote

Thanks sandip.

This info is very useful.

Thanks again for your time spent on this.

shakthi
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 RACF - Rebuild SETROPTS command which... All Other Mainframe Topics 3
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts Routing command Address SDSF to other... TSO/ISPF 2
Search our Forums:

Back to Top