what is the use of filler in cobol programing?

Answers were Sorted based on User's Feedback



what is the use of filler in cobol programing?..

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

what is the use of filler in cobol programing?..

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

what is the use of filler in cobol programing?..

Answer / guest

to fill the unused spaces in a record size

Is This Answer Correct ?    32 Yes 3 No

what is the use of filler in cobol programing?..

Answer / ganesh

in simple, for decoration purpose.... as well as for clarity
output

Is This Answer Correct ?    21 Yes 9 No

Post New Answer

More COBOL Interview Questions

where do u use low-value and high value in cobol

3 Answers   CGI,


How do u sort the table for Search ALL? Is it only using ASCENDING KEY IS statement in occurs clause? If the data is input in non ascending order, will the ASC KEY IS automatically sort the data? or will it throw compile time error?

1 Answers   CTS,


How include time & date in the report generation in cobol programing?

2 Answers  


Describe the difference between subscripting and indexing ?

2 Answers  


how would you resolve sb37 and SE37?

2 Answers   Hewitt,






How can you submit a job from COBOL programs?

2 Answers   ITC Infotech,


What are the divisions in a cobol program?

1 Answers  


I have a field with data type X(10). I want to perform arithmetic operation on this field? I tried doing it by moving the value into a numeric field. but it didn't work out. I am getting a S0C7 abend. Pls let me know if there is any way of getting this done?

2 Answers   ADP,


How to resolve the soc4 & soc7 other than following answers. Soc4 can resolved using mispleed dd name and dd name is not matching with file and soc7 check the sysdump and copy the offest address then correct it in the program.

10 Answers   ADP, Amdocs, Cap Gemini, Keane India Ltd, Super Value, TCS,


what is the minimum number of lines a Cobol program should have to successfully compile and run

7 Answers  


I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......

4 Answers   Accenture,


can we print comp 3 stmts how ?

3 Answers   Accenture, TCS,


Categories