If you wanted to create a very simple program and you have SEU then:
- From the command line
- Type in STRSEU QCLSRC SIMPLE CLLE
- Type in PGM on the first line following ‘Beginning of data’
- Press F3
- Type in CRTBNDCL SIMPLE
You now have created a simple program. To call it from the command line type in CALL SIMPLE
I’m not sure what you mean by MODULE “type” (it’s the ‘type’ that’s confusing me). But for a general discussion of *PGMs, *SRVPGMs, and *MODULEs I would recommend starting with Chapter 2 ILE Basic Concepts.