IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Is FILLER a data type or not ?


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ch.prashant

New User


Joined: 16 Sep 2006
Posts: 27
Location: Hyderabad

PostPosted: Thu Sep 28, 2006 8:21 pm
Reply with quote

is filler a data type or not ?
Back to top
View user's profile Send private message
guptae

Moderator


Joined: 14 Oct 2005
Posts: 1208
Location: Bangalore,India

PostPosted: Fri Sep 29, 2006 9:30 am
Reply with quote

No its not a data type.
Back to top
View user's profile Send private message
guptae

Moderator


Joined: 14 Oct 2005
Posts: 1208
Location: Bangalore,India

PostPosted: Fri Sep 29, 2006 9:33 am
Reply with quote

Hi prashanth,

There is a special type of COBOL field called FILLER. This reserves space in a COBOL record, commonly for future expansion or to fill a gap created by a redefined field. FILLER is a reserved word, and you can have as many FILLER fields in a record as you want -- the name does not have to be unique as field names must be.
Filler can also be used to create a field, or place holder, that you will never need to refer to by name, so you might find it contains actual data, not just blank space.

01 CUSTOMER-RECORD.
05 LAST-NAME PIC X(15).
05 FIRST-NAME PIC X(8).
05 STREET-ADDRESS PIC X(20).
05 CITY PIC X(17).
05 STATE PIC XX.
05 ZIP-CODE PIC 9(5).
05 FILLER PIC X(10).
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts How to save SYSLOG as text data via P... All Other Mainframe Topics 4
No new posts Store the data for fixed length COBOL Programming 1
No new posts Data set Rec-Cnt and Byte-Cnt Testing & Performance 2
No new posts SCOPE PENDING option -check data DB2 2
No new posts Check data with Exception Table DB2 0
Search our Forums:

Back to Top