Shell commands

Table 1 lists the new and changed shell commands. For details, see z/OS UNIX System Services Command Reference.

Table 1. Summary of new and changed shell commands
Command name Release Description Reason for change
automount z/OS® V1R12 Updated command: Release updates and removal of restriction that the zFS file system must be a compatibility mode file system. Command enhancement
z/OS V2R1 Updated command: The -f option displays the information of the job that last accessed the specified file system.

A list of allocation-spec keywords for allocany and allocuser has been added.

A new keyword, charcase, was added. It indicates the case for names that can match the * specification.

Automount enhancement
bpxmtext z/OS V2R1 New option: The -d option specifies that the reason_code or error_number is provided as a decimal number. Errno support
bpxtrace z/OS V1R12 Updated command: Various updates were made to the command. Command update
cat z/OS V2R1 Updated command: New options were added. TEXT_CONV was added to the Environment Variables section. The Portability section was updated. Additional text conversion support
z/OS V2R1 Removed restriction: The filecodeset restriction of the -W option was removed. Unicode exploitation
c89 z/OS V1R12 Updated command: The -l libname option was added. Command update
Start of changecdEnd of change Start of changez/OS V2R1End of change Start of changeUpdated exit value: Exit value 2 can also be a result of too many arguments.End of change Start of changeClarificationEnd of change
chtag z/OS V1R12 Updated command: Various updates were made to the command. Command update
cmp z/OS V2R1 Updated command: New options were added. TEXT_CNV was added to the Environment Variables section. The Portability section was updated. Additional text conversion support
z/OS V2R1 Removed restriction: The filecodeset restriction of the -W option was removed. Unicode exploitation
comm z/OS V2R1 Updated command: New options were added. TEXT_CNV was added to the Environment Variables section. The Portability section was updated. Additional text conversion support
cp z/OS V1R12 Updated command: Various updates have been made, including information about the record file format. Command enhancement
cut z/OS V2R1 Updated command: New options were added. TEXT_CNV was added to the Environment Variables section. The Portability section was updated. Additional text conversion support
dbgld z/OS V1R12 Updated command: Various updates were made to the command. Command update
dbx and dbx subcommands z/OS V1R12 Updated command and subcommands: Various updates were made to the command. A usage note was added to the dbx commands goto and gotoi. The unload subcommand was also updated. The examples were updated to include one for the _CEE_RUNOPTS="test(all)" environment variable. Command update
z/OS V2R1 Updated subcommand: The $showcodelines variable was added to the set subcommand. It indicates the lines where the debugger can stop and where breakpoints can be set. Debug enhancement
Start of changez/OS V2R1End of change Start of changeNew variable: A new variable, $novregs, was added to the set subcommand of dbx. The usage note for the registers subcommand was also updated with information about displaying and assigning vector registers.End of change Start of changedbx support of vector-enabled programsEnd of change
df z/OS V1R13 Updated option: The -v option now displays the user name and effective user ID. Nonprivileged user mounts
diff z/OS V2R1 Updated command: New options were added. TEXT_CNV was added to the Environment Variables section. The Portability section was updated. Additional text conversion support
z/OS V2R1 Removed restriction: The filecodeset restriction of the -W option was removed. Unicode exploitation
dircmp z/OS V2R1 Updated command: New options were added. TEXT_CNV was added to the Environment Variables section. Additional text conversion support
z/OS V2R1 Removed restriction: The filecodeset restriction of the -W option was removed. Unicode exploitation
ed z/OS V2R1 Updated command: New options were added. TEXT_CNV was added to the Environment Variables section. The Portability section was updated. Additional text conversion support
egrep z/OS V2R1 Updated command: New options were added. Additional text conversion support
ex z/OS V1R13 New -W option and new -B file tag specific option: Support is added to edit untagged z/OS files containing ASCII data or to override the code set value of tagged files. Enhanced text conversion control
z/OS V2R1 Updated command: New options were added. TEXT_CNV was added to the Environment Variables section. The Portability section was updated. Enhanced text conversion control
z/OS V2R1 Removed restriction: The filecodeset restriction of the -W option was removed. Unicode exploitation
expand z/OS V2R1 Updated command: New options were added. TEXT_CNV was added to the Environment Variables section. The Portability section was updated. Additional text conversion support
extattr z/OS V1R12 New file format: Support is added for the record file format. Command enhancement
fgrep z/OS V2R1 Updated command: New options were added. Additional text conversion support
file z/OS V2R1 Updated command: New options were added. TEXT_CNV was added to the Environment Variables section. The Portability section was updated. Additional text conversion support
z/OS V2R1 Removed restriction: The filecodeset restriction of the -W option was removed. Unicode exploitation
fuser z/OS V1R12 New restriction: A restriction was added. Command clarification
grep z/OS V2R1 Updated command: New options were added. TEXT_CNV was added to the Environment Variables section. The Portability section was updated. Additional text conversion support
z/OS V2R1 Removed restriction: The filecodeset restriction of the -W option was removed. Unicode exploitation
head z/OS V2R1 Updated command: New options were added. TEXT_CNV was added to the Environment Variables section. The Portability section was updated. Additional text conversion support
z/OS V2R1 Removed restriction: The filecodeset restriction of the -W option was removed. Unicode exploitation
kill z/OS V1R12 Command update: The process to be killed must belong to the current user; however, any process can be killed by a superuser. Command clarification
ls z/OS V1R12 New file format: Updated to reflect record file format support. Command enhancement
z/OS V2R1 New usage note: A usage note was added to the ls command about issuing the ls command against a large directory structure. APAR OA46568
mount z/OS V1R13 New option: If the -m option is used, the file name can be for any file or directory within the file system. Mount granularity
z/OS V2R1 Updated command: The parameter key has new options. Early warning of full file systems
more z/OS V2R1 Updated command: New options were added. TEXT_CNV was added to the Environment Variables section. The Portability section was updated. The interactive commands section was updated. Additional text conversion support
z/OS V2R1 Removed restriction: The filecodeset restriction of the -W option was removed. Unicode exploitation
mv z/OS V1R12 Command update: Updated to reflect record file format support. Command enhancement
obrowse z/OS V1R13 New environment variable: BPXWISHISPF controls the use of the ISPF browse dialog service. Command enhancement
oedit z/OS V1R13 New environment variable: BPXWISHISPF controls the use of the ISPF browse dialog service. Command enhancement
pack z/OS V2R1 Updated command: New options were added. TEXT_CNV was added to the Environment Variables section. The Portability section was updated. Additional text conversion support
paste z/OS V2R1 Updated command: New options were added. TEXT_CNV was added to the Environment Variables section. The Portability section was updated. Additional text conversion support
pax z/OS V1R12 Command update: Various updates were made, including information about the record file format. Command enhancement
rmdir z/OS V1R12 Command update: Minor updates were made to the exit values documentation. Command clarification
script z/OS V1R13 New command: Makes a typescript of a terminal session. Release enhancement
sed z/OS V2R1 Updated command: New options were added. TEXT_CNV was added to the Environment Variables section. The Portability section was updated. Additional text conversion support
skulker z/OS V1R12 New option: The -R option specifies a recursive move through subdirectories to find both non-directory files and subdirectories that are equal to or older than the specified number of days. Other documentation updates were made, including an update to the restriction. Command enhancement
sh z/OS V2R1 Variable update: The TMOUT variable includes text on using the PWT BPXPRMxx option instead. Logging off unattended terminals
z/OS V2R1 New restriction: If If the tagged script is being run with automatic conversion enabled, the code page of the locale must be SBCS. Unicode exploitation
z/OS V2R1 New restriction: Certain arithmetic substitution was changed to comply with UNIX specifications. APAR OA46394
strings z/OS V2R1 Updated command: New options were added. TEXT_CNV was added to the Environment Variables section. The Portability section was updated. Additional text conversion support
z/OS V2R1 Removed restriction: The filecodeset restriction of the -W option was removed. Unicode exploitation
su z/OS V1R12 Command update: Additional information was added. Command update
tail z/OS V2R1 Updated command: New options were added. TEXT_CNV was added to the Environment Variables section. The Portability section was updated. Additional text conversion support
z/OS V2R1 Removed restriction: The filecodeset restriction of the -W option was removed. Unicode exploitation
tcsh z/OS V2R1 New restriction: If If the tagged script is being run with automatic conversion enabled, the code page of the locale must be SBCS. Unicode exploitation
tso z/OS V1R12 Command update: Various documentation updates were made. Command update
tsocmd z/OS V1R12 New command: Runs a TSO/E command from the shell (including authorized commands). Release enhancements
unmount z/OS V1R13 New option and parameter: The -m option specifies that the name... parameter can be any file or directory within the file system to be unmounted. Command enhancements
A rule concerning mount authority was added. Command clarification
unexpand z/OS V2R1 Updated command: New options were added. TEXT_CNV was added to the Environment Variables section. The Portability section was updated. Additional text conversion support
vi z/OS V1R13 New -W option and new -B file tag specific option Support is added to edit untagged z/OS files containing ASCII data or to override the code set value of tagged files. Enhanced text conversion control
z/OS V2R1 Updated command:
  • New options were added. TEXT_CONV was added to the Environment Variables section.
  • The Portability section was updated.
Additional text conversion support
z/OS V2R1 Removed restriction:
  • The filecodeset restriction of the -W option was removed.
Unicode exploitation
wc z/OS V2R1 Updated command: New options were added. TEXT_CNV was added to the Environment Variables section. The Portability section was updated. Additional text conversion support