what is the use of filler in cobol programing?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / vinod
filler is used when we declaring the files supose if u give
record length 80 while declaring in file rec given the size
only 60 for filling the gap of the record in to the spaces
we use the filler.
ex:
01 file1-rec.
02 file-name pic x(60).
02 filler pix x(20).
| Is This Answer Correct ? | 45 Yes | 4 No |
Answer / ganesh
in simple, for decoration purpose.... as well as for clarity
output
| Is This Answer Correct ? | 21 Yes | 9 No |
input:-AABBCCDDEFGHIIJ output:- ABCDEFGHIJ Here in input we hav the duplicate characters i.e repeating characters.SO we should eliminate the duplicate characters and should display the output in ascending order.
Is it possible to mutliply a comp variable with an comp-3 variable. Will there be any error if i do it?
what is the diff b/w select stsmt and cursor ?
Write the code implementing the perform … varying.
what is the basic concept of mainframe? what knowledge is needed for learn this mainframe?
If you were passing a table via linkage, which is preferable - a subscript or an index?
how we rectify soc4 and soc7 error in project(need real time answer)? please reply
What is the maximum size of a 01 level item in COBOL I? in COBOL II?
Can anyone explain me CALL procedure in COBOL.Does it carries similarities like call by reference in C.
We are using the searching a table which is indexed, once the key is found, how can we get the occurance at which the key was found.
In an array processing what is the thing that can be done by using subscripts but not by using index
I have a sequential file. How do I access a record in this sequential file randomly in my program ?