View previous topic :: View next topic
|
Author |
Message |
kumarttp
New User
Joined: 22 Sep 2005 Posts: 1
|
|
|
|
Hi All,
Can we Declare Filler as below.
05 Filler A(9)
or
05 Filler X(9)
which one is correct and if we Declare as mentioned first what will happen?
Thank you. |
|
Back to top |
|
|
vishal_a
New User
Joined: 24 May 2005 Posts: 45 Location: Noida
|
|
|
|
Well u can declare filler as
05 Filler X(9)
and can also be declared as
05 x(9)
using filler is not mandatory in Cobol 85
regards
Vishal |
|
Back to top |
|
|
Sridevi_C
Active User
Joined: 22 Sep 2005 Posts: 104 Location: Concord, New Hampshire, USA.
|
|
|
|
Hi,
What about PIC clause? I think,it's mandatory.So,
05 FILLER PIC A(9).
05 FILLER PIC X(9).
05 PIC X(9).
05 PIC A(9). (Use FILLER,for better documentation).
All the above four are allowed.All of them can be initialized to SPACES or some value,if necessary.
Regards,
Sridevi. |
|
Back to top |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
If PIC A is used only the chars A thru Z or SPACE are allowed. Numerics (0 thru 9) and spec chars are NOT allowed. |
|
Back to top |
|
|
|