Page 2 of 2

Re: Dynamic call in COBOL

PostPosted: Tue Mar 02, 2010 12:37 am
by dick scherrer
Hello,

I'm not sure that concatenation will work for files with different lrecls. . . As the in-put has multiple lrecls defined as FB, i suspect there would be an abend when the run did not contain all files with the same lrecl.

Later, the Ist o/p file is used in some processing.

Even if concatenation would work, i still am confused about how the different-format data would be used in a common file :?

Now, there is a new bit to the requirement to determine if a particular file was copied successfully (not something typically done by cobol code). . . .

Re: Dynamic call in COBOL

PostPosted: Wed Apr 07, 2010 4:20 pm
by Priyadharshini
Hi Dick,

Sorry. The files are of same length. I achieved by internal reader concept through JCL itself.
COBOL is not necessary. By dynamically concatenating the files and merging them will give the required result.

Thanks for your replies.
Priya