18.4.18 XCMD Parameter

XCMD obscures the command line. Y (Yes) or N (No).

When you include this parameter, the values of a subset of parameters is replaced with asterisks (*) so that viewing the properties will not show parameters such as the password.
For example:

C:\PROGRAM FILES\LANSA\X_WIN95\X_LANSA\EXECUTE\X_RUN.EXE PROC=MYPROC LANG=ENG PART=DEX USER=**** DBUS=*** PSWD=*** DBII=LXDEVPGM DBIT=SQLANYWHERE PRTR=LPT1 DBUG=N  ITRO=N ITRM=20000 ITRL=4 ITRC=ALL ITHP=X LOCK=YES XCMD=Y

The parameters for which *** are inserted are: USER, GUSR, DBUS, PSWD, PSUS, ASUS, PSPW and ASPW.

Note: Passwords (PSWD, PSPW and ASPW) are always obscured regardless of this parameter's setting.

Default is N.

If XCMD=Y, the CONNECT_SERVER Built-In Function clears the X_RUN exceptional and Server exceptional arguments. If you use XCMD=Y then you should ensure that your code calls DISCONNECT_SERVER, then DEFINE_ANY_SERVER before calling CONNECT_SERVER again.