Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

IBM OSVS reference modification
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?

Report this thread to moderator Post Follow-up to this message
Old Post
Robert Wagner
11-25-04 01:55 AM


Re: IBM OSVS reference modification
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.


Report this thread to moderator Post Follow-up to this message
Old Post
Joe Zitzelberger
11-25-04 08:55 AM


Re: IBM OSVS reference modification
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...r />
.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... 
>


Report this thread to moderator Post Follow-up to this message
Old Post
Robert Wagner
11-26-04 08:55 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Cobol archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 05:17 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.