Running a CL script from DOS partition

<< Click to Display Table of Contents >>

Navigation:  User guide > Introduction >

Running a CL script from DOS partition

Where possible all Run Control Parameters needed should be placed in the Control Stage. If necessary it is also possible to put RCPs on a command line. If RCPs are used on the command line they take precedence over RCPs in the Control Stage.

You may run CL directly from a batch file provided that -

The program name is enclosed in speech marks. This must be done even if the name does not contain space characters.

The CL script name is enclosed in speech marks. This must be done even if the name does not contain space characters.

Any named files which contain spaces are enclosed in speech marks. Please note that the command line must use double quotes ("). In an STP single quotes (') must be used.

For example to run with a named data file in background:

start "CL run" /wait "C:\ ... \qpscl.exe" "Setup.stp" CE C="Chosen data.cba" W8

The full path of qpscl.exe will need to be given.