what is the use of filler in cobol programing?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how to differentiate call by context by comparing it to other calls?

689


Write a program to enter and display the names of students in a class using the occurs clause.

653


Whats the difference between search & search ALL?

5264


What is Pic 9v99 Indicates in COBOL?

727


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

722






How can you get the ksds file records into your cobol program?

644


What are all the divisions of a COBOL program?

665


What is perform what is varying?

709


How to use the same COBOL program in Batch and CICS on lines? explain with an example

1914


Explain the configuration section of a cobol program with examples of syntax.

659


What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?

679


what are decleratives in cobol?

1827


What is the difference between external and global variables in COBOL?

813


Explain about different table spaces.

650


How to print 10 to 1 if the input have only 10 digit number?

811