Format 2: WRITE statement for indexed and relative files

1 WRITE record-name-1
2? FROM identifier-1
3? INVALID
3.1? KEY
3.2 imperative-statement-1
4? NOT INVALID
4.1? KEY
4.2 imperative-statement-2
5? END-WRITE