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



If "sharing" applies only at job submission time, then, as others have said,
Environment Variables may be the way to go.

But there're a lot of assumptions to be made based on the specifics. I'm
thinking User Space(s), for two-way sharing purposes. And the USRSPC can be
named uniquely based on user name, but (again) we don't know specifics like
whether that user may be running two copies, etc. etc.

In the past, I have used Data Queues or User Queues for such two-way
sharing. With that approach, I believe the queue message may have the
address of a piece of data to be shared, if the data itself is too large for
the queue. But that can run into problems too, depending upon specifics,
and one must be careful of memory leaks.

Dennis Lovelady
http://www.linkedin.com/in/dennislovelady
--
"Always live within your income, even if you have to borrow money to do so."
-- Josh Billings



-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-
bounces@xxxxxxxxxxxx] On Behalf Of Jon Paris
Sent: Sunday, July 29, 2012 8:08 PM
To: Rpg400 Rpg400-L
Subject: Seeking inspiration ...

I have a series of programs that need to be able to share some basic
information.

Solution must have similar characteristics to the LDA in as much as it
must be available to any batch job submitted from code running in
interactive or web mode,

BUT there are some limitations:

1) Adding additional parameter(s) is not an option

2) Using the LDA is not an option (other software thinks it "owns" it)

3) Does not involve the use of a file if at all possible.

Everything I have thought of so far falls apart somewhere along the
path - so I'm hoping someone else here has dealt with a similar issue
and can stop me from going round in circles with this one.


Jon Paris

www.partner400.com
www.SystemiDeveloper.com




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



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.