MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Cobol question - Initializing fillers

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
cyberspecies
Beginner


Joined: 26 Dec 2002
Posts: 3
Topics: 2

PostPosted: Wed May 14, 2003 1:40 pm    Post subject: Cobol question - Initializing fillers Reply with quote

Please let me know the different ways of initializing fillers in a variable length record. INITIALIZE doesn't seem to do the job for VB records.

I have a para that populates all the individual fields except the fillers (ofcourse) and so the output file has low-values in the filler areas.
Can I just move SPACES to the record and that should take care of it?
If there are other simple ways (except for the one where we create a work area and initialize and move it to the output record), please let me know.

Cheers Smile

Cyberspecies.
Back to top
View user's profile Send private message
SureshKumar
Intermediate


Joined: 23 Jan 2003
Posts: 211
Topics: 21

PostPosted: Wed May 14, 2003 3:08 pm    Post subject: Reply with quote

You may initialize at the 01 level or
10 FILLER PIC X(??) VALUE SPACES.
Back to top
View user's profile Send private message
Dibakar
Advanced


Joined: 02 Dec 2002
Posts: 700
Topics: 63
Location: USA

PostPosted: Thu May 15, 2003 12:17 am    Post subject: Reply with quote

cyberspecies,

Moving spaces should also work.

Dibakar.
Back to top
View user's profile Send private message Send e-mail
slade
Intermediate


Joined: 07 Feb 2003
Posts: 266
Topics: 1
Location: Edison, NJ USA

PostPosted: Thu May 15, 2003 12:33 am    Post subject: Reply with quote

Hi CS,

You can do as Suresh suggests if the rec desc is not in the FD or move spaces to the 01 level BEFORE 8) the other moves.

BTW, the VB rec has nothing to do w/your problem, you can never INITIALIZE a field named "FILLER". One work around it to call them FILLER1, 2, etc.

Regards, Jack.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group