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



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

Answer / 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

More COBOL400 Interview Questions

How we create file in COBAL400

1 Answers  


WHAT ALL THE CONDITIONES REQUIRED FOR USING OPEN OPCODE ON A FILE?

2 Answers  


what is PERFORM? and its types?

7 Answers  


Explain the difference between search and searchall?

0 Answers  


What is the syntax of sort?

0 Answers  






can i anyone tell me how to use copybooks in cobol

1 Answers  


Explain the difference between section, paragraph and sentences?

0 Answers  


Explain the input procedure?

0 Answers  


What is the syntax of redefine?

0 Answers  


Trying to help a friend... How do you code screen I/O without a DDS? I know it can be done, because for a short time, I worked for a company that did it. It was just too long ago for me to remember what was involved.

1 Answers  


How to detect record is locked in cobol/400?

0 Answers  


How can i change the below code in SQL to cobol/400? EXEC SQL SELECT COUNT(*) INTO : WS-COUNT FROM Db file WHERE Field 1 = : WS-VAR AND Field 2 = : WS-USERID END-EXEC

2 Answers   HP,


Categories