IBM MAINFRAME HELP & SUPPORT FORUMS
Technical Forums for IBM Mainframe Applications like COBOL, JCL, CICS, DB2, FileAid, DFSORT, Endevor, Xpediter, CoolGen, CA-7&11, AbendAid, IMS, IDMS, PL/I, MqSeries, SyncSort, Assembler, ChangeMan, Easytrieve, InterTest, REXX, CLIST etc...
 

What is the value of Filler clause

THIS IS AN ARCHIVE FORUM: CLICK HERE TO GO TO THE ORIGINAL TOPIC

 
       IBMMAINFRAMES.com - IBM Mainframe Support Forums Index -> Mainframe COBOL
View previous topic :: View next topic  
Author Message
Novice



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

Posted: Wed Nov 10, 2004 8:52 am    Post subject: What is the value of Filler clause  

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  
mmwife



Joined: 30 May 2003
Posts: 1526

Posted: Wed Nov 10, 2004 9:16 am    Post subject:  

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  
 
       IBMMAINFRAMES.com - IBM Mainframe Support Forums Index -> Mainframe COBOL
Page 1 of 1
THIS IS AN ARCIVE FORUM IN READ ONLY MODE. IF YOU WANT TO ASK YOUR DOUBTS USE THE ACTUAL FORUM