Dynamic call in COBOL



Support for OS/VS COBOL, VS COBOL II, COBOL for OS/390 & VM and Enterprise COBOL for z/OS

Re: Dynamic call in COBOL

Postby dick scherrer » Tue Mar 02, 2010 12:37 am

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). . . .
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: Dynamic call in COBOL

Postby Priyadharshini » Wed Apr 07, 2010 4:20 pm

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
Priyadharshini
 
Posts: 6
Joined: Wed Feb 24, 2010 10:36 pm
Has thanked: 0 time
Been thanked: 0 time

Previous

Return to IBM Cobol

 


  • Related topics
    Replies
    Views
    Last post