Archive for February, 2011

AS400 Error Processing Utility

Some Error Processing routine must be included in any application program and it is useful to use the same approach in all programs.

This Utility provides a standard solution which can be used as a standard framework in the applications.

The Utility tries to achieve following objectives:

  • Obtain as much information as possible about the error condition. For this purpose it has been decided to always dump the failing program.
  • Provide the user with some information and directions about the actions needed to continue and avoid them to receive puzzling system messages.
  • Trap all messages so that they appear on the job log.

The Utility includes:

  • The GRCFAIL CL program which displays an information screen for interactive programs and processes the errors of both interactive and batch programs
  • The Display file for the previous program
  • the MSGCLR CL program used to clear a message queue
  • the MSGSND CL program used to send messages to a message queue

You can download the AS/400 Error Processing Utility from:

==> AS/400 User Space FFD Download

Incoming search terms for the article:

An AS400 Application Cross Reference Utility

This utility has the purpose to collect and produce Cross Reference information about an application on an IBM iSeries (AS/400) system.

Often applications have a large number of files and programs and it can be quite time consuming to answer question such as:

  • What are the attributes of a file ? (e.g. description, type, access path)
  • Where is a file used ?
  • What are the relationships between files ?
  • Which fields exist in a file ?
  • What are the keys of a file?
  • Which programs are called from a given program ?
  • Which files are used from a program ?

These and many more similar questions can be answered by using AS/400 commands such as DSPFD, DSPFFD, DSPPGMREF etc or by searching in the program sources., but it is surely a time consuming activity that can be often avoided by inquiring a cross reference database.

This utility provides the programs to easily create the application cross reference database and to answer questions such as those detailed above.

The utility consists of two main parts as follows:

  • Management of the cross reference environments. This is achieved by calling the program XENVM1 which allows to create cross reference environments for new applications, to inquiry their definition and to delete them.
  • Inquiries on a selected environment. This is achieved by calling the program XREF01 that allows to select the type of inquiry and calls the appropriate programs to answer it.

The programs have been written in Cobol with embedded SQL.

You can download the AS/400 Application Cross Reference Utility from:

==> AS/400 Cross Reference Utility Download

Incoming search terms for the article:

An interesting AS400 site is Goto400.com which provides Freeware, Software and other Services for the IBM System i (AS/400) Systems.

I copy below some useful information from their site.

Website Info

Goto400.com provides free software and resource information on IBM System i ( formerly AS/400 or iSeries ) development and administration.

If you are interested in supporting my work and would like to contribute, you are welcome to make a small donation through the donate link on my website – it will be a great help and will surely be appreciated.

CL Command Browser

The CL Command Browser software is an essential software tool for IBM System i (iSeries, AS/400) users and developers.

The software runs as an eBook program. You may find the detail information of 2000+ System i (AS/400) Control Language commands.

The detail information includes the command names, run environments, command descriptions and command examples.

Read more Download

CL Program Editor

CL Program Editor is a text editor for Control Language (CL) Programming on IBM i5/OS and OS/400.

This editor is special designed for IBM i5/OS and OS/400 CL ( Control Language ) Programming. By the full syntax coloring editor, you may find the CL program source file is much cleaner to edit and view than before.

The CL Program Editor will make your programming much easier and avoid the typing or spelling mistakes.

Read more Download

CL Command Clipper

Are you tired of typing commands on the iSeries Operation Console or other 5250 terminal emulator? Have you thought about writing the OS/400 CL command easily and simply copy and paste your frequently used commands rather than typing them again and again?

You may have done this by text files and some text editors. Have a try with the CL Command Clipper, you may find it is the simplest but also very useful tool for your iSeries server administration and operations.

Read more Download

CL Abbreviation Reference

CL Abbreviation Reference program contains alphabetic lists of abbreviations that are used in CL commands that are part of IBM OS/400 and other IBM iSeries licensed programs.

These information can assist you in naming commands and keywords in a consistent manner when using command definition.

Read more Download

Incoming search terms for the article: