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



On 5/16/2014 11:42 AM, gio.cot via MIDRANGE-L wrote:
Hi

here my problem with an example :


E M 1 2 80
C*
C Z-ADD80 LUNG 155
*
C CALL 'QCAEXEC'
C PARM M,1
C PARM LUNG
*
C CALL 'QCAEXEC'
C PARM M,2
C PARM LUNG
*
C SETON LR
**
RUNQRY QRY(QCUST) RCDSLT(*YES)
RUNQRY QRY(QGPL/QCUST) RCDSLT(*YES)

the first CALL QCAEXEC run fine, the second go on thi error: ( the RUNQRY
with library name seem is not allowed !!??)

ID message. . . . . : CPD0104

Date ............. . . . : 16/05/14 time . . . . : 17:29:16


Message. . . : Expression not allowed for the parameter QRY.


Cause. . . . . : The expressions are allowed only a program CL. The
expressions cannot interactively be performed in a flow of
immission batch, from the program of the applications using the key F4 or
using
an automatic application from a program CL.

Correction. . . : To introduce a valid value for this parameter. For

further information on the parameters and the expressions, to consult the
manual
CL Reference.

OK, so that's not QCMDEXEC. It is the System/38 version. Try QCMDEXC
instead.

How did you find an example for QCAEXC? It is very, very old. Here is
an article from 2004 explaining the difference:
http://forums.iprodeveloper.com/forums/aft/37466

When you search the web for examples, don't use searches like "as400" or
"iseries" because you will find some very old stuff out there - stuff so
old that it is not useful. The current manuals are at:
http://www-01.ibm.com/support/knowledgecenter/ssw_ibm_i/welcome
--buck

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.