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

01 ws-p pic 9(2). 01 ws-q pic 9(2) value 01. 01 ws-r pic 9(2) value 99. p.d. compute p = q + r what will be result of p ans(00) but my question is that how i got 10 on the place of 00. (truncation will ocuure on right side not left). please tell me ?

6 Answers   L&T,


what is call by value and call by reference ?

3 Answers   Infosys, ITC Indian Tobacco Company,


how do u indetify files succesfully executed or not ?

4 Answers   TCS,


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

0 Answers  


What is a scope terminator? Give examples.

2 Answers  






how to refer the data field?

0 Answers  


what is amode(24), amode(31), rmode(24) and rmode(any)?

0 Answers  


Explain call by context by comparing it to other calls.

1 Answers  


what is SYNCHRONIZATION?

3 Answers   Syntel,


SIGN TRAILING SEPARATE field occupy ?

3 Answers  


u have passed sme charecters thru parm parameter in jcl. how do u code in cobol to recieve the values u gave in parm ?

2 Answers   IBM,


where do we use dyanamic call ? and where do we use static call pls give any example pls ?

3 Answers   Patni,






Categories