COBOL Manual for TNS/E Programs (H06.08+, J06.03+)
• Disk Files Only
The UNLOCKRECORD statement has no effect unless the file specified is a disk file.
• Key of Reference, File Position Indicator, and Record Area
The key of reference, the file position indicator, and the record area are not affected by the
execution of an UNLOCKRECORD statement, whether it succeeded or not.
UNSTRING
UNSTRING partitions a data item (the source) into strings of consecutive characters and stores
those strings into other data items (the results). You can determine the partitioning in two ways:
• Use the size of the result data items.
• Use the presence of specific character sequences in the source (like spaces in a person’s name
or commas and decimal points in an edited number).
When the statement executes, it stores these into data items of your choice:
• Each part
• For each part, the delimiter that ended that part (optional) and the number of characters stored
(optional)
• A count of the parts stored (optional)
• A character-count pointer to specify where in the item the unstring operation terminates
(optional)
474 Procedure Division Verbs










