PMS Information Systems
Welcome to PMS Information Systems - IBM i (AS/400) Forum !!!

Get Answers for all your queries on IBM i (AS/400).

Join the forum, it's quick and easy

PMS Information Systems
Welcome to PMS Information Systems - IBM i (AS/400) Forum !!!

Get Answers for all your queries on IBM i (AS/400).
PMS Information Systems
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Look at QCMDEXC in another way

Go down

Look at QCMDEXC in another way Empty Look at QCMDEXC in another way

Post  maran Wed May 29, 2013 1:32 pm

We can use Command processing API QCMDEXC as the CPP so that we can create a short version of command.

Here you we go….

Let’s create a short command DM which is short version of DSPMSG
In the command source type the following:

CMD
PARM KWD(CMD) TYPE(*CHAR) LEN(6) CONSTANT('DSPMSG')
PARM KWD(LEN) TYPE(*DEC) LEN(15 5) CONSTANT(6)


When you create a command (opt 14), do the compiler override ( Press F4 ) and mention CPP name as QCMDEXC

CRTCMD CMD(DM) PGM(QCMDEXC)
maran
maran
Admin

Posts : 442
Join date : 2009-07-24

https://pmsinformationsystem.forumotion.net

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum