PACK—Set or Query Pack Mode
The PACK macro command sets pack mode, which controls whether the data is stored in packed format.
The PACK assignment statement either sets pack mode, or retrieves the setting of pack mode and places it in a variable.
The PACK command saves the pack mode setting in the edit profile. See Packing data for more information about packing data.
Syntax
- ON
- Saves data in packed format.
- OFF
- Saves data in unpacked (standard) format.
If you change pack mode, data is written when an END command is issued.
- varname
- The name of a variable to contain the setting of pack mode, either ON or OFF.
- ON
- Same as macro command syntax.
- OFF
- Same as macro command syntax.
Return codes
- 0
- Normal completion
- 20
- Severe error
Examples
To set pack mode off:
ISREDIT PACK OFF