× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



When I try the same thing in V7, I get an error when trying to
Edit/Browse. But if I have a space before the semi-colon, I can
Edit/Browse and compile with no problem.







"Tyler, Matt" <mattt@xxxxxxxxxxxxxx>
Sent by: wdsci-l-bounces@xxxxxxxxxxxx
05/21/2007 03:49 PM
Please respond to
Websphere Development Studio Client for iSeries <wdsci-l@xxxxxxxxxxxx>


To
<wdsci-l@xxxxxxxxxxxx>
cc

Subject
[WDSCI-L] Malformed /COPY statement






I had this line of code in one of my programs and the compile failed
with the subsequent error



/COPY QCPYSRC,POS60SRGPR;

RNF0273: Compiler not able to open the /COPY or /INCLUDE file; directive
ignored.

The problem item on this line is the semi-colon. Now it's obvious I had
a problem with this statement but since I deal with more free form code
than before, I get used to seeing semi-colons at the end of source
lines. Normally, I would just duplicate code (Ctrl-D) but sometimes I
get energetic and just insert new code by actually typing the entire
line (I know, who's got that much time). It's this typing thing that
got me into trouble but that is not the reason why I am writing.

My problem is if I right-click on the above line of code then select
"/COPY Member "| "Edit" (or Browse) the editor opens the correct source
member, _no error given_. Why should the editor not care about the
semi-colon on a line like this but the compiler should? And does it do
this in V7? Is this really a problem with editor?

Thanks, Matt




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.