×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




It's case sensitive if it's in quotes...make it call 'QCMDEXC', or better
yet, make it a prototyped external program call, like this:


 *   QCMDEXC prototype
D Qcmdexc         PR                  ExtPgm('QCMDEXC')
D                              512A   Options(*VarSize)
D                               15P 5 Const

Then you can do this:

C                   CallP     QCmdExc(Cmd:CmdLen)

or in free format:

QCmdExc(Cmd:CmdLen)

On 3/15/06, Willie J. Moore <WMoore@xxxxxxxxxxxxxxx> wrote:
>
> I have a program that I want to use the 'QCMDEXC' command.
> When I try to call it I get the following error:
> "Cannot resolve to object qcmdexc. Type and Subtype X'0201' Authority
> X'0000'."
>
> Here is a copy of the program:
> Dparms            DS
> Dcmd                      1    255
> /free
>        cmd = 'RNM OBJ(''/pdf/2.pdf'') NEWOBJ(''test.pdf'')';
> /end-free
> C                   call      'qcmdexc'
> C                   PARM                    cmd
> C                   seton                                        lr
>
> Any help or pointers would be appreciated.
>
> William Moore....
>
> --
> This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
> To post a message email: RPG400-L@xxxxxxxxxxxx
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
> or email: RPG400-L-request@xxxxxxxxxxxx
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/rpg400-l.
>
>

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