IBMi (AS400) fans only - RPG Free. Minimalist program with a single video format
#IBMiSample Remember that you need my CLANA00F file to compile the following program. So, f irst of all look at this post and compile and populate these files to use this example. A01ARPCL.CLP PGM DCL VAR(&PPCCL0) TYPE(*DEC) LEN(7 0) DCL VAR(&PPEXIT) TYPE(*CHAR) LEN(1) DCL VAR(&OUTPU1) TYPE(*CHAR) LEN(1) DCL VAR(&OUTPU7) TYPE(*CHAR) LEN(7) DCL VAR(&OUTPU8) TYPE(*CHAR) LEN(8) CALL PGM(A01ARP) PARM(&PPEXIT &PPCCL0) CHGVAR VAR(&OUTPU1) VALUE(&PPEXIT) CHGVAR VAR(&OUTPU7) VALUE(&PPCCL0) CHGVAR VAR(&OUTPU8) VALUE(&OUTPU1 *CAT &OUTPU7) SNDPGMMSG MSG(&OUTPU8) ENDPGM