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
 

 

How can an application program write its own journal?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
Devindra Pratap Singh

New User


Joined: 14 Jul 2007
Posts: 6
Location: Mumbai

PostPosted: Thu Dec 24, 2009 1:52 pm    Post subject: How can an application program write its own journal?
Reply with quote

How can an application program write its own journal?
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8054
Location: East Dubuque, Illinois, USA

PostPosted: Thu Dec 24, 2009 6:00 pm    Post subject:
Reply with quote

1. Design
2. Code
3. Test
4. Implement

Seriously, are you talking about using a file as a journal? If so, the application needs to be designed with journals in mind, coded so every key piece is written to the journal, tested, then implemented into production.

If you're talking about writing to a CICS system journal, there is WRITE JOURNALNAM and WRITE JOURNALNUM in the CICS Application Programming Reference manual (link at the top of the page). And again your application will have to be coded to use these commands, tested, ...

In both cases, you need to consider recovery in the design phase. Presumably you want to journal so you can recover from some condition -- in which case you need to make sure you're writing the correct data to enable recovery, plus develop (and test) a process to use recovery when appropriate.
Back to top
View user's profile Send private message
Devindra Pratap Singh

New User


Joined: 14 Jul 2007
Posts: 6
Location: Mumbai

PostPosted: Thu Dec 24, 2009 6:25 pm    Post subject: Reply to: How can an application program write its own journ
Reply with quote

Thanks Robert for the Great help provided.
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 -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
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 Need help in REXX CALL program Raje1002 CLIST & REXX 5 Wed Apr 19, 2017 11:18 pm
No new posts Application not run by time HH:MM tri... jzhardy IBM Tools 1 Sun Apr 09, 2017 3:22 pm
No new posts Write R1 and R2 to OP1 and R1 to OP2 bhaskar_kanteti DFSORT/ICETOOL 10 Fri Mar 03, 2017 11:18 am
No new posts Can you write 2 recs on SORTOUT when ... Sysaron DFSORT/ICETOOL 6 Thu Feb 23, 2017 12:07 am


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