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
Explain how to differentiate call by context by comparing it to other calls?
Write a program to enter and display the names of students in a class using the occurs clause.
Whats the difference between search & search ALL?
What is Pic 9v99 Indicates in COBOL?
In which area will you utilize 88 level items in cobol?
How can you get the ksds file records into your cobol program?
What are all the divisions of a COBOL program?
What is perform what is varying?
How to use the same COBOL program in Batch and CICS on lines? explain with an example
Explain the configuration section of a cobol program with examples of syntax.
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
what are decleratives in cobol?
What is the difference between external and global variables in COBOL?
Explain about different table spaces.
How to print 10 to 1 if the input have only 10 digit number?