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


  • Subject: RE: HANS...look at this one please
  • From: Jon Erickson <jerickson@xxxxxxx>
  • Date: Tue, 27 Jun 2000 11:01:58 -0700

Title: RE: HANS...look at this one please

Tony,

FYI,
If you compile your OPM programs using OPTION(*SRCDBG) you'll be able to use the STRDBG and STRISDB debuggers.  You don't need to change to CLLE/RPGLE...

HTH,
> Regards,
> Jon A. Erickson
> Sr. Programmer Analyst
> 800.COM Inc.
> 1516 NW Thurman St
> Portland, OR  97209-2517
>
> Direct: 503.944.3613
> Fax: 503.944.3690
> Web: http://800.com
>


-----Original Message-----
From: William A.(Tony) Corbett [mailto:corbett@asresources.com]
Sent: Tuesday, June 27, 2000 10:58 AM
To: rpg400-l@midrange.com
Subject: HANS...look at this one please


This is a weird problem, I hope Hans sees this, since he's the RPG Guy.
I'm at V4R4.
I've got a CLLE pgm which calls an OPM rpg pgm.
The CL passes 4 parms, the 4th one is &OK, a flag ('0' or '1'), then the
cl does other stuff, based on &OK.
The CL calls the RPG with &OK set to '1', it stays a '1' right up thru
the last statement of the RPG, then is a blank when it returns to the CL
pgm.  I know all this by using ISDB on the RPG.
This is a weird one, looks like a problem with variables going through
activation groups, boundaries or something along those lines.
The clle is *CALLER and is called from a CLP(from a menu).

I recompiled the CLLE as a CLP, it works again.
These pgms were written in 1989, have been working fine, until I changed
the CLP to CLLE, just for better debug capabilities.

I called in a PMR (63932-019)  An IBMer should be able to see the
details of the call.
The tech recommended I apply SF62366 (for 5769RG1) and SF60261,
SF60936(for 5769SS1)
They're downloading now and the tech is talking to their RPG developer
to call me back

Re-stated.
CLP (menu) --> CLLE, calls OPM RPG (to create a splf) with &OK='1', then
does other stuff based on return value of &OK, and ends

I believe this to be a software defect and should be looked into.

--
William A.(Tony) Corbett
corbett@asresources.com
http://www.asresources.com
http://www.cbt400.com
+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


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.