Category : Miscellaneous Language Source Code
Archive   : RPGFRE.ZIP
Filename : TSTOUT.RPF

 
Output of file : TSTOUT.RPF contained in archive : RPGFRE.ZIP
/HEADER
H* TSTIN.RPG -- Test standard RPG input file

H* Note this is not a compilable RPG III program
H* It just generates a file for comparison with TSTOUT.RPF
/FILE

FDAINFO IF F 132 DISK
FMODDTA CF E WORKSTN
F RRN1 KSFILE SFLREC1
F KINFDS WRKSTN

/INPUT
I* Data area information file (4 record types)
IDAINFO NS 21 1 CR 5 CM
I 15 35 DAQNAM
I
/CALC
y = 4
FOR x = 4 1
IF wrk1,x <> ' '
MOVE wrk1,x wrk2,y -- Move the element
y = y - 1
ENDIF
ENDFOR -1
SETON RI1(01) RI2(02) RI3(03)
READPE *N filea ERR(98) BOF(99)
UPDATE filea
/DATA
**
CHGDTAARA DTAARA( ( )) VALUE('
**
|END|********


  3 Responses to “Category : Miscellaneous Language Source Code
Archive   : RPGFRE.ZIP
Filename : TSTOUT.RPF

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/