×
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.
David,
If you define a parameter as *nopass, every parameter after that must
also be defined as *nopass. Switch the parameters around (i.e. *omit
*nopass) and you will be able to accomplish what you're trying to do.
Ronald Moise
Programmer/Analyst
Phone: 1-727-431-8321
Email: rmoise@xxxxxxxxxxx
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of rob@xxxxxxxxx
Sent: Thursday, February 25, 2010 10:17 AM
To: RPG programming on the IBM i / System i
Subject: Re: CLP CALL RPG with optional parms
Wrap the RPG program with a command. You ever use the command CRTCMD?
Then use that command in your cl instead of CALL.
Rob Berendt
--
Group Dekko Services, LLC
Dept 01.073
Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com
From: David FOXWELL <David.FOXWELL@xxxxxxxxx>
To: RPG programming on the IBM i / System i <rpg400-l@xxxxxxxxxxxx>
Date: 02/25/2010 09:44 AM
Subject: CLP CALL RPG with optional parms
Sent by: rpg400-l-bounces@xxxxxxxxxxxx
Hi all,
How do I call an rpg from a clp when the rpg has 2 parameters with
option
(*nopass : *omit), and I just want to pass the second parameter?
Thanks
As an Amazon Associate we earn from qualifying purchases.