× 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.



HI Joep,

With "carriage returns" I was referring to the multiple records in the source physical file that contains the copymember, so no the actual escape sequence for a CR.

As the compile listing shows a funny character at each end of line... something is wrong, however I would like to see how it shows up with someone else.

Kind regards,
Paul
________________________________________
From: RPG400-L <rpg400-l-bounces@xxxxxxxxxxxxxxxxxx> on behalf of Joep Beckeringh via RPG400-L <rpg400-l@xxxxxxxxxxxxxxxxxx>
Sent: Thursday, February 6, 2020 12:59
To: rpg400-l@xxxxxxxxxxxxxxxxxx
Cc: Joep Beckeringh
Subject: Re: VisualAge RPG copymember issue

Hi Paul,

I have no experience with VisualAge RPG, but I do know that members in
source files in general do not contain carriage returns. So it seems to
me that the process that imports the member is doing something wrong.

Joep Beckeringh


Op 5-2-2020 om 22:13 schreef Paul Nicolay:
Hi,


No idea if this question/issue fits in the RPG mailing list but I doubt a VisualAge RPG one still exists.


The issue is that on a project we still use IBM VisualAge RPG but after we moved to a new system the compiles fail on missing fields which is caused by improper importing the copy members. These show up on the compile listing as follows;


34 D/COPY *REMOTE *LIBL/QVRPGSKCOP,ALPROGDS 000033

*--------------------------------------------------------------------------------------------*

* RPG member name . . . . . : ALPROGDS * 2

* External name . . . . . . : *LIBL/QVRPGSKCOP(ALPROGDS) * 2

*--------------------------------------------------------------------------------------------*

35+ * * Program data-structure * D ProgDs SDS D PDCompName *P ?


As you notice the compiler can read the remote copy member but has everything on a single line as it doesn't understand the carriage returns ? So far I have no clue what is causing this, just hoping someone has experienced the same issue many years ago :-)


Manually inserting the copy member in the source itself removes the compile errors which proves that it doesn't import the copy member despite I can see it.


Any tips are welcome.


Thanks,

Paul


--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxx for any subscription related questions.

Help support midrange.com by shopping at amazon.com with our affiliate link: https://amazon.midrange.com


As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.