View previous topic :: View next topic
|
Author |
Message |
bamohan
New User
Joined: 29 Jan 2007 Posts: 33 Location: chennai
|
|
|
|
Is it possible to avoid the warning messages(sometimes appear because of conditions given in cobol program) in spool while writing or reading the record into the file...
please help me out...
Thanks and regards
bala. |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
Are you talking about Compiler Warning messages?
O. |
|
Back to top |
|
|
bamohan
New User
Joined: 29 Jan 2007 Posts: 33 Location: chennai
|
|
|
|
yes ofer...
i m talking on that only.. |
|
Back to top |
|
|
murmohk1
Senior Member
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
|
|
|
|
If you want to suppress spool entirely, replace sysout=* with DUMMY as
//sysout dd dummy |
|
Back to top |
|
|
muthuvel
Active User
Joined: 29 Nov 2005 Posts: 217 Location: Canada
|
|
|
|
Just of curiosity,i wanted to know why you don't want compiler warning message? Because only when you now the mistakes, you can correct them? |
|
Back to top |
|
|
bamohan
New User
Joined: 29 Jan 2007 Posts: 33 Location: chennai
|
|
|
|
y u r correct muthu...
but in program i know very clearly that few conditions wont met and few will satisfy, which inturn will display the warning message corrresponding to that. i m interested just to avoid the warning message alone. |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
Use the FLAG compiler option to select the level of error to be diagnosed during compilation, FLAG(E) will suppress the I and W level errors. |
|
Back to top |
|
|
bamohan
New User
Joined: 29 Jan 2007 Posts: 33 Location: chennai
|
|
|
|
thanks william,,
But i am not familiar with the usage of flage compiler option.. could be please explain how to use that and where to use that.
Thanks and regards
bala |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
bamohan wrote: |
But i am not familiar with the usage of flage compiler option.. could be please explain how to use that and where to use that. |
It would be better if you read about it yourself in the Fine Manual |
|
Back to top |
|
|
|