Packed data is data in which ISPF has replaced any repeating
characters with a sequence showing how many times the character is
repeated. Packing
data allows you to use direct access storage devices (DASD) more efficiently
because the stored data occupies less space than it would otherwise.
If the source data that you want to process is packed, it must
be expanded before it can be successfully processed by any of the
language processors. Which expansion method you should use depends
on whether your source data is:
- A sequential data set that contains expansion triggers
An expansion
trigger is a keyword that tells ISPF to expand additional data
before copying, including, or imbedding it in the source data. Examples are INCLUDE and
COPY statements, and SCRIPT .IM (imbed) control words. For information
about defining your own expansion triggers, refer to z/OS ISPF Planning and Customizing.
ISPF
does not recognize expansion triggers in data stored as a sequential
data set. Therefore, for this type of data, you should follow these
steps:
- Manually expand the data that is to be copied, included, or imbedded
in your source data. To do this, edit the source data, enter the PACK
OFF command, and then save the data. When you have finished processing
the data, you can repack it by editing it again and entering PACK
ON.
- Select the Source Data Packed option before calling one of the
language processors.
- Either of these:
- A sequential data set that does not contain expansion triggers
- Any member of a partitioned data set, either with or without expansion
triggers.
ISPF does recognize expansion triggers
in data stored as members of a partitioned data set. Also, if your
source data does not contain expansion triggers, you do not have to
be concerned with them. Therefore, for these two types of data, select
the Source Data Packed option before calling one of the language processors.
In each of the preceding situations, selecting the Source Data
Packed option causes ISPF to expand packed source data before it is
processed. For partitioned data sets, any included members are also
expanded inline where the INCLUDE or COPY statements, .IM SCRIPT control
words, or other user-defined trigger statements are found.