NOECHO

When NOECHO is specified, no such messages are displayed and the command
completes silently, except for the output of the command itself if the Diagnose 8
interface did not request a response buffer. This is the default together with
DISABLE.


The value of ECHO or NOECHO has no effect on command output being placed into a response buffer if
the Diagnose 8 interface requested one.

8.55.4 Examples

Example 1:

Display the current DIAG8CMD settings.

HHC00013I Herc command: 'diag8cmd'

HHC02203I DIAG8CMD : disable, no echo

Figure 112: DIAG8CMD command (display current settings)

Example 2:

Specify that commands issued through the Diagnose 8 interface are executed as Hercules commands.
Additionally issue a message, as the console is about to execute the command, then redisplay the com-
mand itself and give a final message, indicating the command has completed.

HHC00013I Herc command: 'diag8cmd enable echo'

Figure 113: DIAG8CMD command (set new DIAG8CMD mode)

8.56 DIR (Display file and directory listing)

8.56.1 Function

The DIR command displays a list of files and subdirectories in the current directory. The DIR command is
only available when running Hercules under Microsoft Windows. For Linux and Mac OS X please use the
"LS" command.

8.56.2 Syntax

Descriptive

Diagram

Êʬ¬¬ ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ÊÍ

8.56.3 Parameter

None.

8.56.4 Examples

Example 1:

Show the list of files and subdirectories in the current directory.

HHC00013I Herc command: 'dir'

Volume in drive D is Hercules

Volume Serial Number is 6CD7-297E

Directory of D:\Hercules

11.07.2010 01:13 <DIR> .

11.07.2010 01:13 <DIR> ..

16.12.2007 01:00 282'624 AWSBrowse32.exe

16.12.2007 01:00 503'808 AWSBrowse32D.exe

16.12.2007 01:00 274'432 AWSBrowse32U.exe

16.12.2007 01:00 491'520 AWSBrowse32UD.exe

28.02.2007 06:24 323'072 AWSBrowse64.exe

28.02.2007 06:24 647'168 AWSBrowse64D.exe

28.02.2007 06:24 317'440 AWSBrowse64U.exe

28.02.2007 06:24 636'416 AWSBrowse64UD.exe

Previous Page Next Page

Extracted Text (may have errors)

NOECHO

When NOECHO is specified, no such messages are displayed and the command
completes silently, except for the output of the command itself if the Diagnose 8
interface did not request a response buffer. This is the default together with
DISABLE.


The value of ECHO or NOECHO has no effect on command output being placed into a response buffer if
the Diagnose 8 interface requested one.

8.55.4 Examples

Example 1:

Display the current DIAG8CMD settings.

HHC00013I Herc command: 'diag8cmd'

HHC02203I DIAG8CMD : disable, no echo

Figure 112: DIAG8CMD command (display current settings)

Example 2:

Specify that commands issued through the Diagnose 8 interface are executed as Hercules commands.
Additionally issue a message, as the console is about to execute the command, then redisplay the com-
mand itself and give a final message, indicating the command has completed.

HHC00013I Herc command: 'diag8cmd enable echo'

Figure 113: DIAG8CMD command (set new DIAG8CMD mode)

8.56 DIR (Display file and directory listing)

8.56.1 Function

The DIR command displays a list of files and subdirectories in the current directory. The DIR command is
only available when running Hercules under Microsoft Windows. For Linux and Mac OS X please use the
"LS" command.

8.56.2 Syntax

Descriptive

Diagram

Êʬ¬¬ ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ÊÍ

8.56.3 Parameter

None.

8.56.4 Examples

Example 1:

Show the list of files and subdirectories in the current directory.

HHC00013I Herc command: 'dir'

Volume in drive D is Hercules

Volume Serial Number is 6CD7-297E

Directory of D:\Hercules

11.07.2010 01:13 <DIR> .

11.07.2010 01:13 <DIR> ..

16.12.2007 01:00 282'624 AWSBrowse32.exe

16.12.2007 01:00 503'808 AWSBrowse32D.exe

16.12.2007 01:00 274'432 AWSBrowse32U.exe

16.12.2007 01:00 491'520 AWSBrowse32UD.exe

28.02.2007 06:24 323'072 AWSBrowse64.exe

28.02.2007 06:24 647'168 AWSBrowse64D.exe

28.02.2007 06:24 317'440 AWSBrowse64U.exe

28.02.2007 06:24 636'416 AWSBrowse64UD.exe

Help

loading