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

why mainframe we use not like java as frontend oracle as backend. or not word excel.In there also huge ammount data stored.

2 Answers   TCS,


If there are two files one with 100 records and other with 101 records. we have to find out the one record that is the odd man out . What are the steps to do it

7 Answers   BirlaSoft,


if a>b continue display x. dispaly y. end-if display 1 display 2. display 3. what should be my output ?

3 Answers  


How do u write test cases?

0 Answers   IBM,


How do you set a return code to the JCL from a COBOL program?

4 Answers  






How to remove 2 duplicate records and copy only one using job control language?

0 Answers  


how can u pass the values into db2 values from cobol ?

3 Answers   CTS,


How do you come out of an EVALUATE statement?

3 Answers  


How do u find the programs calling the given module, without having doing 3.13 on loadlib/source library?

2 Answers  


Define cobol?

0 Answers  


What are the steps you go through while creating a COBOL program executable?

3 Answers  


I have a table with 3 dimensions like this : 01 ws-table 04 ws-page occurs 3 08 ws-column occurs 2. 12 ws-record occurs 20 pic x(40). How to code with PERFORM varying with 3 dimension...I forgot..

2 Answers   EDS,


Categories