z/OS ISPF Edit and Edit Macros
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


PACK—Set or Query Pack Mode

z/OS ISPF Edit and Edit Macros
SC19-3621-00

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

Read syntax diagramSkip visual syntax diagram
Macro command syntax

                  .-ON--.   
>>-ISREDIT--PACK--+-----+--------------------------------------><
                  '-OFF-'   

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.

Read syntax diagramSkip visual syntax diagram
Assignment statement syntax

>>-ISREDIT--(varname)-- = --PACK-------------------------------><

Read syntax diagramSkip visual syntax diagram
                       .-ON--.   
>>-ISREDIT--PACK-- = --+-----+---------------------------------><
                       '-OFF-'   

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

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014