The AS400 (AS/400) is a popular family of mid-sized computer systems which can also be used as multi-user computer systems. By this, we mean that a single computer can interact with more than one user at a time. It was first introduced by IBM on June 21st, 1988. The ‘AS’ stands for “Application System”. Use of […]
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. Lets try a small hello world example in Free Format […]
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 as well. A CL command usually […]
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 […]
First RPGLE Program Create a member “helloworld” in your working source physical file. Give the type of this member as “RPGLE”. Now type the following code in the source member. Now compile the module. Create the program and call it, It Will display the phrase Hello World. That is a basic RPGLE program but you […]