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
What is the default value(s) for an initialize and what keyword allows for an override of the default?
i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc
Why occurs cannot be used in 01 level in COBOL?
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
What is the difference between comp and comp-3?
What is the difference between PIC 9.99 and PIC9v99?
How to use the same COBOL program in Batch and CICS on lines? explain with an example
What are the different rules for performing sort operation?
what is difference between cobol and cobol/400
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
Write the code to count the sum of n natural numbers.
Which mode is used to operate the sequential file?
i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?
What is an in line perform? When would you use it? Anything else you wish to say about it.
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