Home > Ask the AS/400 Experts > iSeries Systems Management Questions & Answers > Export iSeries journals
Ask The iSeries 400 Expert: Questions & Answers
EMAIL THIS

Export iSeries journals

Richard J. Belles EXPERT RESPONSE FROM: Richard J. Belles

Pose a Question
Other iSeries 400 Categories
Meet all iSeries 400 Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 09 January 2003
How can I export iSeries journals to a PC and handle them there?


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
iSeries Systems Management
Transfer files from one environment to another without closing all other AS/400 sessions
Send a *LMSG successfully on AS/400 using the SNDDST command
Extend storage capacity on an IBM i without negatively effecting system performance
Configure the iSeries v5r4 to open the HTTPS port for incoming connections
Changing system CCSID
Changing user password expiration
Detecting system changes made by outside IP address
HIPER PTF installation and cover letters for SF99097
Library QUSRSYS not completely installed
SQL statement history storage

Performance
Will overloaded discs impact iSeries performance?
Extend storage capacity on an IBM i without negatively effecting system performance
Database drivers on the i: MySQL vs. IBM Toolbox
Performance tuning for IBM i: The basics and beyond
IBM releases new Power products for the midrange
Top System i admin tips for 2006
Catholic Charities keeps track of homeless with iSeries
i5 error messages: What you need to know
IBM races for clock speed
System shutting down after cleanup

iSeries system performance and monitoring
Analyze the health of your IBM i server with iScore
Translating Linux for IBM i admins: Working with jobs and networking
Database performance comparisons on IBM i
How to: Monitoring job activity on the AS/400
Performance tuning for IBM i: The basics and beyond
How to: Reduce the percentage of ASP used on the AS/400
Detecting system changes made by outside IP address
AS/400 system values quiz
Checking on System i disk space requires creating a new command: XRTVSYSSTS
Drive space management commands

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
CIW  (Search400.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary


This is an interesting question and I don't know of a specific command for this but with a combination of DSPJRN and CPYTOIMPF, I think we can accomplish what you would like. Here is what I did to move the IFS and then I could FTP the stream file to a text document. You could also map a network drive to get it there.

1. DSPJRN JRN(SMOHR/SMOHRJRN) OUTPUT(*OUTFILE) OUTFILFMT(*TYPE4) OUTFILE(SMOHR/JRNOUT)

2. CPYTOIMPF FROMFILE(SMOHR/JRNOUT) TOSTMF('/smohr/jrnout') STMFCODPAG(*PCASCII) RCDDLM(*CRLF) DTAFMT(*FIXED)

The first step writes the journal entries out to a database outfile and the second puts that database outfile onto the IFS in a stream file with *PCASCII code page. From there you can FTP the file to a PC and read it or map a network drive to that IFS location and drag and drop. You should be able to read the file as a text file.

One problem you may encounter is that if you are looking for specific record update and insert delete records that involve packed data you will not be able to read the packed data. The record entries are combined into one character field and you would need a program to extract the packed data that is contained in the entry specific data. If this is a concern for you might want to read document 10955647 from the IBM iSeries Knowledgebase website on how to extract the entry specific data if it is needed but this process would be required on each file that is journaled as the record layout would be different.

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

The Best Web Links: Tips, tutorials and more.

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

Read this Search400.com Featured Topic: Managing your iSeries.




Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



iSeries Networking - Printing, Remote Access, TCP/IP
HomeNewsTopicsITKnowledge ExchangeTipsBlogsAsk the ExpertsMultimediaWhite PapersProducts
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 1999 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts