how can we fetch 3 records in cobol pgm any coding pls ?
Answer Posted / ravi
While reading a record from the input file keep ws- count variable for the count of records you read. When ws- count reaches count =3 put condition to terminate program
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is cobol?
I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.
What is the problem of ordered sequential files access?
can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech
What is report-item in COBOL?
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
how do you reference the rrds file formats from cobol programs
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
What are the different open modes available in cobol?
Differentiate between structured cobol programming and object-oriented cobol programming.
how do you reference the ksds vsam file formats from cobol programs
Which division and paragraphs are mandatory for a COBOL program?
how do you reference the printer file formats from cobol programs
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?