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 |
why mainframe we use not like java as frontend oracle as backend. or not word excel.In there also huge ammount data stored.
If there are two files one with 100 records and other with 101 records. we have to find out the one record that is the odd man out . What are the steps to do it
if a>b continue display x. dispaly y. end-if display 1 display 2. display 3. what should be my output ?
How do u write test cases?
How do you set a return code to the JCL from a COBOL program?
How to remove 2 duplicate records and copy only one using job control language?
how can u pass the values into db2 values from cobol ?
How do you come out of an EVALUATE statement?
How do u find the programs calling the given module, without having doing 3.13 on loadlib/source library?
Define cobol?
What are the steps you go through while creating a COBOL program executable?
I have a table with 3 dimensions like this : 01 ws-table 04 ws-page occurs 3 08 ws-column occurs 2. 12 ws-record occurs 20 pic x(40). How to code with PERFORM varying with 3 dimension...I forgot..