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



I used 7-zip... it opened the archive fine and I was able to drill down to the files enclosed and open them with notepad. There's really not that much more than what's explained in the tutorial, but it is a working example of the technique.

As far as the ENTRY statement, IIRC, that's only used to establish an address in order to provide the linkage between the modules... it doesn't make the resultant object a standalone executable.



-----Original Message-----
From: RPG400-L <rpg400-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of dlclark@xxxxxxxxxxxxxxxx
Sent: Monday, June 17, 2019 4:52 PM
To: RPG programming on IBM i <rpg400-l@xxxxxxxxxxxxxxxxxx>
Subject: [EXTERNAL] Re: For RPG-II Experts

"RPG400-L" <rpg400-l-bounces@xxxxxxxxxxxxxxxxxx> wrote on 06/17/2019
03:54:19 PM:
It's been years since I've looked at anything like this, but I did
find a reference with a pretty simple example of specifying the
linkage between RPG (RLABL and ULABL) and an assembler subroutine:
https://urldefense.proofpoint.com/v2/url?

u=http-3A__www.jaymoseley.com_hercules_downloads_archives_rpgex5.tar.gz&d=DwICAg&c=8oUYHRHQogfepPr6he9NR6BA7PZCZ3IslG1Ct1X8ArA&r=EP2ujggLLHZhjf3bSHhcVaeP0sZdbAwlNnV1Uuqt4s4&m=HsWO82MgQUZV6NTh9NL1eF_8vEC0aCC_ngIV_9y-
nKs&s=vgYjo2oadE2FJxVb6SBw8firq9bo-WC6drvMOcTqacU&e=

I'm not going to quote any of the content, but the example it pretty
straightforward. Good luck!


Couldn't open that .tar.gz download, but I went to the site and found a tutorial that explained the process.

https://urldefense.proofpoint.com/v2/url?u=http-3A__www.jaymoseley.com_hercules_rpgtutor_rpg014.htm&d=DwICAg&c=TRM22a2q2ENZDxdZ_Nz-0OCGEspXTWPuaB6Jil0RfKE&r=o-YzpsmRCPgZlWO4EB4wsOj50O0KPLUTK9BP-UzK-UQ&m=w3VTUxkadCdeu4hCI6WL2f4bWXGmGrxwVfUg0atc3kQ&s=StViBRxb7IzEgXPVwnDvMt0ST6W1QkpAX2glNPlkxME&e=

It says I have to code an ENTRY statement for the field pointed to by the ULABL. But, an ENTRY defines an executable entry point. So, seems strange, but I guess that is a hack to establish the addressibility needed. I'll give it a try. Thanks.


Sincerely,

Dave Clark
--
int.ext: 91078
direct: (937) 531-6378
home: (937) 751-3300

Winsupply Group Services
3110 Kettering Boulevard
Dayton, Ohio 45439 USA
(937) 294-5331




*********************************************************************************************
This email message and any attachments is for use only by the named
addressee(s) and may contain confidential, privileged and/or proprietary information. If you have received this message in error, please immediately notify the sender and delete and destroy the message and all copies. All unauthorized direct or indirect use or disclosure of this message is strictly prohibited. No right to confidentiality or privilege is waived or lost by any error in transmission.
*********************************************************************************************
--
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://urldefense.proofpoint.com/v2/url?u=https-3A__lists.midrange.com_mailman_listinfo_rpg400-2Dl&d=DwICAg&c=TRM22a2q2ENZDxdZ_Nz-0OCGEspXTWPuaB6Jil0RfKE&r=o-YzpsmRCPgZlWO4EB4wsOj50O0KPLUTK9BP-UzK-UQ&m=w3VTUxkadCdeu4hCI6WL2f4bWXGmGrxwVfUg0atc3kQ&s=b4EP0_dShh38YLRiLTYxXWd7VqcFqtPqcl7aTYgnK38&e=
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at https://urldefense.proofpoint.com/v2/url?u=https-3A__archive.midrange.com_rpg400-2Dl&d=DwICAg&c=TRM22a2q2ENZDxdZ_Nz-0OCGEspXTWPuaB6Jil0RfKE&r=o-YzpsmRCPgZlWO4EB4wsOj50O0KPLUTK9BP-UzK-UQ&m=w3VTUxkadCdeu4hCI6WL2f4bWXGmGrxwVfUg0atc3kQ&s=VgQpKfMNEXa7_ixjDB2YogbBpkhepcFmfH3bMDNqzHo&e=.

Please contact support@xxxxxxxxxxxx for any subscription related questions.

Help support midrange.com by shopping at amazon.com with our affiliate link: https://urldefense.proofpoint.com/v2/url?u=https-3A__amazon.midrange.com&d=DwICAg&c=TRM22a2q2ENZDxdZ_Nz-0OCGEspXTWPuaB6Jil0RfKE&r=o-YzpsmRCPgZlWO4EB4wsOj50O0KPLUTK9BP-UzK-UQ&m=w3VTUxkadCdeu4hCI6WL2f4bWXGmGrxwVfUg0atc3kQ&s=LnPmIyf1w6QTILF6hsnf7sylJ5s3wvmjaH4L_lFv0pM&e=

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.