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



Will repost under the C language area. Just because I want to be able to do
it.

One should be able to take any display file that supports subfiles and call
it from
COBOL
RPG
C++
any other supported language off the IBM Power i, AS400, or IBM i Series

Thomas

On Sun, Jul 23, 2023 at 10:04 PM Scott Klement <midrange-l@xxxxxxxxxxxxxxxx>
wrote:

In my experience, people don't typically write subfiles in C/C++ - these
languages are usually used to write system tools and the like rather
than business applications.

Of course, you can do the same thing in C++ that you would do in any
other language -- so find an RPG or Cobol example and just do the C/C++
equivalent -- that's what I'd do. The _Ropen routine and all of it's
related functions provide the same functionality as the corresponding
RPG native I/O routines, so a couple of minutes looking them over in the
manual is typically all you need.

Strongly recommend that you join and ask your question in the C400-L
mailing list if you need deeper discussion.

On 7/23/23 1:02 AM, Thomas Burrows wrote:
All I can find in V7R4 C++ manual is a LOAD ALL subfile program with no

ADD
Change
Delete

Capacity. Does anyone have a full subfile in C++

--
Scott Klement
http://www.scottklement.com

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.



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.