Tuesday, March 15, 2005

OS/400 PASE Shells and Utilities

As400s OS/400(R) Portable Application Solutions Environment (OS/400 PASE) includes three shells (Korn, Bourne, and C Shell) and over 200 utilities that run as OS/400 PASE programs. OS/400 PASE shells and utilities provide an extensible scripting environment that includes a large number of industry-standard and defacto-standard commands.

To become more familiar with OS/400 PASE shells and utilities, see the following as400 topics. You can also find information about what's new in this release and how you can print this topic.

OS/400 PASE Commands
system - Run a CL command for OS/400 PASE
qsh, qsh_inout, qsh_out - Run a QShell command for OS/400 PASE
Using the shells and utilities

A simple way to access OS/400 PASE shells and utilities is to call program Run an OS/400 PASE Terminal Session (QP2TERM), which presents an interactive as400 display with a command line that lets you enter OS/400 PASE commands. You can also call program Run any OS/400 PASE program (QP2SHELL) to run any OS/400 PASE program, including a shell or utility.

Many OS/400 PASE utilities have the same name (with similar options and behavior) as QShell utilities in directory /usr/bin, so OS/400 PASE utilities are provided in directory /QOpenSys/usr/bin or /QOpenSys/usr/sbin. The OS/400 PASE PATH environment variable should generally include directories /QOpenSys/usr/bin, /QOpenSys/usr/bin/X11 and /QOpenSys/usr/sbin when running an OS/400 PASE shell. See Run any OS/400 PASE program (QP2SHELL) for information about setting initial values for OS/400 PASE environment variables.

Overview of OS/400 PASE utilities

See OS/400 PASE Commands for information about these OS/400 PASE utilities:

admin dspcat kill qsh time
aixterm dspmsg ksh qsh_inout tnameserv
ajar du ksh93 qsh_out touch
alias dump ld ranlib tput
appletviewer echo lex read tr
apply ed line red trace
ar edit ln regcmp trbsd
as egrep locale reset trcoff
attr env locale64 resize trcon
awk ex logger rev trcstop
banner execerror logname Rfile true
basename expand look rgb tset
bc expr lorder rm tsort
bdiff extcheck ls rmdel tty
bfs false m4 rmdir type
bg fc make rmic ulimit
bsh fg makekey rmid umask
cat fgrep mkcatdefs rmiregistry unalias
cb file mkdir rtl_enable uname
cd find mkfifo runcat uncompress
cdc fold mkfontdir sact unexpand
chgrp gencat mknod sccs unget
chmod get more sccsdiff unifdef
chown getconf mv sdiff uniq
chroot getjobid mwm sed unpack
cksum getopt native2ascii serialver untab
clear getopts nawk setccsid val
clrtmp grep newform setmaps vc
cmp hash nice sh vedit
colrm head nl size vi
comb hostname nm sleep view
comm iconv nohup sort wait
command id od split wc
compress indent pack strings what
cp install pagesize strip which
cpio ipcrm paste stty X
csh ipcs patch sum xargs
csplit jar pax syslogd xauth
cut jarsigner pcat system xhost
date java pg sysval xlsfonts
dbx javac policytool tab xmodmap
dc javadoc pr tabs xset
dd javah printenv tail xterm
delta javakey printf tar xwd
diff javap prs tee xwud
diff3 jobs ps termdef yacc
dircmp join psh test yes
dirname keytool pwd tic zcat

In addition to these utilities, each OS/400 PASE shell supports a number of built-in commands (such as cd, exec, if, etc.). See AIX(R) documentation for information about the built-in commands supported by each OS/400 PASE shell.

The as400 OS/400 PASE default shell (/QOpenSys/usr/bin/sh) is the Korn shell.

No comments:

Post a Comment