Q
Manage Learn to apply best practices and optimize your operations.

Identify the name of the Journal Receiver

I was wondering whether there is any way of identifying (in a CL program) the name of the current (attached) Journal Receiver. I know I can do that with WRKJRNA but I cannot use this command in a CL program. The idea is to detach and save the current journal receiver whenever my backup CL runs. We are running on V5R1.

For this answer, I would like to direct you to the vast information found in IBM's Information Center. When first placed online, the Information Center was (to put it politely) difficult to use. But kudos to IBM -- it is now quite usable and quite functional. Go to the Information Center, choose your global location, then choose the OS/400 version you are interested in. In the left-hand navigational pane, open up the Programming topic. Then open up the CL and APIs topic. Choose "APIs by category". The main panel now displays all of the categories of APIs. Choose the Journal and Commit category. Now scroll down to the Retrieve Journal Information API. This API will allow you to programmatically retrieve the currently attached journal receiver.

==================================
MORE INFORMATION ON THIS TOPIC
==================================

The Best Web Links: Tips, tutorials and more.

Search400.com's targeted search engine: Get relevant information on security.

Ask your systems management questions--or help out your peers by answering them--in our live discussion forums.

Read this Search400.com Featured Topic: Secure your iSeries


This was last published in October 2002

Dig Deeper on iSeries system and application security

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchDataCenter

Close