It appears that in our ancient MicroFocus COBOL Windows/DOS environment, when you have a file defined as LINE SEQUENTIAL (records delimited by carriage-return, line-feed), with a minimal FD and no RECORD CONTAINS clause:
1... when you READ a record that is shorter than what is defined by the "01" record description... it pads out the remaining positions with spaces (not surprising to me).
2... when you READ a record that is longer than what is defined by the "01" record description... it reads up to the the number of characters defined by the record description... and the remaining characters will be read by the next READ as if that were the next record.
My question is: I am curious as to whether this behavior is part of the COBOL "Standard" or is implementor defined.
Thanks
1... when you READ a record that is shorter than what is defined by the "01" record description... it pads out the remaining positions with spaces (not surprising to me).
2... when you READ a record that is longer than what is defined by the "01" record description... it reads up to the the number of characters defined by the record description... and the remaining characters will be read by the next READ as if that were the next record.
My question is: I am curious as to whether this behavior is part of the COBOL "Standard" or is implementor defined.
Thanks