View previous topic :: View next topic
|
Author |
Message |
Tarun Deep Warnings : 1 New User
Joined: 10 Jun 2005 Posts: 10 Location: Hyderabad, India
|
|
|
|
If we define value in quotes for PIC9,
say, WS-VAR1 PIC 9 VALUE '3'.
how wud complier interpret this ?
regards
Tarun |
|
Back to top |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
My guess is you'll get a compiler error because you mixed an alpha numeric value w/a numeric PIC.
On the other hand beginning w/COBOLII using a 3 instead of a '3' to describe a number is acceptable. BTW, you must use 'A' to describe a letter in an A/N field. |
|
Back to top |
|
|
|