I have sequential file recl 1000 i want to add another 15
bytes to it. The record length should not change..How?



I have sequential file recl 1000 i want to add another 15 bytes to it. The record length should no..

Answer / sadiq

Change the existing char field to compressed format, so that we can adopt space for the 15 bytes

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More COBOL Interview Questions

How do get the result of your program directly on your pc?

0 Answers   UST,


How do define Dymanic array in cobol how do u define single demensional arry and multidymensional arry in ur cobol.

4 Answers   Cap Gemini,


What are the various section in data division and briefly explain them.

0 Answers  


Suppose a program has the following code. What will be the output? MAIN-PARA. DISPLAY 'MAIN-PARA' PERFORM SECTION-A. STOP RUN. SECTION-A. PARA-A1. DISPLAY 'SECTION A PARA A1'. PARA-A2. DISPLAY 'SECTION A PARA A2'.

4 Answers  


a. Can the OPTIONAL clause in COBOL only be coded for input files? b. If it is coded for files opened in OUTPUT, I-O or EXTEND mode, will it give a compilation error? c. If there are no compilation errors and if such files are not coded in the JCL, will the OPEN statement run fine when these files are opened? d. How will a WRITE statement work for the above files?

2 Answers  






CAN ANY ONE HELP WHAT IS QTP? why it is nessery AND WEN IT IS USED?

1 Answers  


Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc

0 Answers  


there is a file whose ORGANISATION is INDEXED.you want to read the records from the file in RANDOM fashion as well as sequentially.then which of the access mode would you specify? a.SEQUENTIAL b.RANDOM c.DYNAMIC D.ACCESS MODE has nothing to do with it

3 Answers   TCS,


What is the utilization of copybook in cobol?

0 Answers  


What are differences between Static Call and Dynamic Call?

10 Answers   IBM, KBC, Keane India Ltd, Verizon,


Write a program to enter and display the names of students in a class using the occurs clause.

0 Answers  


What are all the divisions of a COBOL program?

0 Answers  


Categories