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



Don,

There are several restrictions in play:
1) The LDA cannot remain modified, at the point where any other program in
the job stream requires the original values.

2) No parm changes can be made. Since the second job is submitted from
the first, how would the submitter communicate to the submitted job which
object to look at? This is true regardless of whether the mechanism is a
*DTAARA, *FILE, *USRSPC, etc. QTEMPs aren't shared between jobs.

The only practical suggestions so far seem to be using an environment
variable (which requires a change to the SBMJOB command string) or saving
the LDA immediately before SBMJOB and restoring it immediately after the
SBMJOB is executed.

-mark


I'm still at a loss as to why you can't use your own LDA or job named
specific LDA...create on in QTEMP for the submitting job, assign it to a
perm/temp LDA on the disk, submit job, retrieve it from disk, and delete
when you're done...



-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Jon Paris
Sent: Monday, July 30, 2012 12:46 PM
To: rpg400-l@xxxxxxxxxxxx
Subject: Re: Seeking inspiration ...


On 2012-07-30, at 11:47 AM, rpg400-l-request@xxxxxxxxxxxx wrote:

Someone remind me what's so hateable about the *LDA, especially as in
this case, if it were possible, it would be perfect!

With pleasure - the problem is that it lends itself to the exact
circumstances I am being forced to deal with - in-house and multiple 3rd
party packages all blithely assuming they "own" it and can do whatever
they
want. In one case the product is set to require a specific program be run
during sign on. That product stores information in the LDA. But it allows
the command line to be used to access other applications - since they also
assume they "own" it the data gets corrupted and ... Neither of the 3rd
party apps knows of the others existence and ...

It would be perfect - if it wasn't causing the trouble in the first place
<grin>


Jon Paris

www.partner400.com
www.SystemiDeveloper.com


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.