×
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.
Haven't used it or have time to test it but take a look at the "Value to
pass if unspecified . . *DFT " on the parm change from *DFT to *NULL
Thanks,
Tommy Holden
From: Robert Rogerson <rrogerson@xxxxxxxxxxx>
To: RPG programming on the IBM i / System i <rpg400-l@xxxxxxxxxxxx>
Date: 10/15/2014 12:57 PM
Subject: Testing %Parms when call from a command wrapper...
Sent by: "RPG400-L" <rpg400-l-bounces@xxxxxxxxxxxx>
Hi all,
I have an RPGLE program with the prototype and interface coded as
d SB0010 pr
d 8a const options(*nopass)
d 3p 0 const options(*nopass)
d SB0010 pi
d dateToProcess 8a const options(*nopass)
d storeToProcess...
d 3p 0 const options(*nopass)
When I test this in debug no matter how I call it %Parms is always
zero. But I have noted that the first parameter (in debug) does have
the correct value although this may be a fluke.
I have a feeling that the issue is that the operational descriptor is
not being passed (I'm assuming this from what I've been able to find on
the internet). I didn't think this was going to be so difficult.
Am I over looking something very simple? If not, does anyone have
another simple solution?
Thanks,
Rob
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.