What are Fillers ?
What is the actual use of Fillers ? With small/simple
Example..

Answer Posted / krishna

When a programmer is not intended to use any fields in a record structure, it can be defined as Filler.
This can’t be initialized or used in any operation of the procedure division.


Eg: if a record contains the following fields
05 EMP-REC.
10 EMP-KEY PIC XXX.
10 EMP-NAME PIC X(32).
10 EMP-SEX PIC X.
10 EMP-DEPT PIC X(10)
10 EMP-DESIG PIC X(5).
10 EMP-SAL PIC 9(7).


If the programmer is not intended to use , name ,dept and sal in the program the u can define the structure as follows
05 EMP-REC.
10 EMP-KEY PIC XXX.
10 FILLER PIC X(32).
10 EMP-SEX PIC X.
10 FILLER PIC X(10)
10 EMP-DESIG PIC X(5).
10 FILLER PIC 9(7).

Is This Answer Correct ?    21 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the syntax of sort?

680


Explain the difference between section, paragraph and sentences?

676


Explain the input procedure?

687


How to detect record is locked in cobol/400? What is the solution for that?

694


Explain the difference between search and searchall?

664






What are fillers?

784


What is perform?

839


Define redefine and its syntax?

706


I like to know if possible to use %TRIM or any statement with prefiv "%" like RPG ile programs. thanks

2240


Explain how to convert 2010/02/11 to m/dd/yyy.. With string and without string if any other method... Code?

858


What is sort? And its syntax?

815


Explain the input procedure and output procedure?

668


Explain how to detect record is locked in cobol/400? What is the solution for that?

681


What is sort?

716


What is the actual use of fillers?

692