LOADGO Command
Use the LOADGO command to load a compiled or assembled program into main storage and begin execution. The LOADGO command invokes the system loader to accomplish this function. The loader combines basic editing and loading services of the binder or linkage editor and program fetch in one job step. Therefore, the load function is equivalent to the link-edit and go function.
The LOADGO command does not produce objects or load modules for program libraries, and it does not process binder or linkage editor control statements such as INCLUDE, NAME, or OVERLAY. If you need to use these control statements, use the LINK and CALL commands.
The LOADGO command also searches a specified call library (SYSLIB) or a resident link pack area, or both, to resolve external references.
- The names of one or more data sets containing your program objects or object modules and/or load modules.
- Parameters to pass to the program you execute.
- Whether the system is to produce output listings and place them in a data set you specify or display them at your terminal.
- One or more names of library data sets to be searched by the binder or linkage editor to locate object modules referred to by the module being processed; that is, to resolve external references.
- Whether the system is to send error messages to your terminal as well as to the PRINT data set.
- Whether the system is to include a list of external names and their addresses in the PRINT data set.
- Whether the system is to search the data set(s) you specified on the LIB operand to locate program objects or load modules to which the executing load module refers.
- The external name for the loaded program's entry point.
- The name you want to assign to the loaded program.
This topic shows you how to use the basic functions of LOADGO. For a complete description of the LOADGO command, see z/OS TSO/E Command Reference.