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
Difference between array and sub-script ?
How do you define a variable of comp-1 and comp-2?
Explain how to differentiate call by context by comparing it to other calls?
Explain how you can characterize tables in cobol?
1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?
Explain about different table spaces.
What the difference is between continue and next sentence?
Can we change the password using ALTER? anyone tried and changed?
What is the difference between PIC 9.99 and 9v99 in COBOL?
how to convert the recors form vsam file to db2 table tru file aid
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
How do get the result of your program directly on your pc?
What are various search techniques in cobol? Explain.
Are you comfortable in cobol or jcl?
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