Courses

All Basics Intermediate Advanced

14- RPGLE – Using C procedures to manipulate IFS files

₹1999

To manipulate IFS files in RPGLE using C procedures, you can utilize C APIs like open(), read(), write(), and close(). These APIs allow you to perform operations such as creating, opening, reading, writing, and closing IFS stream files. Here’s a brief overview: Creating and Opening Files: Use the open() API to create or open an […]

13 – RPGLE – XML processing

₹1999

Processing XML in RPGLE (RPG IV) involves parsing and generating XML documents. IBM iSeries provides tools and APIs to work with XML efficiently. Here are some common methods for XML processing in RPGLE: 1. Generating XML You can generate XML by building the XML document as a string or using SQL functions. Building XML as […]

12 – RPGLE – Error Handling

₹1999

In RPGLE (RPG IV), effective error handling is crucial for creating robust and reliable programs. Here are some common strategies and techniques for handling errors in RPGLE: 1. Using the *PSSR Subroutine The *PSSR subroutine is a special error-handling routine that gets executed automatically when an error occurs in the program. rpg **FREE // Declare […]

11 – Embedded SQL Programming

₹1999

Embedded SQL in RPGLE allows you to incorporate SQL statements directly within your RPG programs. This powerful feature combines the strengths of both SQL and RPGLE, making it easier to perform complex database operations. Here’s an overview of how to use embedded SQL in RPGLE: 1. Introduction to Embedded SQL Embedded SQL: SQL statements are […]

10 – RPGLE – Reports

₹1999

rpg **FREE // Define the printer file FMYPRTF  O   E             PRINTER OFLIND(*INOF); // Define a physical file to read data from FMYFILE  IF   E           DISK    ; DCL-S lineCount INT(10) INZ(0); DCL-S totalPages INT(10) INZ(1); // Open the printer file OPEN MYPRTF; […]

09- RPGLE – Subfiles

₹1999

Subfiles in RPGLE (RPG IV) are a powerful feature that allows you to display and manage lists of data on a screen. They are particularly useful for handling large datasets in a user-friendly manner. Here’s an overview of how to work with subfiles in RPGLE: Key Concepts Subfile: A subfile is a temporary storage area […]

08- RPGLE – File Manipulation

₹1999

rpg **FREE // Read the first record READ MYFILE; DOW NOT %EOF(MYFILE);   // Process the record   DSPLY ‘Record read: ‘ + %CHAR(MyRecordField);   // Read the next record   READ MYFILE; ENDDO; Random Read with CHAIN: rpg **FREE // Keyed access CHAIN myKey MYFILE; IF %FOUND(MYFILE);   DSPLY ‘Record found: ‘ + %CHAR(MyRecordField); ELSE;   DSPLY ‘Record not found’; […]

07 – RPGLE – Arrays & Data Structures

₹1999

In RPGLE (RPG IV), arrays and data structures are fundamental concepts that help manage and manipulate collections of data. Here’s an overview of how to work with arrays and data structures in RPGLE: Arrays in RPGLE Arrays in RPGLE are used to store multiple values of the same type. They can be one-dimensional or multi-dimensional. […]