TRANSFER Reference Manual

GET-PROFILE-ELEM
TISERV UOW Descriptions
2–326 069139, Update 1 to 40969 Tandem Computers Incorporated
Figure 2-6 illustrates the storage layout for Example 2.
Figure 2-6. Storage Layout for ALTER-PROFILE-ELEM
UW
204
corr-name
num-returned
info for ID 7
info for ID 22
UW
204
corr-name
elem-retn-code
for ID 7
elem-retn-code
for ID 1003
elem-retn-code
for ID 22
num-returned
3
ALTER-PROFILE-ELEM
info for ID 1003
retn-code
retn-code-detail
007
self-ident
uow-code
filler
self-ident
uow-code
3
Definition II (for SCREEN COBOL Programs)
The data structure provided by Definition II is primarily intended for use in SCOBOL
programs. When using either the GET-PROFILE-ELEM UOW or ALTER-PROFILE-
ELEM UOW with Definition II, your application specifies a list of element identifiers.
For each identifier, the GET-PROFILE-ELEM UOW returns a block (defined in the
ELEM-DATA-BLOCK field) containing the identifier, a return code, and the data
requested. That data block is either 36 or 84 bytes long. Identifiers numbered less
than 1000 use 36-byte blocks, while identifiers numbered 1000 or greater use 84-byte
blocks.
The GET-PROFILE-ELEM UOW and ALTER-PROFILE-ELEM UOW are used together
in this way:
The GET-PROFILE-ELEM UOW returns data elements in the ELEM-DATA-
BLOCK field.
The ALTER-PROFILE-ELEM UOW allows you to specify the same ELEM-DATA-
BLOCK field to alter the data elements.