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: 8117
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 Write out NODUPS but just from one file Jay Villaverde DFSORT/ICETOOL 8 Fri Jul 14, 2017 12:44 am
No new posts How to write Specific Fields from Mul... Padhu SYNCSORT 6 Thu Jul 06, 2017 10:26 am
No new posts Writing a file using online program grvtomar PL/I & Assembler 3 Fri Jun 30, 2017 1:06 pm
No new posts pre-compiler for program in an HFS Pedro DB2 0 Fri Jun 23, 2017 11:13 pm
No new posts Need to write record of PS File in ex... Chandan1993 JCL & VSAM 1 Wed Jun 07, 2017 1:35 am


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