4. CA MICS Facilities › 4.6 Documentation Programs › 4.6.1 Document Utility Control Commands › 4.6.1.1 Document Assembly Commands
4.6.1.1 Document Assembly Commands
The commands $COPY, $SMEM, $LMEM, and $DMEM select data set
members. $COPY is used in book picklists. $SMEM and $LMEM
can appear in a picklist or a text module. $DMEM normally is
used only from a picklist, but can also be imbedded within a
text member. The description of each command follows. Note
that the format of these commands is fixed. The document
assembly dollar commands are:
$COPY mmm...
When $COPY appears in a picklist, it copies in another
picklist. In that case, mmm... has the value PIC...
$COPY statements can be nested up to 10 levels deep.
$COPY is used only for picklists. The commands $SMEM and
$LMEM replace the old $COPY #INS.... and #INL.... and
thus allow any member name to be referenced in a copy
operation, as described below.
$DMEM mmm... ttt...
Names a DIC.TEXT (data dictionary) member (61 characters
wide) to be included in the output file. "mmm..." is the
member name (data element name) and "ttt..." is the long
data element name; ttt... can contain up to 40
characters.
$LMEM mmm... ttt...
Names a long text member (up to 130 characters wide) to be
included in the output file. This command should normally
be imbedded within a text member, but is also used in a
picklist to copy title pages. "mmm..." is the member
name, and "ttt..." is the figure title that is maintained
for easy identification of the member contents.
$SMEM mmm... ttt...
Names a short text member (normally up to 61 characters
wide) to be copied to the output document file. This
command is used in picklists to identify text sections
that make up a larger document. This command can also be
imbedded within a text member to copy additional text into
the output document. "mmm..." is the member name, and
"ttt..." is the descriptive section title that appears in
the online Document Browse menu.
Note: The document assembly commands are fixed format.
These commands expect the member name field to occupy
8 character positions. Member names should begin in
column 7 and titles should begin in column 16. Up to
57 characters of title information will be displayed
by online Document Browse or printed in the hardcopy
tables of contents.