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 

Initialization of filler

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


Joined: 15 May 2005
Posts: 72
Topics: 24

PostPosted: Tue Nov 22, 2005 10:49 am    Post subject: Initialization of filler Reply with quote

Hi,

I have a group variable(of a communication copybook) of 100 bytes.with last 10 bytes as filler.

But these last 10 bytes are having junk value.

So before moving the data to 90 bytes,i am initialising the group variable.

But filler is not initalised as initialisation wont touch filler(as per my knowledge)

So how to remove junk values from the last 10 bytes of filler
Back to top
View user's profile Send private message
Phantom
Data Mgmt Moderator
Data Mgmt Moderator


Joined: 07 Jan 2003
Posts: 1056
Topics: 91
Location: The Blue Planet

PostPosted: Tue Nov 22, 2005 11:03 am    Post subject: Reply with quote

maverick05,

Quote:

But filler is not initalised as initialisation wont touch filler(as per my knowledge)


Surprising!. Did you try and see ?

Try this
Code:

    INITIALIZE  ws-group-variable
             REPLACING  ALPHANUMERIC  BY  SPACES
                                NUMERIC           BY  ZEROES


Hope this helps,

Thanks,
Phantom
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Tue Nov 22, 2005 11:40 am    Post subject: Reply with quote

Quote:

So before moving the data to 90 bytes,i am initialising the group variable.

But filler is not initalised as initialisation wont touch filler(as per my knowledge)


How are you initializing the group variable ? Please post your group definition and also the intilization statement.

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ANIL SARATHY
Beginner


Joined: 30 Aug 2005
Posts: 88
Topics: 3
Location: Syracuse,New york

PostPosted: Tue Nov 22, 2005 10:56 pm    Post subject: Reply with quote

Phantom ,

is it possible with the code posted by you to initialize filler. i only know that fillers can't be touched with INITILIALIZE verb. any more comments on this

use reference modification to initialize last 10 bytes.
_________________
Anil Sarathy
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
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