IBM PASE for i commands

Most PASE for i commands support the same options and provide the same behavior as AIX® commands. But PASE for i commands differ from AIX commands in some ways.

The following list describes the difference between PASE for i commands and AIX commands:

  • Many PASE for i commands for display operations and for UNIX jobs control work only in a teletypewriter (TTY) session, such as a session started by the aixterm or xterm command. These functions do not work on 5250 workstation devices (including the display presented by the QP2TERM program).
  • PASE for i generally does not support interfaces that are provided on AIX for system management. For example, PASE for i does not support the AIX System Management Interface Tool (SMIT) or functions that require an SMIT database.
  • The IBM® i operating system is fundamentally an EBCDIC system. PASE for i shells and utilities run in ASCII and generally do not perform automatic conversion of stream data. You might need to use tools (for example, the iconv() function) to convert between ASCII and EBCDIC.

    Unlike the QShell interpreter and utilities, most PASE for i shells and utilities do not perform automatic Coded Character Set Identifier (CCSID) conversion of stream file data. However, the PASE for i utilities system and any PASE for i utility that runs a QShell command are exceptions. This is because they provide CCSID conversion support for data that the CL command or the QShell command reads from standard input or writes to standard output or standard error.

    PASE for i utilities that run QShell Java™ utilities (for example, the Java command) set the Java file.encoding property to match the PASE for i CCSID so that stream data read and written by the Java program is converted from and to the PASE for i CCSID. To force a specific file.encoding value, set the PASE for i environment variable PASE_JAVA_ENCODING before running the utility.

  • For many system resources, the IBM i operating system uses names that are not case sensitive. However, these system resources have names that are case sensitive in AIX; for example, user and group names and object names in the root file system. Some PASE for i shell and utility functions require matching case for resources that have names that are not case sensitive in IBM i, and others might return names in uppercase that are normally lowercase on AIX. For example, file name expansion in PASE for i shells is case sensitive, so you must specify uppercase to match generic names in the /QSYS.LIB file system.
    
                ls /qsys.lib/qgpl.lib/GEN*.PGM
    rather than
                ls /qsys.lib/qgpl.lib/gen*.pgm
    
  • To provide case-sensitivity and avoid name collisions with directories and files used for ILE support, most PASE for i directories and files (including shells and utilities) are stored in the /QOpenSys file system. In particular, PASE for i shells and utilities are stored in /QOpenSys/usr/bin and /QOpenSys/usr/sbin (rather than /usr/bin and /usr/sbin on AIX).

In addition to the following PASE for i commands, each PASE for i shell supports a number of built-in commands (such as cd, exec, and if). See the AIX Resources Web page for information about the built-in commands supported by each PASE for i shell and for detailed information about most of the following PASE for i commands.

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

A
admin Create and control Source Code Control System (SCCS) files.
aixterm Initialize an Enhanced X Window System terminal emulator.
alias Define or display aliases.
appletviewer Run the QShell appletviewer command to run Java applets without a Web browser.
apply Apply a command to a set of parameters.
apt Run the QShell apt command, the Java annotation processing tool.
ar Maintain the indexed libraries used by the linkage editor.
as Run the assembler.
attr Run the QShell attr command to display or change integrated file system object attributes.
awk Find lines in files matching patterns and then perform specified actions on them.
B
banner Write ASCII character strings in large letters to standard output.
basename Return the base filename of a string parameter.
bc Provide an interpreter for arbitrary-precision arithmetic language.
bdiff Use the diff command to find differences in very large files.
bfs Scan files.
bg Run a job in the background.
bsh Call the Bourne shell.
C
cat Concatenate or display files.
cd Change the current directory.
cdc Change the comments in a SCCS delta.
chgrp Change the group ownership of a file or directory.
chmod Change permission modes.
chown Change the user associated with a file.
chroot Change the root directory of a command.
cksum Display the checksum and byte count of a file.
clear Clear the terminal screen.
clrtmp Run the QShell clrtmp command to clear directory /tmp.
cmp Compare two files.
colrm Extract columns from a file.
comb Combine SCCS deltas.
comm Select or reject lines common to two sorted files.
command Run a simple command.
compress Compress data.
cp Copy files.
cpio Copy files into and out of archive storage and directories.
csh Call the C shell.
csplit Split files by context.
cut Write out selected bytes, characters, or fields from each line of a file.
D
date Display or set the date or time.
dbx Provide an environment to debug and run PASE for i programs.
dc Provide an interactive desk calculator for arbitrary-precision integer arithmetic.
dd Convert and copy a file.
df Reports information about space on file systems.
diff Compare text files.
diff3 Compare three files.
dircmp Compare two directories and the contents of their common files.
dirname Write to standard output all but the last part of a specified path.
dspcat Display all or part of a message catalog.
dspmsg Display a selected message from a message catalog.
du Summarize disk usage.
dump Dump selected parts of an object file.
E
echo Write character strings to standard output.
ed Edit text by line.
edit Provide a simple line editor for the new user.
egrep Search a file for a pattern.
env Display the current environment or set the environment for the execution of a command.
ex Edit lines interactively with a screen display.
execerror Write error messages to standard error.
expand Write to standard output with tabs changed to spaces.
expr Evaluate arguments as expressions.
extcheck Run the QShell extcheck command to detect Java archive conflicts.
F
false Return a nonzero exit value (false).
fc Process the command history list.
fg Run jobs in the foreground.
fgrep Generate the figure list in a format supported by the build process.
file Determine file type.
find Find files with a matching expression.
fold Fold long lines for finite-width output device.
G
gencat Create and modify a message catalog.
get Create a specified version of a SCCS file.
getconf Write system configuration variable values to standard output.
getjobid Run the QShell getjobid command to determine the IBM i job name for a process identifier.
getopt Parse command line flags and parameters.
getopts Process command-line arguments and check for valid options.
grep Search a file for a pattern.
H
hash Remember or report command path names.
head Display the first few lines or bytes of a file or files.
hostname Set or display the name of the current host system.
I
iconv Convert the encoding of characters from one code page encoding scheme to another.
id Display the system identifications of a specified user.
idlj Run the QShell idlj command to run the IDL-to-Java compiler.
indent Reformat a C language program.
install Install a command.
ipcrm Run the QShell ipcrm command to remove interprocess communications objects.
ipcs Run the QShell ipcs command to display interprocess communications objects.
J
jar Run the QShell jar command to archive Java files.
jarsigner Run the QShell jarsigner command to sign or verify the signature of a Java archive.
java Run the QShell java command to run the Java interpreter.
javac Run the QShell javac command to compile a Java program.
javadoc Run the QShell javadoc command to generate Java documentation.
javah Run the QShell javah command, to generate C header or stub files for Java classes.
javakey Run the QShell javakey command to manage Java security keys.
javap Run the QShell javap command to disassemble a compiled Java program.
jobs Display status of jobs in the current session.
join Join the data fields of two files.
K
keytool Run the QShell keytool command to manage keys and certificates for Java.
kill Send a signal to running processes.
ksh Call the Korn shell.
ksh93 Call the enhanced Korn shell.
L
ld Link object files.
ldedit Modify an XCOFF executable file header.
lex Generate a C or C++ language program that matches patterns for simple lexical analysis of an input stream.
line Read one line from the standard input.
ln Link files.
locale Write information about current locale or all public locales.
logger Make entries in the system log.
logname Display login name.
look Find lines in a sorted file.
lorder Find the best order for member files in an object library.
ls Display the contents of a directory.
M
m4 Preprocess files and expand macro definitions.
make Maintain, update, and regenerate groups of programs.
makekey Generate an encryption key.
mkcatdefs Preprocess a message source file.
mkdir Create one or more new directories.
mkfifo Make first-in-first-out (FIFO) special files.
mkfontdir Create a fonts.dir file from a directory of font files.
mknod Create a special file.
more Display the contents of files one screen at a time.
mv Move files.
mwm Run the AIXwindows Window Manager (MWM).
N
native2ascii Run the QShell native2ascii command to convert characters encoded in the PASE for i CCSID to Unicode encoding.
nawk Call the new version of awk.
newform Change the format of a text file.
nice Run a command at a lower or higher priority.
nl Number lines in a file.
nm Display the symbol table of an object file.
nohup Run a command without hangups.
O
od Display files in a specified format.
orbd Run the QShell orbd command to run the Java Object Request Broker Daemon.
P
pack Compress files.
pack200 Run the QShell pack200 command, the Java archive packing tool.
pagesize Display the system page size.
paste Merge the lines of several files or subsequent lines in one file.
patch Apply changes to files.
pax Extract, write, and list members of archive files; copy files and directory hierarchies.
pcat Unpack files and write them to standard output.
pg Format files to the display.
policytool Run the QShell policytool command to create and manage Java policy files.
pr Write a file to standard output.
printenv Display the values of environment variables.
printf Write formatted output.
prs Display a Source Code Control System (SCCS) file.
ps Show current status of processes.
psh Call the POSIX (Korn) shell.
pwd Display the path name of the working directory.
Q
qsh Run a QShell command.
qsh_inout Run a QShell command.
qsh_out Run a QShell command.
R
ranlib Convert archive libraries to random libraries.
read Read one line from standard input.
red Edit text by line.
regcmp Compile patterns into C language char declarations.
reset Initialize a terminal.
resize Set the TERMCAP environment variable and terminal settings to the current window size.
rev Reverse characters in each line of a file.
Rfile Run the QShell Rfile command to read or write IBM i record files.
rgb Create the database used by the X Window System server for colors.
rm Remove (unlink) files or directories.
rmdel Remove a delta from a SCCS file.
rmdir Remove a directory.
rmic Run the QShell rmic command to compile Java RMI stubs.
rmid Run the QShell rmid command to run the Java RMI activation system.
rmiregistry Run the QShell rmiregistry command to start a Java remote object registry.
rtl_enable Relink shared objects to enable the runtime linker to use them.
runcat Pipe output data from the mkcatdefs command to the gencat command.
S
sact Display current SCCS file-editing status.
serialver Run the QShell serialver command to return the version number for Java classes.
sccs Administration program for SCCS commands.
sccsdiff Compare two versions of an SCCS file.
sdiff Compare two files and display the differences in a side-by-side format.
sed Provide a stream editor.
servertool Run the QShell servertool command to run the Java IDL Server Tool.
setccsid Run the QShell setccsid command to set the CCSID for an integrated file system object.
setmaps Set terminal maps or code set maps.
sh Call the default (Korn) shell.
size Display the section sizes of the Extended Common Object File Format (XCOFF) object files.
sleep Suspend execution for an interval.
slibclean Remove any currently unused modules in kernel and library memory.
snapcore Gather information for a core file.
sort Sort files, merge files that are already sorted, and check files to determine if they have been sorted.
split Split a file into pieces.
strings Find the printable strings in an object or binary file.
strip Reduce the size of an XCOFF object file by removing information used by the binder and symbolic debug program.
stty Set, reset, and report workstation operating parameters.
sum Display the checksum and block count of a file.
syslogd Log system messages.
system Run a CL command.
sysval Run the QShell sysval command to display an IBM i system value or network attribute.
T
tab Change spaces into tabs.
tabs Set tab stops on a terminal.
tail Write a file to standard output, beginning at a specified point.
tar Manipulate archives.
tee Display the output of a program and copy it into a file.
test Evaluate conditional expressions.
tic Translate the terminfo description files from source to compiled format.
time Print the time of the execution of a command.
tnameserv Run the QShell tnameserv command to provide access to the Java naming service.
touch Update the access and modification times of a file.
tput Query the terminfo database for terminal-dependent information.
tr Translate characters.
trace Record selected system events.
trbsd Translate characters (BSD version).
trcoff Stop the collection of trace data.
trcon Start the collection of trace data.
trcstop Stop the trace function.
true Return an exit value of zero (true).
tset Initialize a terminal.
tsort Sort an unordered list of ordered pairs (a topological sort).
tty Write to standard output the full path name of your terminal.
type Write a description of the command type.
U
ulimit Set or report user resource limits.
umask Display or set the file mode creation mask.
unalias Remove alias definitions.
uname Display the name of the current operating system.
uncompress Restore compressed files.
unexpand Write to standard output with tabs restored.
unget Cancel a previous SCCS get command.
unifdef Remove ifdef lines from a file.
uniq Delete repeated lines in a file.
unpack Expand files.
unpack200 Run the QShell unpack200 command, the Java archive unpacking tool.
untab Change tabs into spaces.
V
val Validate SCCS files.
vc Substitute assigned values for identification keywords.
vedit Edit files with a full-screen display.
vi Edit files with a full-screen display.
view Start the vi editor in read-only mode.
W
wait Wait until the termination of a process ID.
wc Count the number of lines, words, and bytes in a file.
what Display identifying information in files.
which Locate a program file, including aliases and paths (the csh (C shell) command only).
X
X Run the X server. PASE for i only supports virtual frame buffer processing.
xargs Construct a parameter list and run a command.
xauth Edit and display the authorization information used in connecting to the X server.
xhost Control who accesses Enhanced X Window System on the current primary system.
xlsfonts Display the font list for X Window System.
xmodmap Modify keymaps in the X Server.
xset Set options for your X Window System environment.
xterm Provide a terminal emulator for the X Window System.
xwd Dump the image of an Enhanced X Window System window.
xwud Retrieve and display the dumped image of an Enhanced X Window System window.
Y
yacc Generate an LALR(1) parsing program from input consisting of a context-free grammar specification.
yes Produce output of an affirmative response repetitively.
Z
zcat Expand a compressed file to standard output.