Appendix A Summary of Changes by Release

Table of contents:

This appendix summarizes the changes made to Qshell in each release of OS/400.

V5R2

In V5R2, many utilities, variables , and operators were added or modified. These are listed in the following tables. In addition, support was added for CCSIDs 425, 905, 1026, 1097, and 1155.

New Utilities

attr

Get or set a file's attributes.

builtin

Run a built-in utility.

dataq

Send or receive data queue messages.

datarea

Read or write a data area.

declare

Declare variables and set attributes.

help

Display help for a built-in utility.

iconv

Convert characters from one CCSID to another.

ipcrm

Remove the interprocess communication ID.

ipcs

Report the interprocess communication status.

locale

Get locale-specific information.

mkfifo

Make special files FIFO.

nohup

Run a utility without a hangup.

printenv

Display the values of environment variables.

ps

Display the process status.

rexec

Run a remote command.

rexx

Run a Rexx procedure.

Rfile

Read or write record files.

source

Run commands in the current shell. (This is the same as the "dot" command.)

tar

Archive files.

type

Find the type of command.

typeset

Provide an alternative form of declare.

ulimit

Set or display resource limits.

Modified Utilities

exec

Added -c option

hash

Added -p option

trap

Added -l option

uname

Added -m option

xargs

Added -E, -e, -L, and -l options

New Predefined Variables

EGUID

Holds the effective primary group ID

EUID

Holds the effective user ID

GID

Holds the primary group ID

HOSTID

Holds the IP address of the host

HOSTNAME

Holds the name of the host

HOSTTYPE

Holds the type of host

MACHTYPE

Holds the type of machine

OSTYPE

Holds the type of operating system

PS3

Provides the prompt used by the select command

QIBM_CCSID

Holds the CCSID for translation

QIBM_QSH_CMD_ESCAPE_MSG

Sends escape messages from QSH CL command

QIBM_QSH_CMD_OUTPUT

Controls output of QSH CL command

QIBM_QSH_INTERACTIVE_CMD

Provides the initial interactive command

QIBM_QSH_INTERACTIVE_TYPE

Holds the type of interactive session

QIBM_SYSTEM_ALWMLTTHD

Allows multithread capable job

UID

Holds the user ID

Operators

Extended conditional construct [[ ]]

New syntax for functions

Select construct added

Substring word expansion

Substitute string for pattern word expansion

Tilde expansion updated


V5R1

The following tables list the utilities that were added or modified in V5R1. In addition, the TRACEFILE predefined variable was added to hold the path name of a trace file.

New Utilities

cmp

Compare files.

compress

Compress data.

dspmsg

Send output from a message catalog.

file

Determine the file type.

od

Provide a file dump.

pax

Run the portable archive exchange.

sed

Run the stream editor.

setccsid

Set a file's CCSID attribute.

sysval

Retrieve system values or network attributes.

tr

Translate characters .

uncompress

Expand compressed data.

wc

Count words, lines, or characters.

zcat

Expand and concatenate data.

Modified utilities

getconf

Four new operands were added:

CCSID

Coded character-set ID

PAGE_SIZE, PAGESIZE

Hardware page size

PIPE_BUF

Maximum number of bytes that can be written automatically to a pipe

getjobid

-s option added to display qualified job name in a short format

ls

-S option added to display a file's CCSID attribute


V4R4

The following tables list the changes to utilities, variables , APIs, and operators that were made in V4R4. In addition, the system utility was modified with the addition of options n and q .

New Utilities

ajar

Create an alternative Java archive.

basename

Return the non-directory portion of a path name .

cat

Concatenate and print files.

chmod

Change file modes.

chgrp

Change file group ownership.

chown

Change file ownership.

clrtmp

Clear the /tmp directory.

cp

Copy files.

date

Print the date and time.

dirname

Return the directory portion of a path name.

env

Set the environment for command invocation.

expr

Evaluate arguments as an expression.

find

Search a file hierarchy.

getjobid

Display job information.

grep

Search files for a pattern.

head

Copy the first part of files.

hostname

Display the name of the host system.

id

Return user identifiers.

let

Evaluate an arithmetic expression.

ln

Link files.

logger

Log messages to QHST.

logname

Display the user's login name.

ls

List directory contents.

mkdir

Create a directory.

mv

Move or rename a file.

pr

Print files to standard output.

pwdx

Print the working directory, expanded, to standard output.

rmdir

Remove a directory.

rm

Remove a link.

split

Split files into pieces.

tail

Copy the last part of files.

tee

Duplicate standard input.

touch

Change file-access and modification times.

uname

Display the system name on the standard output device.

uniq

Report or filter out unique names in a file.

whence

Determine how a command is interpreted.

New Predefined Variables

QSH_REDIRECTION_CODE-PAGE

Code page for file redirection

QSH_REDIRECTION_TEXTDATA

Data processed as text for file redirection

New APIs

QzshSystem()

Run a Qshell command.

QzshCheckShellCommand()

Find a Qshell command.

Operators

Parameter expansion operators #, ##, %, %% added

Greatly enhanced arithmetic expressions

Support for floating-point arithmetic


V4R3

In V4R3, the following changes were made:

  • The liblist utility was added to manage library lists.
  • The test utility was modified with the addition of the -N option to check for native objects.
  • The QSH_VERSION predefined variable was added for the current Qshell version.
  • The QSH_USE_PRESTART_JOBS predefined variable was added to give the ability to use prestart jobs when available.
  • National language support was added for CCSIDs 11401149, for Euro currency.




QShell for iSeries
Qshell for iSeries
ISBN: 1583470468
EAN: 2147483647
Year: 2003
Pages: 219

Flylib.com © 2008-2020.
If you may any questions please contact us: flylib@qtcs.net