Wednesday, January 8, 2014

Brief Description of SAP Executable

Here is a list of SAP executables that you may find on your SAP systems. If you know of SAP exe files missing in from list, please leave a comment:
R3check                     This is a tool that can check Cluster-Tables for errors.
R3ldctl                        The tool for exporting all table structures to the file system during an OS/DB-Migration.
R3load                        The table import & export tool of SAP during Installation, Upgrade and Migration.
R3szchk                     The tool for determine the sizes of the different tables in the target database during the import in an OS/DB-Migration.
R3ta                             Split large tables for export and import
R3trans                      This is the tool, that does the real work for tp. tp controls the import and export of changes and r3trans does them using scripts, that were generated from tp.
R3trans_164-20000978.SAR     R3trans_164-20000978.SAR’ is a compressed archive with the latest version of R3trans from the SAP Service Marketplace, used when we patched the kernel.
SAPCAR                         SAP Compression and Archiving program
SAPEXEDB_159-20000976.SAR     Compressed file containing DB Dependent executables
SAPEXE_159-20000978.SAR     Compressed file containing the Database Independent executables
cfw                         GUI Control Framework for Abap Objects
cleanipc                     Cleans Inter-Process Communications Memory
db2jcllib.o                 Rsdb/db2jcl_library parameter
db2radm                     Used to configure DB2Connect
dbadaslib.o                 Part of lib_dbsl – database dependent SQL handler
dbdb2pwd                     Create an encrypted DB2 Password File
dbdb2slib.o                 Part of lib_dbsl – database dependent SQL handler – DB2
dbsdbslib.o                 Part of lib_dbsl – database dependent SQL handler
dev_sapstart                 Log file for starting sap
dipgntab                     Activation and adjustment of the nametabs with the ABAP Dictionary.
disp+work                     Dispatcher & Workprocess – “The complete Kernel” – Here the complete ABAP is processed …
Dpj2ee                         Dispatcher for Java
dpmon                         Used to get the process overview of an instance in text mode.
dsrlib.o                     Distributed Statistics Records
Dw_gui.o                     Dependent module for Disp+work
Dw_mdm.o                     Dependent module for Disp+work
Dw_stl.o                     Dependent module for Disp+work
Dw_xml.o                     Dependent module for Disp+work
Dw_xtc.o                     Dependent module for Disp+work
Eg2mon                         Monitor program for Extended Global Memory Segments (only for support)
Em2mon                         Monitor program for Extended Memory management (only for support)
emmon                         Test program for Extended Memory
enqt                         Check and Monitor the Enqueue Lock Table
enrepserver                 SAP Enqueue Replication Server
enserver                     SAP Enqueue Server
ensmon                         Enqueue Server Monitor Programs to monitor the enqueue server and the enqueue replication servers.
Es2mon                         Programs to monitor the enqueue server and the enqueue replication servers.
esmon                         Program to monitor the enqueue server and the enqueue replication servers.
estst                         Test program for the Extended Memory Segments (only for support)
evtd                         This program is able to trigger events within the SAP system. The tp tool uses this feature. It can be used as trigger for self-written interfaces as well.
exe_db2.lst                 The ‘*.lst’ files are text files used by sapcpe to determine which files to compare/copy on instance startup.
gateway.lst                 The ‘*.lst’ files are text files used by sapcpe to determine which files to compare/copy on instance startup.
gw.properties                 Gateway processes
gwmon                         Program gwmon (at operating system level) or SAP transaction SMGW monitors the SAP Gateway.
gwrd                         Program gwmon (at operating system level) or SAP transaction SMGW monitors the SAP Gateway.
icm.properties                 Tool to monitor and manage the Internet Communication Manager (ICM) from the SAP System (transaction SMICM).
icmadmin.SAR                 Tool to monitor and manage the Internet Communication Manager (ICM) from the SAP System (transaction SMICM).
icman                         Tool to monitor and manage the Internet Communication Manager (ICM) from the SAP System (transaction SMICM).
icmbnd                         Program to bind ports with numbers from 0 to 1023
icmon                         Internet Communication Manager (ICM) used for HTTP(S), SMTP based communication used to monitor and manage the Internet Communication Manager (ICM) from the SAP System (transaction SMICM).
instance.lst                 List of database-independent executables. These executables are valid for all database systems used by the SAP system.
instancedb.lst                 List of database-dependent executables. These executables can only be used with a particular database system.
ipclimits                     Reports IPC memory available to SAP at the OS level
j2eeinst.lst                 The ‘*.lst’ files are text files used by sapcpe to determine which files to compare/copy on instance startup.
jcmon                         Program to monitor and manage Java processes
jcontrol                     Program to control Java processes
jenqulib.jar                 Java Enqueue Library
jlaunch                     Program starts the Java processes
jlogunzip.jar                 Java Classes used to unzip archives (used from the sapstartsrv)
jperflib.jar                 J2EE client Jar file
jstartup.jar                 Java Startup Frame Work jar file
jstartupapi.jar             J2EE Engine Monitoring API
jstartupimpl.jar             J2EE Monitoring
ldap_rfc                     LDAP Connector
ldappasswd                     Store LDAP directory user and password
ldapreg                     LDAP Registration Service
lgtst                         Program to test the message server
libicudata30.a                 ICU Common Library – Part of the RFC SDK and are used for RFC connections.
libicui18n30.a                 ICU Common Library – Part of the RFC SDK and are used for RFC connections.
libicuuc30.a                 ICU Common Library – Part of the RFC SDK and are used for RFC connections.
libjenqulib.o                 Part of the RFC SDK and are used for RFC connections.
libjmon.so                     JMON Shared Library – Part of the RFC SDK and are used for RFC connections.
libjperflib.so                 Part of the RFC SDK and are used for RFC connections.
libregex.o                     Part of the RFC SDK and are used for RFC connections.
librfcum.o                     Dynamic Load Library – Part of the RFC SDK and are used for RFC connections.
libsapcsa.o                 CSA Shared Library – Part of the RFC SDK and are used for RFC connections.
libsapsecu.o                 SECU Shared Library – SAP seculib library used for default encryption. It’s referenced in the j2ee startup logs in the work directory.
libsapu16.so                 Part of the RFC SDK and are used for RFC connections.
libsapu16_mt.so             Part of the RFC SDK and are used for RFC connections.
mdxsvr                         MDX Parser for RFC
memlimits                     The program memlimits lets you determine how much swap space is currently available in the host system.
msclients                     Shows running instances registered in the Message Server
msg_server                     Main Message Server executable
msmon                         Message Server Monitor Utility
msprot                         Monitor Message Server at the OS level
niping                         Program to test the SAP network layer and the SAProuter
rfcexec                     The tool to start other programs from within SAP (ABAP) on the OS level via the gateway on any other (or the same) server.
rfcexec.sec                 The tool to start other programs from within SAP (ABAP) on the OS level via the gateway on any other (or the same) server.
rfcping                     Ping the RFC layer
rscparulib.o                 Dynamic shared library with code page converter
rscpf2f                     Check installed locales for given list of languages.  (Created for installation tools. Possibly unused.)
rscpf3f                     Find possible system code pages for given list of languages.                (Created for installation tools. Possibly unused.)
rscpf_ars                     Test program for code page conversion, language handling and locales in combination with ‘rscparulib.o’.  (only for support)
rscpf_db                     Test program for code page conversion, language handling and locales. This program will connect to database and  also attached to shared memory of an instance if possible.  (only for support)
rslgcoll                     Central System Logging Collector
rslglscs                     Show the Syslog specific parts of the shared memory  segment ‘SCSA’. (mainly for support)
rslgsend                     Central System Logging Sender
rslgview                     View SAP Log at the OS level
rstrcscs                     Program creates a common memory segment for the SCSA, locates the trace switches block within it and initializes the trace switches block.
rstrfile                     R/3 system trace file tool
rstrlscs                     The command “rstrcscs r” removes that common memory segment again.
rstrsscs                     The command “rstrsscs” allows change to the switch settings in the trace switches block within the SCSA.
rsyn.bin                     For each kernel version of the R/3 System, there exists an appropriate file rsyn.bin which contains the ABAP/4 syntax description.  It describes what to do when compiling an ABAP statement
sapccm4x                     CCMS Agent for Abap
sapccmsr                     CCMS Agent for Java
sapcontrol                     ’sapcontrol’ is used to stop/start/monitor the sap instances (for example, from the sapmc).
sapcpe                         This checks that the local executables are up to date each time an SAP instance that uses local executables is started.
sapcpeft                     Parameter file used by sapcpe
sapcpp46.o                     Virus Scan Adapter files (Note 964305)
sapdbmrfc                     RFC for SAPDB connections
sapevt                         This program is able to trigger events within the SAP system. The tp tool uses this feature. It can be used as trigger for self-written interfaces as well.
sapexec                     Call SAP Function Modules
sapftp                         FTP Client, that can be used from within the SAP system (from ABAP) to communicate with other FTP servers.
saphttp                     HTTP Client, that can be used from within the SAP system (from ABAP) to communicate with other HTTP servers – e.g. for interfaces.
sapiconv                     Program for the conversion of text files
sapkprotp                     Relocate a Content Server Repository
saplicense                     The Tool for the installation of a new SAP License. This is needed when the license expires e.g. because of a hardware change.
sapmanifest.mf                 Text file that contains the kernel patch level and is read by the JSPM (Java Support Package Manager).
sapmanifestdb.mf             Text file that contains the database kernel patch level and is read by the JSPM (Java Support Package Manager).
sapmscsa                     SCSA Administration
saposcol                     The SAP Interface to the Operating System for Performance Data. The Operating System Collector collects CPU Usage, Disk Performance, Paging etc.
sapparar                     Reads the SAP Profile
sappfpar                     This tool can be used for checking the profiles after changes and before restarting the SAP system.
saproot.sh                     Script to set Root permissions necessary for some kernel programs
saprouter                     The program for the Router Connection from customers to SAP and vice versa.
sapsecin                     Generation of the PSE (Personal Security Environment)
sapstart                     Starts SAP processes
sapstartsrv                 Starts SAP processes
sapuxuserchk                 The program xuser is a tool from maxdb which stores the logon information to the DB.  This utility program called by sapcontrol which is a program that uses the web service APIs of the ABAP and Java startup framework to control an instance from the command line.
sapwebdisp                     The SAP Web dispatcher is used for load balancing for a setting up an SAP Internet scenario. It is the only application that needs to be located in the DMZ. Everything “behind” this can (and should) be located in your intranet. So, only one port on one IP address needs to be opened to internet and the SAP Web dispatcher can handle the traffic with the different SAP instances.
sapxpg                         Program that starts programs on an external host. The tool for starting OS commands from within SAP Systems.
scs.lst                     The ‘*.lst’ files are text files used by sapcpe to determine which files to compare/copy on instance startup.
scsclient.lst                 The ‘*.lst’ files are text files used by sapcpe to determine which files to compare/copy on instance startup.
semd                         A Test Tool used to verify semaphore operations.
servicehttp                 The port number where the server should listen for HTTP requests.
shmd                         Related to Shared Memory
showipc                     Checks shared memory segments
sldreg                         SLD registration program
sldreglib.o                 SLD registration program
ssfrfc                         Secure Store and Forward (SSF)
startdb                     Program to start the database
startj2eedb                 Program to start the database (Java)
startrfc                     The tool is a very easy SAP command line interface to start all of the implemented function modules of SAP systems.
startsap                     Program to start SAP
stopdb                         Program to stop the database
stopj2eedb                     Program to stop the database (Java)
stopsap                     Program to stop SAP
tp                             The Transport Tool. This program coordinates the complete import and export of program and table changes made within the SAP system in order to transport them through the complete System Landscape.
vscan_rfc                     Virus Scan Adapter files (Note 964305)
wdispadmin.SAR                 Web Dispatcher Administration Interface archive program
wdispmon                     Web Dispatcher Monitor program
webdispinst.lst             Web Dispatcher Administration Interface list
xml63d.o                     Virus Scan Adapter files (Note 964305)

Monday, January 6, 2014

DB2 Optimized for SAP – Set it and forget it

You may have read that the last release of DB2 (8.2.2) was specifically Optimized for SAP. What exactly does that mean? Well in this and the next few postings I’ll describe exactly what new features were in 8.2.2 and how, if you are using SAP (and even if you are not), you can take advantage of these new features.
The first is what I like to call the One SAP Knob.
If you administer an SAP database then you likely know that there are a number of settings SAP strongly recommends that you set. This is not a big issue when you initially get started but as new versions of DB2 and/or SAP come out it can be a burden to read through all the release notes to find out what new registry variables should be set and/or what changes to existing registry variables should be made. Well if you are on 8.2.2 your life has just gotten easier. You can turn the SAP Knob to the ON position and forget about it. What do I mean? Well there is a new registry variable in DB2 8.2.2 called DB2_WORKLOAD. If you run
db2set DB2_WORKLOAD=SAP
this will automatically set a number of registry variables based on what IBM and SAP have determined to be the optimal settings. Think of this as a parent setting which takes care of all the children registry variables underneath it. If a future fixpack of DB2 or release of SAP has new or more optimal (if that’s even correct grammar) registry settings, DB2 will automatically adjust them as long as the DB2_WORKLOAD setting is set to SAP. If you want to see what registry variables are controlled by the DB2_WORKLOAD variable, you can run
db2set -gd DB2_WORKLOAD=SAP
and you will see a list of 17 registry variables and their settings, specifically designed in cooperation with SAP to tune DB2 optimally for an SAP workload.

Thursday, January 2, 2014

Blink 182′s song lyric on SAP standard report

Check this on your SAP system (use SE38).
If you’re interested in the lyrics of Blink 182′s song “Obvious” (I am not), have a look at the SAP report RDDPUTJZ_REQUEST_COMP_CHECK3 and scroll down to the bottom :
comm1 = ‘DO NOT CHECK!’.
loop at screen.
if screen-group1 eq ‘CH0′.
screen-input = ’0′.
endif.
modify screen.
endloop.
* Blink 182
* Obvious
*
* I saw you again
* I think you used me again
* Should we try this before
* we give up and move on
* And pretend to restore
* what we have and hold on?
*
* At times like this
* It’s Obvious
*
* I saw you again
* I know you fucked him again
* Can you comfort yourself
* with the sense of revenge?
* Are you leaving me here
* with the taste of the end?
*
* It times like this
* It’s Obvious
* At times like this
* It’s obvious
*
* I saw you again and again and again
* There’s some room to move on to move on to move on
* And I saw you again and again and again
* How do we fix this if we never had vision? (2x)
*
* (At time like this)
* I saw you again and again and again
* There’s some room to move on to move on to move on
* (It´s obvious)
* And I saw you again and again and again
* How do we fix this if we never had vision? (2x)
Someone at SAP must’ve been very bored! They’re only human after all.