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



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



On 2011-02-28 09:26, Jerry C. Adams wrote:
I am trying to use a byte in the LDA to tell a CL program (type CLP; i.e.,
OPM) that the RPG IV program, which the CL called, told it to abort the rest
of the CL. Inside of the RPG IV program the LDA is defined via a /copy
statement as:



D DS DtaAra(*LDA)

D L$CNCL 482 482a


I vaguely recall that if you do it that way, you need to explicitly
execute an IN operation to retrieve the LDA and an OUT operation to set
it. If you specify UDS instead of DS, you don't need the DTAARA(*LDA),
and then the cycle takes care of the IN and OUT. It's been quite a while
though, so check the docs.

- --
Pete Hall
pete@xxxxxxxxxxxxxx
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAk1sAUoACgkQXczQcKdXKg7m3ACeNjt3Z0yGEtuBIYjVJX4whKyf
52IAoKCW89imp2lrzSybmcju8V+rWQwY
=TZU0
-----END PGP SIGNATURE-----

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.