Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Cobol command used for monthly specifivc task.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: Cobol command used for monthly specifivc task.
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: 151
Location: Tokyo, Japan

PostPosted: Mon Aug 23, 2004 1:37 pm    Post subject:
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    Post subject:
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    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 IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts MQ command in option 6 of ISPF! Vignesh Sid All Other Mainframe Topics 3 Tue Sep 26, 2017 6:01 pm
No new posts Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 4 Tue Sep 26, 2017 3:07 am
This topic is locked: you cannot edit posts or make replies. Extract all "IF" Statements... Adarsh Damodaran CLIST & REXX 1 Wed Sep 06, 2017 9:28 am
No new posts How do I create a mainframe monitorin... anjali.bisht All Other Mainframe Topics 4 Fri Sep 01, 2017 2:20 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us