|
|
|
| Hi
I am new at micro focus (from m/f)
All my cobol programs from xenix compile, but on screen output programs
i get an error on the "screen section".
The error say "verb unknown" ?
what could be wrong ?
Thanks
Mark
| |
| James J. Gavan 2005-04-11, 8:55 pm |
| mnews wrote:
> Hi
>
> I am new at micro focus (from m/f)
>
> All my cobol programs from xenix compile, but on screen output programs
> i get an error on the "screen section".
>
> The error say "verb unknown" ?
>
> what could be wrong ?
>
> Thanks
> Mark
>
Give us a clue ! Which compiler Name and Version # and presumably MS
Windows (Version # - e.g., 98, NT, XP etc.) The compile listing that
contains "verb unknown" should be pointing at the line in your source.
Is it in relation to Screen Section usage ? (Does Screen Section work
with MS XENIX ?).
Jimmy, Calgary AB
| |
| HeyBub 2005-04-12, 3:55 am |
| mnews wrote:
> Hi
>
> I am new at micro focus (from m/f)
>
> All my cobol programs from xenix compile, but on screen output
> programs i get an error on the "screen section".
>
> The error say "verb unknown" ?
>
> what could be wrong ?
>
You requested an action that is unknown to the language. Some examples are:
KISS
MOSEY
CLIMB
EAT
TWIDDLE
SHUCK
HOE-SAY-DOE
PLUCK
REAP
SACRIFICE
FLY
NOTARIZE
GRAB-BY-STACKING-SWIVEL
and so on
| |
| James J. Gavan 2005-04-12, 3:55 am |
| HeyBub wrote:
> mnews wrote:
>
>
>
> You requested an action that is unknown to the language. Some examples are:
>
> KISS
> MOSEY
> CLIMB
> EAT
> TWIDDLE
> SHUCK
> HOE-SAY-DOE
> PLUCK
> REAP
> SACRIFICE
> FLY
> NOTARIZE
> GRAB-BY-STACKING-SWIVEL
>
> and so on
>
>
Seems to me you are about as brilliant at COBOL as you are at politics !
| |
| HeyBub 2005-04-12, 3:55 pm |
| James J. Gavan wrote:
> HeyBub wrote:
> Seems to me you are about as brilliant at COBOL as you are at
> politics !
Aw, shucks... Thanks. Nice of you to say so.
| |
|
| Hi James
Dum Dum don't respond if you don't understand the question !!
Just for you I will have to explain in very much more detail.
Why does micro focus cobol on windows respond with "verb unknown.." for
the line "SCREEN SECTION" yet it compiles on micro focus for unix ?
Understand the question now jamesie...
Don't worry i got the answer from someone that do not need long
explanations and that are not a bit slow. The answer is that "SCREEN" is
a reserved word on the Micro Focus for windows and not so for Micro
Focus on Unix. The compiler just made a mistake in the error message, it
should have said "reserved word used ...."
Mark
PS: Will know in future to explain very nicely just for you james.:))
James J. Gavan wrote:
> HeyBub wrote:
>
> Seems to me you are about as brilliant at COBOL as you are at politics !
| |
| William M. Klein 2005-04-13, 8:55 pm |
| The answer that you got was WRONG.
"SCREEN" is a reserved word for Micro Focus *ON ALL PLATFORMS* - depending upon
which dialect directives you have turned on.
the "real" answer to your original quesiton is that your two compilers have
different defaults (or explicitly selected) dialect directives turned on.
If you place
$SET MF
at the top of your source code, I can't think of any option (environment) in
which a Screen Section will fail to compile with ANY release of Micro Focus - on
ANY operating system.
To see ALL the "variations" on what is and is not a reserved word (and
implicitly what features of the language are supported) based on dialect
directives,
1) Go to:
http://supportline.microfocus.com//...ation/index.asp
2) Select the product that you are using
3) Select the "Language Reference" from the list of available manuals
4) Use the index (or outline of chapters" to go to the Appendix with Reserved
Words
***
You will see (for example) that for "SCREEN" any/all of the following will
"turn this on":
I2 XO MF3 MS2
(FYI, "MF3" means any setting of "MF(n)" at or above "MF(3)" - including the
default of MF)
--
Bill Klein
wmklein <at> ix.netcom.com
"mnews" <mnews@ecolpay.com> wrote in message
news:d3iakc$8gr$1@ctb-nnrp2.saix.net...
> Hi James
>
> Dum Dum don't respond if you don't understand the question !!
>
> Just for you I will have to explain in very much more detail.
>
> Why does micro focus cobol on windows respond with "verb unknown.." for the
> line "SCREEN SECTION" yet it compiles on micro focus for unix ?
>
> Understand the question now jamesie...
>
> Don't worry i got the answer from someone that do not need long explanations
> and that are not a bit slow. The answer is that "SCREEN" is a reserved word on
> the Micro Focus for windows and not so for Micro Focus on Unix. The compiler
> just made a mistake in the error message, it should have said "reserved word
> used ...."
>
> Mark
> PS: Will know in future to explain very nicely just for you james.:))
>
> James J. Gavan wrote:
>
| |
|
| Hi William
Thanks. I tried it and that solved the problem. Thanks also for the
directives and notes.
Mark
William M. Klein wrote:
> The answer that you got was WRONG.
>
> "SCREEN" is a reserved word for Micro Focus *ON ALL PLATFORMS* - depending upon
> which dialect directives you have turned on.
>
> the "real" answer to your original quesiton is that your two compilers have
> different defaults (or explicitly selected) dialect directives turned on.
>
> If you place
> $SET MF
>
> at the top of your source code, I can't think of any option (environment) in
> which a Screen Section will fail to compile with ANY release of Micro Focus - on
> ANY operating system.
>
> To see ALL the "variations" on what is and is not a reserved word (and
> implicitly what features of the language are supported) based on dialect
> directives,
>
> 1) Go to:
> http://supportline.microfocus.com//...ation/index.asp
>
> 2) Select the product that you are using
>
> 3) Select the "Language Reference" from the list of available manuals
>
> 4) Use the index (or outline of chapters" to go to the Appendix with Reserved
> Words
>
> ***
>
> You will see (for example) that for "SCREEN" any/all of the following will
> "turn this on":
>
>
> I2 XO MF3 MS2
>
> (FYI, "MF3" means any setting of "MF(n)" at or above "MF(3)" - including the
> default of MF)
>
>
| |
| James J. Gavan 2005-04-14, 3:55 am |
| mnews wrote:
> Hi James
>
> Dum Dum don't respond if you don't understand the question !!
>
> Just for you I will have to explain in very much more detail.
>
> Why does micro focus cobol on windows respond with "verb unknown.." for
> the line "SCREEN SECTION" yet it compiles on micro focus for unix ?
>
> Understand the question now jamesie...
>
> Don't worry i got the answer from someone that do not need long
> explanations and that are not a bit slow. The answer is that "SCREEN" is
> a reserved word on the Micro Focus for windows and not so for Micro
> Focus on Unix. The compiler just made a mistake in the error message, it
> should have said "reserved word used ...."
>
> Mark
> PS: Will know in future to explain very nicely just for you james.:))
Don't put yourself to any bother. Just stick your head up your arse !
| |
|
| mnews wrote:
> Hi James
>
> Dum Dum don't respond if you don't understand the question !!
The temptation is very great to respond in kind here, but I won't.
Suffice it to say that the smart-alecky answer was from HeyBub, not Mr.
Gavan. Mr. Gavan's remark to HeyBub stem from their apparent difference
of political persuasion.
> Just for you I will have to explain in very much more detail.
The story above kind of loses its humor when it has to be explained in
much more detail...
> Why does micro focus cobol on windows respond with "verb unknown.." for
> the line "SCREEN SECTION" yet it compiles on micro focus for unix ?
>
> Understand the question now jamesie...
That's certainly clearer than your original question (left at the bottom
of this post). While you are in the thick of what you are doing, there
are people here who likely aren't even close. Spelling out details,
similar to your restatement above, can often help you get a much quicker
(and accurate) answer.
> Don't worry i got the answer from someone that do not need long
> explanations and that are not a bit slow.
And this is how you inspire someone to help you? I'll certainly think
twice before replying to any more of your posts...
> The answer is that "SCREEN" is
> a reserved word on the Micro Focus for windows and not so for Micro
> Focus on Unix. The compiler just made a mistake in the error message, it
> should have said "reserved word used ...."
Thank you for sharing that - *that* is some useful information, the
exchange of which is the existence of this forum in the first place.
history below... (top-posting is also discouraged...)
> PS: Will know in future to explain very nicely just for you james.:))
>
> James J. Gavan wrote:
>
>
>
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~
~ / \ / ~ Live from Montgomery, AL! ~
~ / \/ o ~ ~
~ / /\ - | ~ daniel@thebelowdomain ~
~ _____ / \ | ~ http://www.djs-consulting.com ~
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
~ GEEKCODE 3.12 GCS/IT d s-:+ a C++ L++ E--- W++ N++ o? K- w$ ~
~ !O M-- V PS+ PE++ Y? !PGP t+ 5? X+ R* tv b+ DI++ D+ G- e ~
~ h---- r+++ z++++ ~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~
| |
| Richard 2005-04-14, 3:55 am |
| >> The answer is that "SCREEN" is
message, it[color=darkred]
[color=darkred]
> Thank you for sharing that - *that* is some useful information,
I am not quite sure that it is actually 'useful', it seems to
misrepresent the situation entirely. The statement is 100% wrong.
'SCREEN' _is_ a reserved word, it is reserved for use in the header
'SCREEN SECTION' and nowhere else. It _is_ a reserved word when the
Unix compiler compiled the program correctly (the opposite of what
mnews claimed), it _isn't_ a reserved word when the program was
compiled under Windows (the opposite of what mnews claimed).
This is easy to determine from the behaviour. The program compiled
correctly under Unix and failed under Windows with the message 'verb
unknown'. The compiler having reached the word 'SCREEN' and noticing
this _wasn't_ in the reserved word list, decided that it must be a
procedure label, and in fact a procedure division section called
Screen. It then looked at the _next_ line and tried to process it as a
procedure division statement, but it wasn't a valid verb. The compiler
actually wouldn't complain about SCREEN, but would complain at the next
line.
Given that, the error message is perfectly correct and sensible from
the compiler's point of view. The compiler did not get the message
wrong (as mnews claimed), it should _not_ have given an error message
'reserved word used' (as mnews claimed) because for that compile
'SCREEN' was not a reserved word.
In 4 lines mnews made 4 claims and got all 4 wrong.
The problem is that 'SCREEN SECTION' is an X/Open feature and not a
standard ANS'85 syntax. If the compiler on Windows is set to only
process standard ANS'85 and/or reject MicroFocus and/or X/Open
extensions then 'SCREEN SECTION' will be taken to be a procedure
division section header. Everything following will then be treated as
if it is Procedure division code.
By using a MF compiler directive (for example) the compiler is made to
treat 'SCREEN' as a reserved word and it then processes correctly the
code following.
| |
|
| Richard wrote:
>
> message, it
>
>
>
>
>
> I am not quite sure that it is actually 'useful', it seems to
> misrepresent the situation entirely. The statement is 100% wrong.
Okay - maybe I should have said "*that* is some useful information, if
it is accurate". :) My lack of Micro Focus experience is showing...
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~
~ / \ / ~ Live from Montgomery, AL! ~
~ / \/ o ~ ~
~ / /\ - | ~ daniel@thebelowdomain ~
~ _____ / \ | ~ http://www.djs-consulting.com ~
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
~ GEEKCODE 3.12 GCS/IT d s-:+ a C++ L++ E--- W++ N++ o? K- w$ ~
~ !O M-- V PS+ PE++ Y? !PGP t+ 5? X+ R* tv b+ DI++ D+ G- e ~
~ h---- r+++ z++++ ~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~
| |
| Richard 2005-04-16, 8:55 am |
| >> The answer is that "SCREEN" is
message, it[color=darkred]
[color=darkred]
> Thank you for sharing that - *that* is some useful information,
I am not quite sure that it is actually 'useful', it seems to
misrepresent the situation entirely. The statement is 100% wrong.
'SCREEN' _is_ a reserved word, it is reserved for use in the header
'SCREEN SECTION' and nowhere else. It _is_ a reserved word when the
Unix compiler compiled the program correctly (the opposite of what
mnews claimed), it _isn't_ a reserved word when the program was
compiled under Windows (the opposite of what mnews claimed).
This is easy to determine from the behaviour. The program compiled
correctly under Unix and failed under Windows with the message 'verb
unknown'. The compiler having reached the word 'SCREEN' and noticing
this _wasn't_ in the reserved word list, decided that it must be a
procedure label, and in fact a procedure division section called
Screen. It then looked at the _next_ line and tried to process it as a
procedure division statement, but it wasn't a valid verb. The compiler
actually wouldn't complain about SCREEN, but would complain at the next
line.
Given that, the error message is perfectly correct and sensible from
the compiler's point of view. The compiler did not get the message
wrong (as mnews claimed), it should _not_ have given an error message
'reserved word used' (as mnews claimed) because for that compile
'SCREEN' was not a reserved word.
In 4 lines mnews made 4 claims and got all 4 wrong.
The problem is that 'SCREEN SECTION' is an X/Open feature and not a
standard ANS'85 syntax. If the compiler on Windows is set to only
process standard ANS'85 and/or reject MicroFocus and/or X/Open
extensions then 'SCREEN SECTION' will be taken to be a procedure
division section header. Everything following will then be treated as
if it is Procedure division code.
By using a MF compiler directive (for example) the compiler is made to
treat 'SCREEN' as a reserved word and it then processes correctly the
code following.
| |
| HeyBub 2005-04-17, 3:55 am |
| mnews wrote:
> Hi
>
> I am new at micro focus (from m/f)
>
> All my cobol programs from xenix compile, but on screen output
> programs i get an error on the "screen section".
>
> The error say "verb unknown" ?
>
> what could be wrong ?
>
You requested an action that is unknown to the language. Some examples are:
KISS
MOSEY
CLIMB
EAT
TWIDDLE
SHUCK
HOE-SAY-DOE
PLUCK
REAP
SACRIFICE
FLY
NOTARIZE
GRAB-BY-STACKING-SWIVEL
and so on
| |
| James J. Gavan 2005-04-17, 3:55 am |
| HeyBub wrote:
> mnews wrote:
>
>
>
> You requested an action that is unknown to the language. Some examples are:
>
> KISS
> MOSEY
> CLIMB
> EAT
> TWIDDLE
> SHUCK
> HOE-SAY-DOE
> PLUCK
> REAP
> SACRIFICE
> FLY
> NOTARIZE
> GRAB-BY-STACKING-SWIVEL
>
> and so on
>
>
Seems to me you are about as brilliant at COBOL as you are at politics !
| |
|
| Hi James
Dum Dum don't respond if you don't understand the question !!
Just for you I will have to explain in very much more detail.
Why does micro focus cobol on windows respond with "verb unknown.." for
the line "SCREEN SECTION" yet it compiles on micro focus for unix ?
Understand the question now jamesie...
Don't worry i got the answer from someone that do not need long
explanations and that are not a bit slow. The answer is that "SCREEN" is
a reserved word on the Micro Focus for windows and not so for Micro
Focus on Unix. The compiler just made a mistake in the error message, it
should have said "reserved word used ...."
Mark
PS: Will know in future to explain very nicely just for you james.:))
James J. Gavan wrote:
> HeyBub wrote:
>
> Seems to me you are about as brilliant at COBOL as you are at politics !
| |
| William M. Klein 2005-04-20, 3:55 pm |
| The answer that you got was WRONG.
"SCREEN" is a reserved word for Micro Focus *ON ALL PLATFORMS* - depending upon
which dialect directives you have turned on.
the "real" answer to your original quesiton is that your two compilers have
different defaults (or explicitly selected) dialect directives turned on.
If you place
$SET MF
at the top of your source code, I can't think of any option (environment) in
which a Screen Section will fail to compile with ANY release of Micro Focus - on
ANY operating system.
To see ALL the "variations" on what is and is not a reserved word (and
implicitly what features of the language are supported) based on dialect
directives,
1) Go to:
http://supportline.microfocus.com//...ation/index.asp
2) Select the product that you are using
3) Select the "Language Reference" from the list of available manuals
4) Use the index (or outline of chapters" to go to the Appendix with Reserved
Words
***
You will see (for example) that for "SCREEN" any/all of the following will
"turn this on":
I2 XO MF3 MS2
(FYI, "MF3" means any setting of "MF(n)" at or above "MF(3)" - including the
default of MF)
--
Bill Klein
wmklein <at> ix.netcom.com
"mnews" <mnews@ecolpay.com> wrote in message
news:d3iakc$8gr$1@ctb-nnrp2.saix.net...
> Hi James
>
> Dum Dum don't respond if you don't understand the question !!
>
> Just for you I will have to explain in very much more detail.
>
> Why does micro focus cobol on windows respond with "verb unknown.." for the
> line "SCREEN SECTION" yet it compiles on micro focus for unix ?
>
> Understand the question now jamesie...
>
> Don't worry i got the answer from someone that do not need long explanations
> and that are not a bit slow. The answer is that "SCREEN" is a reserved word on
> the Micro Focus for windows and not so for Micro Focus on Unix. The compiler
> just made a mistake in the error message, it should have said "reserved word
> used ...."
>
> Mark
> PS: Will know in future to explain very nicely just for you james.:))
>
> James J. Gavan wrote:
>
| |
| James J. Gavan 2005-04-20, 3:55 pm |
| mnews wrote:
> Hi James
>
> Dum Dum don't respond if you don't understand the question !!
>
> Just for you I will have to explain in very much more detail.
>
> Why does micro focus cobol on windows respond with "verb unknown.." for
> the line "SCREEN SECTION" yet it compiles on micro focus for unix ?
>
> Understand the question now jamesie...
>
> Don't worry i got the answer from someone that do not need long
> explanations and that are not a bit slow. The answer is that "SCREEN" is
> a reserved word on the Micro Focus for windows and not so for Micro
> Focus on Unix. The compiler just made a mistake in the error message, it
> should have said "reserved word used ...."
>
> Mark
> PS: Will know in future to explain very nicely just for you james.:))
Don't put yourself to any bother. Just stick your head up your arse !
|
|
|
|