|
Booth,
Are you sure about that? As Chuck pointed out, the local data area (LDA) is
unique for each job. I have never known it to be persistent; i.e., if I
signoff and sign in, the LDA is completely blank. In order for the LDA to
be persistent I would have to say it at signoff and then reload it at sign
in. Which sounds a bit complicated.
Jerry C. Adams
IBM i Programmer/Analyst
The hardest thing in the world to understand is the income tax. -Albert
Einstein
--
A&K Wholesale
Murfreesboro, TN
615-867-5070
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Booth Martin
Sent: Thursday, May 24, 2012 10:51 AM
To: RPG programming on the IBM i / System i
Subject: Re: Passing data structure to batch job
Sure. You can even uniquely name them and keep them hanging around from day
to day. (It could keep "last invoice number used" for instance.)
http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp?topic=/books
/c092508602.htm
On 5/24/2012 10:47 AM, Dave wrote:
I'm not following this interesting thread! The LDA of the second job
cannot use the LDA of the first job. Can it?
2012/5/24 David Gibbs<david@xxxxxxxxxxxx>
On 5/24/2012 9:56 AM, Jonathan Ball wrote:
That was my first thought as well. An alternative would be to passelements.
the data structure as a single large parameter. The submitted job
can redefine the parameter as an internal data structure with
multiple
The LDA approach strikes me as a little easier.
There could be issues passing a large parameter to a program ...
especially if it's going to be submitted.
http://wiki.midrange.com/index.php/Parameter_passing
Using the LDA is the safest approach, I think.
david
--
Booth Martin
802-461-5349
http://www.martinvt.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.
--
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 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.