Hercules Utilities

Home Up Search Credits Site Map Contact Info. Links Disclaimer Download

The following utilities are available in the Hercules directory.

Utility Description Example

Hercules Utilities

cckd2ckd.exe Hercules cckd to ckd copy program Convert CCKD to CKD disks
cckdcdsk.exe Hercules cckd chkdsk program  
cckdcomp.exe    
ckd2cckd.exe
dasdinit.exe    
dasdisup.exe    
dasdload.exe    
dasdls.exe    
dasdpdsu.exe    
dmap2hrc.exe    
hercules.exe    
hetget.exe    
hetinit.exe    
hetmap.exe    
hetupd.exe    
tapecopy.exe    
tapemap.exe    
tapesplt.exe    

GNU Utilities

bash.exe
cat.exe
chmod.exe
chown.exe
clear.exe  Clear the screen Clear the screen
cp.exe    
gzip.exe    
mkdir.exe    
mv.exe    
pwd.exe    
rm.exe    
sed.exe    
sh.exe    
tail.exe    
tr.exe
uname.exe     

Other Utilities

c3270.exe
unzip.exe    

 

BASH

GNU bash, version 2.05.0(6)-release-(i686-pc-cygwin)
Usage: bash [GNU long option] [option] ...
bash [GNU long option] [option] script-file ...
GNU long options:
--debug
--dump-po-strings
--dump-strings
--help
--init-file
--login
--noediting
--noprofile
--norc
--posix
--rcfile
--restricted
--verbose
--version
--wordexp
Shell options:
-irsD or -c command (invocation only)
-abefhkmnptuvxBCHP or -o option
Type `bash -c "help set"' for more information about shell options.
Type `bash -c help' for more information about shell builtin commands.
Use the `bashbug' command to report bugs.

Try `uname --help' for more information.

C:\mvs38\hercules>uname --help
Usage: uname [OPTION]...
Print certain system information. With no OPTION, same as -s.

-a, --all print all information
-m, --machine print the machine (hardware) type
-n, --nodename print the machine's network node hostname
-r, --release print the operating system release
-s, --sysname print the operating system name
-p, --processor print the host processor type
-v print the operating system version
--help display this help and exit
--version output version information and exit

Report bugs to <bug-sh-utils@gnu.org>.

Top

C3270

 

Top

CAT

Usage: cat [OPTION] [FILE]...
Concatenate FILE(s), or standard input, to standard output.

-A, --show-all equivalent to -vET
-b, --number-nonblank number nonblank output lines
-e equivalent to -vE
-E, --show-ends display $ at end of each line
-n, --number number all output lines
-s, --squeeze-blank never more than one single blank line
-t equivalent to -vT
-T, --show-tabs display TAB characters as ^I
-u (ignored)
-v, --show-nonprinting use ^ and M- notation, except for LFD and TAB
--help display this help and exit
--version output version information and exit

With no FILE, or when FILE is -, read standard input.

-B, --binary use binary writes to the console device.


Report bugs to <bug-textutils@gnu.org>.

Top

CCKD2CDK

Hercules cckd to ckd copy program Version 2.13_i686 build at Jul 6 2001 11:37:41
(c)Copyright 1999-2001 by Roger Bowler, Jan Jaeger, and others

usage: cckd2ckd [-options] input-file output-file

input-file -- input compressed ckd dasd file
output-file -- output ckd dasd file

options:
-cyl cyls number cylinders to copy if
entire file is not to be copied
0 - copy to last used cylinder
-maxerrs errs max number of errors before copy
is terminated; if 0 then errors
are ignored. Default is 5
-quiet quiet mode, don't display status
-validate validate track images [default]
-novalidate don't validate track images

Top

CCKD2CKD

Hercules cckd to ckd copy program Version 2.13_i686 build at Jul 6 2001 11:37:41

(c)Copyright 1999-2001 by Roger Bowler, Jan Jaeger, and others
usage: cckd2ckd [-options] input-file output-file

input-file -- input compressed ckd dasd file
output-file -- output ckd dasd file

options:

-cyl cyls number cylinders to copy if entire file is not to be copied

0 - copy to last used cylinder
-maxerrs errs max number of errors before copy

is terminated; if 0 then errors are ignored. Default is 5

-quiet quiet mode, don't display status
-validate validate track images [default]
-novalidate don't validate track images

Top

CCKDCOMP

Hercules cckd compress program Version 2.13_i686 build at Jul 6 2001 11:37:50
(c)Copyright 1999-2001 by Roger Bowler, Jan Jaeger, and others

cckdcomp [-level] file-name

where level is a digit 0 - 3
specifying the cckdcdsk level:
0 -- minimal checking
1 -- normal checking
3 -- maximal checking

Top

CHMOD

 

Top

CHOWN

 

Top

CLEAR

Top

CP

 

Top

DASDINIT

 

Hercules DASD image file creation program
Version 2.13_i686 build at Jul 6 2001 11:37:22
(c)Copyright 1999-2001 by Roger Bowler, Jan Jaeger, and others

Syntax: dasdinit filename devtype volser size
where: filename = name of file to be created
devtype = 2311, 2314, 3330, 3340, 3350, 3375, 3380, 3390, 9345(CKD)
3310, 3370 (FBA)
volser = volume serial number (1-6 characters)
size = volume size in cylinders (CKD devices)
or in 512-byte sectors (FBA devices)

Top

DASDISUP

 

Hercules IEHIOSUP program Version 2.13_i686 build at Jul 6 2001 11:37:25
(c)Copyright 1999-2001 by Roger Bowler, Jan Jaeger, and others

Usage: dasdisup.exe ckdfile


Top

DASDLOAD

 

Hercules DASD loader program Version 2.13_i686 build at Jul 6 2001 11:37:27
(c)Copyright 1999-2001 by Roger Bowler, Jan Jaeger, and others

dasdload creates a DASD image file from a list of TSO XMIT files
Syntax: dasdload ctlfile outfile [msglevel]
where: ctlfile = name of input control file
outfile = name of DASD image file to be created
msglevel = Value 0-5 controls output verbosity

Top

DASDLS

 

Hercules DASD list program Version 2.13_i686 build at Jul 6 2001 11:37:34
(c)Copyright 1999-2001 by Roger Bowler, Jan Jaeger, and others

Usage: dasdls dasd_image...

Top

DASDLS

 

Hercules DASD list program Version 2.13_i686 build at Jul 6 2001 11:37:34
(c)Copyright 1999-2001 by Roger Bowler, Jan Jaeger, and others

Usage: dasdls dasd_image...

C:\mvs38\hercules>dasdpdsu /?
Hercules PDS unload program Version 2.13_i686 build at Jul 6 2001 11:37:35
(c)Copyright 1999-2001 by Roger Bowler, Jan Jaeger, and others

Usage: dasdpdsu ckdfile pdsname [ascii]

Top

DMAP2RHC

 

P/390 DEVMAP to Hercules conversion program
Version 2.13_i686 build at Jul 6 2001 11:37:59
(c)Copyright 1999-2001 by Roger Bowler, Jan Jaeger, and others

dmap2hrc: Error opening /?: No such file or directory

Top

GZIP

 

Top

HERCULES

 

Top

HETMAP

 

Hercules HET map program Version 2.13_i686 build at Jul 6 2001 11:37:56
(c)Copyright 1999-2001 by Roger Bowler, Jan Jaeger, and others

hetmap - Print a map of an HET tape file

Usage: hetmap [options] filename

Options:
-a print all label and file information (default: on)
-d print only dataset information (default: off)
-f print only file information (default: off)
-h display usage summary
-l print only label information (default: off)

Top

HETINIT

 

Hercules HET IEHINITT program Version 2.13_i686 build at Jul 6 2001 11:37:54
(c)Copyright 1999-2001 by Roger Bowler, Jan Jaeger, and others

hetinit - Initialize a tape

Usage: hetinit [options] filename [volser] [owner]

Options:
-d disable compression
-h display usage summary
-i create an IEHINITT formatted tape (default: on)
-n create an NL tape

Top

HETMAP

 

Hercules HET map program Version 2.13_i686 build at Jul 6 2001 11:37:56
(c)Copyright 1999-2001 by Roger Bowler, Jan Jaeger, and others

hetmap - Print a map of an HET tape file

Usage: hetmap [options] filename

Options:
-a print all label and file information (default: on)
-d print only dataset information (default: off)
-f print only file information (default: off)
-h display usage summary
-l print only label information (default: off)

Top

HETUPD

 

Hercules HET copy/update program Version 2.13_i686 build at Jul 6 2001 11:37:57

(c)Copyright 1999-2001 by Roger Bowler, Jan Jaeger, and others

hetupd - Print a map of an HET tape file

Usage: hetupd [options] source [dest]

Options:
-1 compress fast
...
-9 compress best
-b use BZLIB compression
-c n set chunk size to "n"
-d decompress source tape
-h display usage summary
-r rechucnk
-s strict AWSTAPE specification (chunksize=4096,no compression)
-v verbose information
-z use ZLIB compression

Top

MKDIR

 

 

Top

MV

 

Top

PWD

 

Top

RM

 

Usage: rm [OPTION]... FILE...
Remove (unlink) the FILE(s).

-d, --directory unlink directory, even if non-empty (super-user only)
-f, --force ignore nonexistent files, never prompt
-i, --interactive prompt before any removal
-r, -R, --recursive remove the contents of directories recursively
-v, --verbose explain what is being done
--help display this help and exit
--version output version information and exit

Report bugs to <bug-fileutils@gnu.org>.

Top

SED

 

 

Top

SH

 

 

Top

TAIL

 

Top

TAPECOPY

 

Hercules tape copy program Version 2.13_i686 build at Jul 6 2001 11:37:37
(c)Copyright 1999-2001 by Roger Bowler, Jan Jaeger, and others

Usage: tapecopy /dev/st0 [outfile]

Top

TAPEMAP

 

Hercules tape map program Version 2.13_i686 build at Jul 6 2001 11:37:38
(c)Copyright 1999-2001 by Roger Bowler, Jan Jaeger, and others

Usage: tapemap filename

Top

TAPESPLT

 

Hercules tape split program Version 2.13_i686 build at Jul 6 2001 11:37:40
(c)Copyright 1999-2001 by Roger Bowler, Jan Jaeger, and others

Usage: tapesplt infilename outfilename count [...]

Top

TR

 

tr: two strings must be given when translating

C:\mvs38\hercules>tr --help
Usage: tr [OPTION]... SET1 [SET2]
Translate, squeeze, and/or delete characters from standard input,
writing to standard output.

-c, --complement first complement SET1
-d, --delete delete characters in SET1, do not translate
-s, --squeeze-repeats replace sequence of characters with one
-t, --truncate-set1 first truncate SET1 to length of SET2
--help display this help and exit
--version output version information and exit

SETs are specified as strings of characters. Most represent themselves.
Interpreted sequences are:

\NNN character with octal value NNN (1 to 3 octal digits)
\\ backslash
\a audible BEL
\b backspace
\f form feed
\n new line
\r return
\t horizontal tab
\v vertical tab
CHAR1-CHAR2 all characters from CHAR1 to CHAR2 in ascending order
[CHAR1-CHAR2] same as CHAR1-CHAR2, if both SET1 and SET2 use this
[CHAR*] in SET2, copies of CHAR until length of SET1
[CHAR*REPEAT] REPEAT copies of CHAR, REPEAT octal if starting with 0
[:alnum:] all letters and digits
[:alpha:] all letters
[:blank:] all horizontal whitespace
[:cntrl:] all control characters
[:digit:] all digits
[:graph:] all printable characters, not including space
[:lower:] all lower case letters
[:print:] all printable characters, including space
[:punct:] all punctuation characters
[:space:] all horizontal or vertical whitespace
[:upper:] all upper case letters
[:xdigit:] all hexadecimal digits
[=CHAR=] all characters which are equivalent to CHAR

Translation occurs if -d is not given and both SET1 and SET2 appear.
-t may be used only when translating. SET2 is extended to length of
SET1 by repeating its last character as necessary. Excess characters
of SET2 are ignored. Only [:lower:] and [:upper:] are guaranteed to
expand in ascending order; used in SET2 while translating, they may
only be used in pairs to specify case conversion. -s uses SET1 if not
translating nor deleting; else squeezing uses SET2 and occurs after
translation or deletion.

Report bugs to <bug-textutils@gnu.org>.

Top

UNAME

 

Usage: uname [OPTION]...
Print certain system information. With no OPTION, same as -s.

-a, --all print all information
-m, --machine print the machine (hardware) type
-n, --nodename print the machine's network node hostname
-r, --release print the operating system release
-s, --sysname print the operating system name
-p, --processor print the host processor type
-v print the operating system version
--help display this help and exit
--version output version information and exit

Report bugs to <bug-sh-utils@gnu.org>.

Top

UNZIP

 

Top

The information on this site is the combined effort of a lot of people, please credit the authors if you use their information.
Please read the Disclaimer page for the restrictions, copyright, and other uses of the information contained on this site.
For problems or questions regarding this web contact Bob.
Last updated: August 18, 2001.