How to retrive the 9th records out of ten records using the
cobol program ?
Answer Posted / kk
Hi,
just use count variable in working storage.then when read
the file add 1 to count.after that u give if statement if
count = 9 display rec.
| Is This Answer Correct ? | 20 Yes | 0 No |
Post New Answer View All Answers
What is the compute verb? How is it used?
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
what are decleratives in cobol?
What kind of error is trapped by on size error option?
How do you differentiate between cobol and cobol-ii?
Can a Search can be done on a table with or without Index?
What is difference between static and dynamic call in cobol?
What are the rules of the move verb?
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
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
What is perform what is varying?
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
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.
How many bytes S(8) comp field occupy and its maximum value?