8.92.4 Examples

Example 1:

Display the current LPARNUM.

HHC00013I Herc command: 'lparnum'

HHC02203I lparnum : 00

Figure 175: LPARNUM command (display LPARNUM).

Example 2:

Set LPARNUM to 21.

HHC00013I Herc command: 'lparnum 21'

HHC02204I lparnum set to 21

Figure 176: LPARNUM command (set LPARNUM).

Example 3:

Set LPARNUM BASIC.

HHC00013I Herc command: 'lparnum BASIC'

HHC02204I lparnum set to BASIC

Figure 177: LPARNUM command (set LPARNUM BASIC).

8.93 LS (Display file and directory listing)

8.93.1 Function

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

8.93.2 Syntax

Descriptive

Diagram

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

8.93.3 Parameter

None.

8.93.4 Examples

Example 1:

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

HHC00013I Herc command: 'ls -l'

total 868

drwxr-xr-x 3 hercules hercgrp 4096 2010-11-30 15:49 backups

-rw-r--r-- 1 hercules hercgrp 2350 2008-02-18 22:48 condcode

drwxr-xr-x 2 hercules hercgrp 4096 2010-11-30 16:29 dasd

drwxr-xr-x 2 hercules hercgrp 4096 2007-02-23 21:12 docs

-rw-r--r-- 1 hercules hercgrp 1150 2008-02-18 22:48 ibcdasdi.00c

-rw-r--r-- 1 hercules hercgrp 786 2008-02-18 22:48 ibcdasdi.cnf

drwxr-xr-x 2 hercules hercgrp 4096 2010-11-30 17:06 jcl

-rw-r--r-- 1 hercules hercgrp 1758 2010-12-01 18:43 mvs.cnf

-rwxr-xr-x 1 hercules hercgrp 1229 2008-02-13 20:43 mvsdasd

-rw-r----- 1 hercules hercgrp 11032 2010-12-03 15:49 mvslog.txt

-rw-r----- 1 hercules hercgrp 0 2010-12-03 15:40 pch00d.txt

-rw-r----- 1 hercules hercgrp 330245 2010-11-30 15:12 pch013.txt

-rw-r----- 1 hercules hercgrp 0 2010-12-03 15:40 prt00e.txt

-rw-r----- 1 hercules hercgrp 38121 2010-12-03 15:43 prt00f.txt

Previous Page Next Page