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 are the various section in data division and briefly explain them.
Write a program to enter and display the names of students in a class using the occurs clause.
What is the local-storage section?
Can we redefine the field of x(200) to less than 200?
how do you reference the rrds file formats from cobol programs
How many bytes S(8) comp field occupy and its maximum value?
What is the difference between perform … with test after and perform … with test before?
Name the divisions, which are available in a cobol program?
I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?
if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
What are different data types in cobol?
how do you reference the variable unblock file formats from cobol programs
how to refer the data field?
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?