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

COBOL Programming :: Need help in reading and validating a multiline file

$
0
0
Author: ABINAYATHULASI
Subject: Need help in reading and validating a multiline file
Posted: Tue Apr 18, 2017 11:42 am (GMT 5.5)

I have a file with a single record spanning across multiple lines.There are many such records in that file.

EG: Note :the single record spans from H1 TO S1. it may be even 15000 lines in a single record .
H1.......
H2........
H3......
D1......
D2.......
DN ST .........
DN BZ.........
DH.......
D1....
D2.....
S1........

I want to validate if DNST line(highlighted) alone matches with wat i pass in control card .If matches i have to write the entire block to output file if it doesnt match then ignore them.
_________________
Abinaya


Viewing all articles
Browse latest Browse all 8500

Latest Images

Trending Articles



Latest Images