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
 
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: 8344
Location: Dubuque, Iowa, 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
This topic is locked: you cannot edit posts or make replies. Rexx code to find greater then symobl... Bharath Vikraman CLIST & REXX 8 Tue May 29, 2018 9:40 am
No new posts How to convert 2 bytes into single by... pkmurali DB2 6 Fri May 25, 2018 1:41 pm
No new posts Cobol program till a given time or fo... ankita agarwal COBOL Programming 7 Fri May 18, 2018 2:24 pm
No new posts Program usage statistics? John Poulakos CICS 6 Wed May 16, 2018 2:22 am
No new posts Error executing Java program in OSGI ... danik56 CICS 0 Thu Apr 26, 2018 12:16 am

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