adspace
write algo for cobol program whichuse three flat file to
extract some specific information 8 marks mainframe
Answer Posted / Rishikant
Here is an example algorithm for a COBOL program that extracts specific information from three flat files:
1. Read the input control file to determine the sequence of operations (e.g., which files to read, what data to extract).
2. Open each of the three flat files (FILE1, FILE2, and FILE3) for reading using OPEN-IN statements.
3. Set appropriate variables for storing extracted data.
4. Process each record in FILE1 and read the required data from the other two files based on a common key or identifier. Store the combined information into the output format.
5. Write the processed records to an output file using WRITE-OUT statements.
6. Close each of the three files using CLOSE statements.
7. Stop when end-of-file is reached for any of the input files.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
can we extend a class having only one parameterised constructor.Suggest the process to do it.
Compare any 4 software development life cycle paradigms with each other. Indicate at least one application for each of the paradigms that are suitable to developed using that paradigm.
hi, all this is shoba m.c.a . i have learned abap but no oppurtunities right now as fresher , right now i want to learn any course on demand any one pls suggest me good course and institute in hyderabad
Explain the types of operations? Draw the figure for shift and rotate operations?
How to get the index of the clicked field in reports in ABAP?
Bonjour, svp je veut voir comment envoyer un mail en java et comment changer le droit d'accé d'un fichier en java: de lecture en lecture/écriture et merci d'avance ;)
what is class module in vb6? what it's use? with example..
what is the diff bw sql direct and jdbc update can't we do select and updating operation in sql direct
Please forward important interview and basic questions in VB6 on my email id: usneha_16@yahoo.co.in
If u need any fake experience certificate in software side, contact me at: vikramyadhav@gmail.com
I am taking the bmc control m/enterprise manager 7.0 scheduling test and just wanted to see what kind of questions they would ask or if anyone has taken the test and how long it is for how many questions?
hi This is radhika.Can anyone help me to know the question papers of NATIONAL INFORMATICS CENTRE for the post of scientific officer/engineer? if anyone know plz tell me question paper pattern
I want sample papers for NIC Examination. Plz send them to my mail Id das.neelam@gmail.com . Plz send it today, tomorrow i've the exam.
Hi Guys, This is Rama, right now I am working as a Software Test Engineer in Gurgoan and I have over all 3 years of testing expoeriance. Right now I am looking for a change. Can any body help me out to find a job in south india. Thanks in Advance
Give examples of macro quoting function?