classAnova - Knowledge Shared


Posted by: Bob Cozzi
IT Researcher
Cozzi Productions, Inc.
North Aurora, IL
Bob Cozzi's RPG IV Cheat Sheets
has no ratings.
Published: 08 Feb 2011
Revised: 04 Aug 2011 - 2909 days ago
Last viewed on: 19 Jul 2019 (5032 views) 

Using IBM i? Need to create Excel, CSV, HTML, JSON, PDF, SPOOL reports? Learn more about the fastest and least expensive tool for the job: SQL iQuery.

Bob Cozzi's RPG IV Cheat Sheets Published by: Bob Cozzi on 08 Feb 2011 view comments

Data-Type Comparison for the RPG IV Language

These charts illustrate the relationship between data-types declared in the RPG IV programming language and those specified in IBM i (formerly OS/400 for AS/400) API documentation and the SQL language.

API Documentation Old RPGIII RPG IV
Bin(2) 4B 0  5i 0
Bin(4) 9B 0 10i 0
UBin(2) N/A 5U 0
UBin(4) N/A 10U 0
INT2 4B 0 5i 0
INT4 9B 0 10i 0
UINT2 N/A 5U 0
UINT4 N/A 10U 0

 

SQL Data-Type Old RPGIII RPG IV
SMALLINT 4B 0  5i 0
INTEGER 9B 0 10i 0
BIGINT N/A 20i 0

Return to classanova.com home page.
Sort Ascend | Descend

COMMENTS