View previous topic :: View next topic
|
Author |
Message |
sararaju
New User
Joined: 04 May 2005 Posts: 25
|
|
|
|
How can we initialize 'filler' class? |
|
Back to top |
|
|
learnmf
Active User
Joined: 14 Mar 2005 Posts: 123
|
|
|
|
Quote: |
How can we initialize 'filler' class? |
Initialize dies not effect the filler.
So better use value clause.
Thanks
Chandra |
|
Back to top |
|
|
Deepa.m
New User
Joined: 28 Apr 2005 Posts: 99
|
|
|
|
using VALUE clause.
10 FILLER PIC X(116) VALUE SPACES
i can think of only this way to initialize filler |
|
Back to top |
|
|
Ashutosh Shrinet
New User
Joined: 22 Aug 2004 Posts: 10 Location: New Delhi
|
|
|
|
Filler can be initalize only through VALUE clause. |
|
Back to top |
|
|
gnagakishore
New User
Joined: 26 Mar 2005 Posts: 25 Location: Hyderabad
|
|
|
|
we can acheive this by using " move "statement also |
|
Back to top |
|
|
ajay_dheepak
New User
Joined: 12 May 2005 Posts: 32 Location: Chennai
|
|
|
|
As Ganga Kishore said you can do it with move iff the name of the Filler is unique |
|
Back to top |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
You can also move to any level above the filler, but of course, everything else at that level gets the same value too. E.g.:
Code: |
05 one-up.
10 num-fld pic 999.
10 filler pic xx.
move spaces to one-up.
|
Also notice that you'll get spaces in the pic 9 field too.
You could then initialize one-up and all is well. |
|
Back to top |
|
|
|