次の例では、リスト stringList の最初の要素を上書きします。
rewrite stringList from "ITEM REWRITE" key 0 display "The contents of the list after rewrite element 0 : " invoke displayListContents(stringList)
集合のサンプルも参照してください。このサンプルは、Start > All Programs > Micro Focus Visual COBOL > Samples、COBOL for .NET の場合の場合 。 に用意されています。