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 Start > All Programs > Micro Focus Visual COBOL > Samples , under COBOL for JVM (Windows) or $COBDIR/demo (UNIX).