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

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

1 Answers  


How can you display the SPOOL information ?

2 Answers  


What is the difference between comp and comp-3 usage?

0 Answers  


How to resolve the soc4 and soc7 errors?

5 Answers   IBM, RBS,


BY seeing a program how can we say that it is static call or dynamic call

5 Answers   CGI,






what is difference between cobol and cobol/400

1 Answers   HCL,


Using string statement.Is coding three destination string from one source string possible in one code?or three codes for every destination string of one source string.?thank you

1 Answers   BPL,


Suppose i have a variable with s9(18)v99 comp3 . what is the size of variable . If s9(18) comp3 is 10 bytes . There should be some difference between two allocations ? Thanks krishna chaitanya

2 Answers   CSC,


if i am reading a file with some 50000 records and moving to a DB2 table and suddenly the program abends in between, is there anyway i could restart from the exact record at which the job failed once the program restarts.

2 Answers   UST,


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,


How do you reference the fixed block file formats from cobol programs

0 Answers  


i have mainprogram and subgram...if i compile mainprogram without stop run..what will u get in compilation time?

5 Answers   HCL,


Categories