RPG is a high level programming language used in the development of business applications. RPG Programming language develop by IBM and run on the IBM machines. RPG is an acronym of Report Program Generator and develop to replace the punched card system in the computer systems. IBM released variour variations of RPG but the rescent and the widely use version of RPG is RPG-4. every RPG program executes within an implied loop, which can apply the program to every record of a file.
CREATE TABLE DRDA/PART_STOCK (PART_NUM CHAR(5) NOT NULL, PART_UM CHAR(2) NOT NULL, PART_QUANT INTEGER NOT NULL WITH DEFAULT, PART_ROP INTEGER NOT NULL, PART_EOQ INTEGER NOT NULL, PART_BIN CHAR(6) NOT NULL WITH DEFAULT )