The source code is stored in text form in table REPOSRC, but to run a program you have to compile it first. Like you don't run a C program directly.
The compiled versions of a program are stored in table REPOLOAD. SGEN simply mass compiles programs.
Cheers Michael