Answer Posted / mahendra.ch
1st way to copy records to an other ps.
open input in-file
output out-file.
perform until end-of-file = 'y'
read in-file
at at end move 'y' to end-of-file
not at end
move in-rec to out-rec
write out-rec
end-read
end-perform.
close in-file.
close out-file.
2st way to copy records to an other ps.
we can copy the records by using file-aid tool also.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?
Which is not true about evaluate statement
What rules are followed by the search verb.
What is the difference between comp and comp-3 usage?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
how do you reference the fixed unblock file formats from cobol programs
When is inspect verb is used in cobol?
What is comp-1 and comp-2?
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
input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?
Explain how to differentiate call by context by comparing it to other calls?
What is cobol?
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
Write a program to explain size error.