I have a source program compiled with Cobol-2. The output
file has a record length of 100 defined in the program but
a record of 60 bytes getting written into it. i.e. The rest
of 40 bytes I am not Writing anything. But it by default
puts some values into the last 40 bytes. However it does
not impact anything. But when Compiled the module with
Enterprise Cobol the last 40 bytes were spaces as fillers.
Can anyone explain?

Answer Posted / prashanth

IN THE CASE OF FB , IT WILL FILL SPACE I.E, FILLER, BUT IN
VARAIBLE MODE YOU CAN'T SEE SPACE OR FILLER.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a SSRANGE and NOSSRANGE?

819


In which area will you utilize 88 level items in cobol?

719


Can you please let me know the centre name of INS certification in Kolkata.

1715


what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.

8157


Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?

707






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

1951


State the various causes of s0c1, s0c5 and s0c7.

658


Define cobol?

857


What are the different open modes available in cobol?

714


How do you differentiate between cobol and cobol-ii?

652


How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?

706


Write down the divisions of cobol program?

666


How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)

2722


Which division and paragraphs are mandatory for a COBOL program?

707


how do you reference the fixed unblock file formats from cobol programs

711