If a file has 1000 records.. if i have to replace the first and last characters of the file with another character. how it can be done....



If a file has 1000 records.. if i have to replace the first and last characters of the file with ano..

Answer / raj

Using findrep in sort

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More COBOL Interview Questions

what is the use of filler in cobol programing?

4 Answers   MAT,


Where the Plan is located in CICS-DB2

2 Answers   IBM,


a pic s9(4) comp b pic s9(4) comp-3 c ???????????????? d ???????????????? move a to c add a+B giving d. what is ur declaration for c,d?

4 Answers  


Suppose, file A has 100 records and file B has 500 records. We want to write records common to both A and B into file C and records which are present only in either A or B into another file D. What should be the logic of Cobol program to achieve this?

7 Answers   Bank Of America, Mind Tree,


Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.

0 Answers  


how to pass 100 to s9(4) how r they inserted ?

3 Answers   TCS,


which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad

0 Answers  


When can the USING phrase be included in the call statement ?

2 Answers  


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

0 Answers  


How to define a array dynamically.....

5 Answers   Fidelity,


why occurs clause not mentioned in 01 level

6 Answers   HCL, NIIT, TCS, Tesco,


wht is the difference between goto and perform stmts

7 Answers   DELL,


Categories