venkatesh k
Programmer
thread209-715969
Hi All,
As part of one of my requirement i need to handle the COBOL such that the input file may be of any length.
i.e. Dynamically the COBOL program should take the input file length.
Please suggest or provide sample code for the same.
(I have seen similar post which is closed but ended with solution for obtaining input file length dynamically. But open question to get output file length. My suggestion is just previous step allocate the output file & in cobol program use that file as in-out mode, in which case you can get the DCB parameter for output file too).
Hi All,
As part of one of my requirement i need to handle the COBOL such that the input file may be of any length.
i.e. Dynamically the COBOL program should take the input file length.
Please suggest or provide sample code for the same.
(I have seen similar post which is closed but ended with solution for obtaining input file length dynamically. But open question to get output file length. My suggestion is just previous step allocate the output file & in cobol program use that file as in-out mode, in which case you can get the DCB parameter for output file too).