what is the use of filler in cobol programing?

Answers were Sorted based on User's Feedback



what is the use of filler in cobol programing?..

Answer / anubhav

FILLER can be used to align numeric variables to word
boundaries for performance improvement.

When you intialize a group variable, filler fields are
unaffected. This can be used to our advantage. for example
in date fields-
Code:
01 date-fl.
05 mm pic xx.
05 filler pic x value '/'.
05 dd pic xx.
05 filler pic x value '/'.
05 yy pic xx.

By declaring this variable we need not move '/' as a
separator even if we use and initialize date-fl in program
many times.

Is This Answer Correct ?    50 Yes 8 No

what is the use of filler in cobol programing?..

Answer / vinod

filler is used when we declaring the files supose if u give
record length 80 while declaring in file rec given the size
only 60 for filling the gap of the record in to the spaces
we use the filler.
ex:
01 file1-rec.
02 file-name pic x(60).
02 filler pix x(20).

Is This Answer Correct ?    45 Yes 4 No

what is the use of filler in cobol programing?..

Answer / guest

to fill the unused spaces in a record size

Is This Answer Correct ?    32 Yes 3 No

what is the use of filler in cobol programing?..

Answer / ganesh

in simple, for decoration purpose.... as well as for clarity
output

Is This Answer Correct ?    21 Yes 9 No

Post New Answer

More COBOL Interview Questions

what do you mean by copybook? and what is the difference between the copybook which we are using in working storage and procedure division.

3 Answers   HCL, TCS,


what is sync clause?

2 Answers   DELL,


what is the difference between Plan & package

3 Answers   IBM,


With in these three which one is the default one Call Reference, Call By Value, Call By Content.-Which one is default?

4 Answers   IBM,


i friends greetings to the day...!!! I face a quation like"while runnig the programe every day i have to access the previous day updates only...!! Ex:- Let last day 100 customers took bank account i have to select those customers only.."

4 Answers   CSC,






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 redefines? where it can be effectively use for the purpose of memory utilization? give an example?

4 Answers   IBM,


The hierarchy of the execution of logical operators is (a) NOT AND OR (b) AND OR NOT (c) OR AND NOT (d) OR NOT AND

10 Answers   Huawei, IBM, TCS,


What are the differences bitween cobol and cobol-2?

1 Answers   Wipro,


i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this

0 Answers  


how many bytes does a s9(12)COMP-4 field occupy?? a.2 b.4 c.8 d.1 ans with reason please

2 Answers  


Why IBM?

1 Answers   IBM,


Categories