Home > Archive > Cobol > November 2004 > IBM OSVS reference modification
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
IBM OSVS reference modification
|
|
| Robert Wagner 2004-11-24, 8:55 pm |
| When a program is compiled by Micro Focus with the OSVS option on,
reference modification is accepted in most places but not in
conditionals.
Valid: MOVE A(1:1) TO B
Invalid: IF A(1:1) = '1' ...
Where did IBM get this notion? Is it simply a bug?
| |
| Joe Zitzelberger 2004-11-25, 3:55 am |
| In article <n51aq0146huh06ajafv639cmjmkh8dl76s@4ax.com>,
Robert Wagner <spamblocker-robert@wagner.net> wrote:
> When a program is compiled by Micro Focus with the OSVS option on,
> reference modification is accepted in most places but not in
> conditionals.
>
> Valid: MOVE A(1:1) TO B
>
> Invalid: IF A(1:1) = '1' ...
>
> Where did IBM get this notion? Is it simply a bug?
I'm not sure what the OSVS option is supposed to emulate -- but that
notation in conditionals works in the recently shipping (last 10 years
or so) compilers.
| |
| Robert Wagner 2004-11-26, 3:55 am |
| Thanks for the research. The option I used was $SET OSVS, not
FLAG(OSVS). The compiler does what the manual says, here:
http://supportline.microfocus.com/s...pdf608.htm#0002
On Fri, 26 Nov 2004 00:17:00 GMT, "William M. Klein"
<wmklein@nospam.netcom.com> wrote:
>The OSVS compiler directive is a "dialect" directive that ONLY (or very
>close to only) impacts reserverd words .
>
>To determine if SYNTAX is correct for emulating IBM's OS/VS COBOL compiler,
>use the FLAG(OSVS) directive.
>
>"Robert Wagner" <spamblocker-robert@wagner.net> wrote in message
> news:n51aq0146huh06ajafv639cmjmkh8dl76s@
4ax.com...
>
|
|
|
|
|