3 ms·
"your programs were reading fixed length lines of data off a tape" COBOL could actually do more sophisticated stuff than that. For example, it had the "occurs
by greenyoda 9y ago
"your programs were reading fixed length lines of data off a tape"
COBOL could actually do more sophisticated stuff than that. For example, it had the "occurs depending on" construct, where you could read a record that had variable numbers of repetitions of a sub-structure, with the number of repetitions specified by one of the fields. (I never actually programmed in COBOL, but I've had to deal with code that had to support COBOL-style data structures.)
- marktangotango 9y agoIt's not as sophisticated as you may suppose :) https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_73/rzase/cbldevfiotapvarlen.htm https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_73/...