What is an AS400 command ? AS400 commands are CL (Control Language) commands. Most of them were written by IBM developers to perform system-level tasks like compiling programs, backing up data, changing system configurations, displaying system object details, or deleting them. Commands are not limited to systems-level concerns and can be drafted for user applications […]
A physical file is a database file that contains data records. The data records are grouped into physical file members and each member has its own access path to the data. Usually, database files have only one member which, by default, is added to the file when the file is created.
In this tutorial we focuses on compiler errors in RPGLE, how to find compiler errors using spooled files and correct them. This is the second tutorial of the set of RPGLE Free format Tutorial. If you have not completed first tutorial of Hello World RPGLE Tutorial, I strongly suggest you to go through it because […]
Hello world RPGLE Tutorial takes you through the steps to create and run a RPG IV program. In this tutorial, I am going to show how to create a simple free format RPGLE program step by step using IBM Rational Developer and Program Development Manager in AS400 emulator which is commonly use as green screen […]
IBM Rational Developer for i is an Eclipse based IDE. Which provides an integrated development environment (IDE) to create, maintain and modernise applications on the IBM i platform. It integrates developer tools such as search, edit, build and analysis, refactoring capabilities and debuggers with the widely used Eclipse framework for faster, easier application development and […]
The Create User Profile (CRTUSRPRF) command identifies a user to the system and allows you to customize the way the system appears. When the profile is created, the profile is given *CHANGE and *OBJMGT authorities for the profile itself. The system relies on the profile having these authorities to itself and they should not be […]
The Work with Active Jobs – WRKACTJOB command allows to work with status information and performance for the active jobs in the system. The sequence of jobs can be changed with the Sequence (SEQ) parameter or through operations on the display. Other parameters allow the selection of jobs to be shown on the display. The selection parameters […]
The Work with Job Queues – WRKJOBQ command shows the overall status of all job queues or the detailed status of a specific job queue. Also, this command allows the user to work with the overall status of all job queues that match the qualified generic name specified. The status of the queues may change […]
The Work with Spooled Files – WRKSPLF command displays a list of all the spooled files on the system or a selected list from them. You can choose to change, hold, delete, display, or release any or all of the entries that are displayed. The amount of time needed to show the list of spooled […]
The Work with Objects – WRKOBJ command shows a list of objects from one or more given libraries. 23 Most Useful AS400 Commands The object name, object type, library name, object attribute, and short text description for the object are shown for each listed object. The data attributes and the actual data in the object […]
Today RPGLE supports fully free formatting. It is similar to other languages such as JAVA, PHP and can be understood easily. Programmers who are familiar with other modern languages can more learn RPGLE. There are numerous advantages in Free Format RPGLE over legacy fixed format. Differences between Free Format vs Legacy Fixed Format RPG has […]
To Create Printer output CRTPRTF , a program, OS/400 utility, or print-key function must write the output data to a printer file. A printer file is a type of device file that determines what attributes printed output will have.
Help Screen is a common type of information screen in AS400. it gives Help information about almost any kind of display. Suppose you were going to work with members using PDM (WRKMBRPDM) and were not sure what the parameter, “Member type” meant. you could place the cursor anywhere on the line for that parameter and […]
The current library (*CURLIB) is the first user library that is searched before the rest of the user libraries in the list when the system looks for an object. If a user does not specify a library name when requesting an operation on an object, the libraries in the library list are searched for the […]
Specifications in RPGLE The first thing you should know in RPG IV is that RPG IV is a positional language. This means that we are allowed to write code at specific columns only. In RPGLE every line of code begins with the declaration of specifications. Actually in RPG IV all types of statements have been […]