Your browser does not support HTML5 local storage or you have disabled it. Some functionality on this site, including saving your privacy settings and offering you special discounts, uses local storage and may not work with local storage disabled. We recommend allowing the use of local storage in your browser. In some browsers, it is the same setting used for disabling cookies.

Tectia

Remote Command Examples using JCL

Example 1: This example shows a remote command for creating a directory on a remote Unix system:

BPXBATCH PGM /opt/tectia/bin/sshg3 +
user1@unix.example.com +
mkdir testdir

Example 2: This example shows a remote command for creating a directory on a remote Windows system. Note that the quotes (") are not needed when Windows commands are run from JCL, but they are needed when the remote commands are run from USS shell:

BPXBATCH PGM /opt/tectia/bin/sshg3 +
user2@windows.example.com +
cmd /c mkdir testdir

Example 3: This example shows multiple commands:

BPXBATCH PGM /opt/tectia/bin/sshg3 +
user1@unix.example.com +
cd /tmp; +
ls -l test.*; +
rm test.txt

===AUTO_SCHEMA_MARKUP===