• Subject: RE: An introduction to MI by example II (part B)...
  • From: Tim McCarthy <TimM@xxxxxxxxxxxxxxxxxx>
  • Date: Thu, 18 Nov 1999 16:43:17 -0500

Skip the PKDWORK variable and just do ADDN SUM,NBR1,NBR2; If you got
this from the RPG compiler output then remember - RPG creates a lot of
#$%%. 

TrailBlazer Systems, Inc.
http://www.softwarejungle.com
AS/400 E-Commerce Solutions

Chaos, panic, & disorder - my work here is done.


> DCL DD NBR1 PKD (03,0) BAS(NBR1.P );
> DCL DD NBR2 PKD (03,0) BAS(NBR2.P );
> DCL DD SUM PKD (05,0) BAS(SUM.P );
> DCL DD .PKDWORK PKD(26,10);
> DCL SPCPTR NBR1.P PARM;
> DCL SPCPTR NBR2.P PARM;
> DCL SPCPTR SUM.P PARM;
> DCL OL *ENTRY
> (NBR1.P ,NBR2.P ,SUM.P ) EXT PARM MIN(0);
> 
> ENTRY * (PARMS) EXT;
> ADDN .PKDWORK,NBR1,NBR2;
> CPYNV SUM,.PKDWORK;
> RTX *;
> PEND;
> 
> 
+---
| This is the MI Programmers Mailing List!
| To submit a new message, send your mail to MI400@midrange.com.
| To subscribe to this list send email to MI400-SUB@midrange.com.
| To unsubscribe from this list send email to MI400-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: dr2@cssas400.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.