Mode:
Duration:
1
Coding works best on desktop or with an external keyboard.
Coding works best on desktop or with an external keyboard.
Extract a substring from a string variable.
SUBSTRING-EX: PROCEDURE;
DECLARE STR CHAR(20) INIT('PL/I Programming');
DECLARE SUB CHAR(10);
SUB = SUBSTR(STR, 1, 3);
PUT SKIP LIST('Substring: ', SUB);
END SUBSTRING-EX;PLI (Programming Language One) Mainframe is a procedural programming language primarily used on IBM mainframe systems for business and administrative applications. It emphasizes structured, readable code for transaction processing, batch jobs, and legacy enterprise systems.
Origin & Creator
PLI was developed by IBM in the 1960s as a high-level, business-oriented programming language for mainframes, to simplify COBOL-style development with structured programming features.
Industrial Note
Crucial for organizations with legacy mainframe infrastructure, high-volume transaction processing, and systems requiring extreme reliability and uptime.