Use the ADDTO command to define new map records. The MAPREC keyword is required when adding a MAP record to the SDT Record.
To define a new MAP record to the SDT, enter the command:
TSS ADDTO(SDT) MAPREC(map‑name)
DESCRIPT(descript‑name)
MAPDATA(field‑definition)
Specifies a user‑defined record ID that must be unique for each MAP record. The name can contain letters, numbers, and special characters.
Size: 8 characters
Designates an optional user‑description field that is used as a logical name for this record. If the description field contains blanks, you must enclose it in single quotes.
Size: 32 characters
Specifies the layout of this screen field. You can specify up to five fields on each MAPDATA keyword. Each field‑definition operand consists of five sub‑fields:
Examples: define a MAP record
This example creates a MAP record called ENG1 in the SDT:
TSS ADDTO(SDT) MAPREC(ENG1)
This example adds a MAPDATA field to the MAP record ENG1 that contains a salary field called PAY which is in binary format in the fifth row and sixth column, and has a length eight characters:
TSS ADDTO(SDT) MAPREC(ENG1)
MAPDATA(PAY,BIN,5,6,8)
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|