Quantcast
Channel: IBM Mainframe Computers Forums
Viewing all articles
Browse latest Browse all 8500

COBOL Programming :: RE: how to DYNAMICALLY write sort cond to o/p file using cobol

$
0
0
Author: Akatsukami
Posted: Sat Aug 27, 2016 12:13 am (GMT 5.5)

Create an internal table with 16 entries. Let the last byte of each entry be set to comma. As records are read, let them be placed in the four-byte portion of the entry. When the table is full, write it out. Be sure to include logic to handle the case where the input data set does not contain a multiple of sixteen records.
_________________
Data is not information.
Information is not knowledge.
Knowledge is not wisdom.


Viewing all articles
Browse latest Browse all 8500

Trending Articles