I am new to DB2 administration on AS400, could you point me to the best practices/tools to search for errors in the DB2 journals?
So far I use the DSPJRN command but I am unable to make research. thanks.
I am new to DB2 administration on AS400, could you point me to the best practices/tools to search for errors in the DB2 journals?
So far I use the DSPJRN command but I am unable to make research. thanks.
DSPJRN JRN(<LIBRARY>/QSQJRN) FILE(<LIBRARY>/CXPBU00001) RCVRNG(<LIBRARY>/QSQJRN<JOURNAL_NUMBER)
5=Display entire entry on a record
F6 Display only entry
F15 Display only entry specific data
From their you can get a job description: <NUMBER>/<USER>/<SYSTEM>
wrkjob <NUMBER>/<USER>/<SYSTEM>
And from their option 4 or 10 to see job logs
Can you describe what the "error" is that you are looking for. Journal records my themselves don t really have errors (I think).
I haven t worked on an AS400 for about 10 years, but when I did use it last century I did do some work with Journals looking for the change history of a row over time and found all of the answers I needed in the online manuals.
From memory somehow I think I wrote a export program to save the output of the DSPJRN program and uploaded it into a DB2 Table so that I could query it with SQL.
The journals can be saved in files aka tables. You can create some programs/SQL to search these tables. On the iSeries one does not have other native tools then the iSeries commands and/or some programming/quering.
I don t know if they are any non-native tools. Remember that DB2/400 is really just one of the many implementations of Universal Database/2. I won t be suprised if a Windows or Linux tools can analyze the iSeries implementation too. They same is true for MQ. A typical iSeries command/menu interface on the iSeries itself (which works fine by the way). Beautifull graphical tools on other platforms that can connect to this iSeries MQ.
On a second thought, a standard tool for the iSeries is the iSeries navigator. I will check this out on my work tomorrow
we are sending data trough MQ from a z/OS/CICS system to an AS400. Original encoding of the message is CCSID 500 with a MQSTR Format. The client application is getting the message with the CONVERT ...
I have a very limitied (0) knowledge on AS400 and RPG. But we have a urgent requirement where we need to invoke a RPG program from a java class. So I found that we can achieve it through JTOpen. But I ...
I am using AS/400 with Reflections for IBM. Here is my question: How can the data from an excel sheet be transfered to an AS/400 session. From there I should be a ble to create macros to add the info ...
I have an external stored procedure (SP) in AS400 with IN and OUT prameters.When my SP is called from webservice with IN and OUT parameters, it shows me an error (Attempted to read or write protected ...
We have need to connect to an AS/400 from .NET (C#) and access (read and write) data. The issue is the data is stored in relational files on the mainframe, not in a DB2 database. What is the best ...
Advanced BusinessLink offers a suite of products called Strategi, which basically allows creating web applications running natively on iSeries, consuming and providing web services, and replacing ...
I want to update two fields of table (Store) from a select of others tables, but i don´t know how i can do it. The SQL system is in AS/400, so doesn´t have SQL Server or Oracle tricks :( Here is the ...
I am new to DB2 administration on AS400, could you point me to the best practices/tools to search for errors in the DB2 journals? So far I use the DSPJRN command but I am unable to make research. ...