hi,
What will be written to the Output file when the last write statement is executed.?
FD Out-rec.
01 Output-record.
05 field1 pic X(4).
05 field2 pic X(7).
Procedure Division.
……
Move “Bill†to field1.
Move “Company†to field2.
Write Output-record.
Move “Jim†to field1.
Write Output-record.