Start CODE Command (STRCODECMD)

Where allowed to run:
  • Batch job (*BATCH)
  • Interactive job (*INTERACT)
  • Batch program (*BPGM)
  • Interactive program (*IPGM)
  • Batch REXX procedure (*BREXX)
  • Interactive REXX procedure (*IREXX)
  • Using QCMDEXEC, QCAEXEC, or QCAPCMD API (*EXEC)
Threadsafe: No
Parameters
Examples
Error messages

The CL command STRCODECMD submits a command to be run on the workstation.

This command requires that you install the Cooperative Development Environmen/400 (CODE/400) product on your workstation.

Top

Parameters

Keyword Description Choices Notes
CMD Workstation command Character value Required, Positional 1
Top

Workstation command (CMD)

Specifies the workstation command that is to be run. To find your workstation, the values in the STRCODE *USRSPC object are used. This value will typically be the last one specified on the Start CODE (STRCODE) command. If this object is not found in your library list, CODE communications will attempt to resolve the remote location automatically. CODE communications is unable to automatically resolve remote locations when this command is run in a batch job. In addition, an Intersystem Communications Function (ICF) file is needed for APPC connections. This command searches the library list for the ICF file EVFCICFF and uses it to send the information to your workstation.

Top

Examples

None
Top

Error messages

Unknown
Top