RPG Utilities

object listing

March 17, 2010
By

valuable for discovering old objects that have never been used, or not in the last X years – etc. As the administrator of the system, the QSECOFR, this was a handy utility for finding and removing old objects off the hard disk. PRTOBJT (PRTOBJText) enhanced from Nov.’91 Midrange Computing pg.26 At KDHE, the Kansas Dept. of Health and Environment, Topeka, Kan. by Greg Smith,...

Read more »

Display Format: DSPFMT, a free utility

February 22, 2010
By

Display Record Format DSPFMT: An API Alternative to DSPFFD ( DiSPlay File Format Description ) A FREE utility to view a physical file with all its logicals, in a single view. So much nicer than having to piece it all together from separate commands for the PF and for each LF, one at a time! Aug, 1991 Robin...

Read more »

indented source code listing

February 21, 2010
By

To Print Indented RPG-ILE There are 2 programs here, an old RPG program to indent the old 80 column RPG source code and a newer ILE-RPG program to indent the newer 100 column ILE-RPG source. Then, of course, we have the RPG-FREE which can be indented within the source itself. Finally. - Greg Indenting RPG III Source Dec 1991 Now includes RPG-ILE – GregS...

Read more »

Edit your LDA

February 21, 2010
By

Edit your Local Data Area, (LDA) It is very simple, only a CLP and a DSPF /* CLP: Edit the Local Data Area ( *LDA ) */ PGM DCL &LINE1 *CHAR LEN(50) DCL &LINE2 *CHAR LEN(50) DCL &LINE3 *CHAR LEN(50) DCL &LINE4 *CHAR LEN(50) DCL &LINE5 *CHAR LEN(50) DCL &LINE6 *CHAR LEN(50) DCL &LINE7 *CHAR LEN(50) DCL &LINE8 *CHAR LEN(50) DCL &LINE9 *CHAR LEN(50)...

Read more »

copy printouts to a file

February 16, 2010
By

copy multiple AS/400 printouts to a file PROGRAMMER: Greg Smith, Omaha, Neb. 1994 With this program, if you have a collection of printouts in an outq (not your default outq), like a series of print-screens or whatever, this program will dump them all to a single file and that file will be copied to a PC folder/file also, on your I drive if you...

Read more »