.ENV GET CMD LINE PARM
This subroutine returns the value of a command line parameter.
Usage:
PASS <param_value> FIELD SHARE? Y
PASS <param_name> FIELD SHARE? N
GOSUB --- .ENV GET CMD LINE PARM
* Check for errors
IF --- .ENV GET CMD LINE PARM NE
Description:
This subroutine returns the value of a command line parameter. All parameters are required, if any are missing the subroutine will CANCEL.
<param_value> returns the value of the command line parameter, if it was specified on the command line that started this Appx session (Required). This must be PASSed with Share "Y" to return the value.
<param_name> is the name of the command line parameter for which you want the value (Required). Note that this must include the leading dash, if one was specified. For example, if "-data=012512" was entered on the command line that started this Appx session, then you would pass "-data" to this subroutine.
If the field you passed is too short to contain the data, --- .ENV GET CMD LINE PARM will be set to "Data was truncated".
Comments:
Read what other users have said about this page or add your own comments.
--
JeanNeron - 2012-01-25