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

What is the value of Filler clause


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

New User


Joined: 27 Oct 2004
Posts: 8
Location: Bangalore,INDIA

PostPosted: Wed Nov 10, 2004 8:52 am
Reply with quote

01 WS-BIRTH-DATE-ZERO-CHECK.
03 WS-BIRTH-ZERO PIC X(01).
03 FILLER PIC X(07).
WHAT WOULD BE THE FILLER TYPE WILL BE ?? ZEROES / SPACES OR ANY OTHER THING.
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Wed Nov 10, 2004 9:16 am
Reply with quote

Hi,

Unless you move or read something (SPACES, ZEROS, or the 1st eight chars of the Gettysburg Address) into WS-BIRTH-DATE-ZERO-CHECK the FILLER will contain whatever was in that piece of memory when it was allocated to the pgm at execution time. Its content can change from exec to exec. You are usually cautioned about making any judgements about its content.

I know CICS has an option to init GETMAINed data to binary zeros and I recall vaguely that some compilers (or is it systems?) format memory to binary zeros before making it available to pgms.
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 To search DB2 table based on Conditio... DB2 1
No new posts Need to add field to copybook, proble... COBOL Programming 14
No new posts File transfer from host with filler f... TSO/ISPF 15
No new posts NOT IN clause in COBOL pgm COBOL Programming 8
No new posts SUSBSCRIPT WITH SIGN IN PIC CLAUSE COBOL Programming 3
Search our Forums:

Back to Top