|
Mark,
There were no structured op-codes (IF, DO) on the S/34 - except through Schuette's (sic) RPG II 1/2.
They were added to the /36 when the Advanced/36 models came out (SSP 7?), but they were somewhat crippled. CAB was never part of IBM's RPG II compilers.
Jerry C. Adams
IBM System i Programmer/Analyst
--
B&W Wholesale
office: 615-995-7024
email: jerry@xxxxxxxxxxxxxxx
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Mark S. Waterbury
Sent: Thursday, March 04, 2010 8:13 AM
To: RPG programming on the IBM i / System i
Subject: Re: OPEN in RPGIII
Hi, Terry:
IBM System/3 RPG II had only COMP, indicators, GOTO and TAG, and EXSR, BEGSR and ENDSR (for "control flow").
With the IBM System/34, IBM added "structured programming" opcodes (still calling it RPG II):
IF - ELSE - END
DOWxx - END, DOUxx - END, DO - END
CASxx
CALL and PARM were added with Systen/36 Release 6 (VASP).
I think CABxx was introduced with System/38 RPG III.
(Anyone else remember those details any better?)
HTH,
Mark S. Waterbury
> Terrence Enger wrote:
Hmm, this is a real memory test for me, but are you sure that RPG II had
the CABxx and CASxx opcodes? I only remember these from RPG III.
CVTRPGSRC, of course, does not claim to work for RPG II.
Cheers,
Terry.
This mailing list archive is Copyright 1997-2026 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.