﻿# LOAD

**LOAD <fspec> \{switches\}**

**LOAD <common-module-name> /c**

The LOAD command loads a module into "user memory". See [MEMORY](memory.md) for an explanation of the concept.

**Switches**

| | |
|------|------|
| **Switch** | **Function** |
| /L\{OCK\} | Locks the module in memory so that it cannot be deleted, except by specifying the /UNLOCK switch on the DEL command. |
| /U\{NLOCK\} | Unlock is needed in order to reload (update in memory) a module that was previously locked with the /LOCK switch. |
| /C | Indicates that the specified module name is not a disk file to be loaded into user memory, but the name of a COMMON module, which is to be initialized. This distinction is necessary since COMMON modules continue to be implemented via internal memory buffers within A-Shell rather than via user memory. |
| /? | Writes switch listing and usage info to the screen. |




**Comments**

The maximum number of modules which can be loaded into user memory per job is 96.

**See Also:**

•	[DEL.LIT](del.md): deletes modules from memory

•	[MAP.LIT](map.md): display memory modules and memory available

•	[MEMORY.LIT](memory.md): change memory size

•	[MEMORY](memory.md)[SP](keyword-types.md) (system parameter): set memory size at system start up

•	[MX\_USRLOD](mx_usrlod.md)[XS](keyword-types.md): load memory modules from within program