Context:
Procedure Division Statements
Where: identifier is the name of the list or dictionary collection type.
The following overwrites the first element in the list stringList.
rewrite stringList from "ITEM REWRITE" key 0 display "The contents of the list after rewrite element 0 : " invoke displayListContents(stringList)
See also the Collections sample, which is available from .