First of al prompt the call program parameters and see. Other thing is you have to pass numeric values in hex format.

Its better to create a command to call your program or you can accept all parameters in character and convert them to numeric in side your program.

Personally I do not code numeric variables as parameters all my parameters are character variables and it is so easy to handle.





Regards,

Chamara Withanachchi
IBM Certified Power System Expert
RPG Programmer
(owner of www.rpgiv.info)

WWW.RPGIV.INFO
Mob: +971 50 5698644
Tel: +971 6 5595887
chamaraw@xxxxxxxxxx
www.rpgiv.info
i want to be future ready. i want control. i want an i.


Sent from my BlackBerry wireless device

-----Original Message-----
From: "lwl" <lwl@xxxxxxxxxxxxx>

Date: Mon, 6 Apr 2009 20:07:23
To: <midrange-l@xxxxxxxxxxxx>
Subject: Basic program call question


Sorry to bother everyone with such a trivial question.



Have a program expecting 3 parameters

Parameter 1 is described as 6,0. The test value is 18424

Parameter 2 is described as 10 and can contain â/â. The test value is 524771/1

Parameter 3 is described as 6,0. The test value is 1



Iâve tried entering the command as âCALLbprogram-nameb(018424524771/1bb000001)â where âbâ represents a blank.



When I enter the above string I get Expression operator not allowed for parameter PARM. Any suggestions on how I fit this?





Roy Luce

Systems Plus â Midwest



Direct: 847-540-9635

800-913-PLUS (7587)

Cell: 847-910-0884

Email: rluce@xxxxxxxxxxxxxxxxxxx




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.