Logo 
Search:

Cobol Forum

Ask Question   UnAnswered
Home » Forum » Cobol       RSS Feeds

Need to copy group of records

  Asked By: Vishal    Date: Jan 22    Category: Cobol    Views: 2298
  

Input File 1 [VB 1504 Bytes]

HEADER REC
2000A.....
REC1....
REC2....
2300....
REC3....
REC4....
.
.
RECN......
2000A
REC1....
REC2....
2300....
REC3....
REC4....
.
.
RECN...



FILE2 [10 Bytes FB]
1234567891
9876544211

I want to copy record where 10 BYtes key in File 2 match with 10 Bytes key present in record starting with 2300. Key position [15:10]

If key matches copy record starting from 2000A till next 2000A record.

Any suggestions ....


Share: 

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on Need to copy group of records Or get search suggestion and latest updates.




Tagged: