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

How can an application program write its own journal?


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
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
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: 8697
Location: Dubuque, Iowa, USA

PostPosted: Thu Dec 24, 2009 6:00 pm
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files(F1 & F2) and writ... JCL & VSAM 8
No new posts Using API Gateway from CICS program CICS 0
No new posts Write line by line from two files DFSORT/ICETOOL 7
No new posts 10 byte RBA conversion -non applicati... JCL & VSAM 1
No new posts DB2 Event passed to the Application P... DB2 1
Search our Forums:

Back to Top