Professional Documents
Culture Documents
The copyright of this manual and the computer software described herein and
provided herewith are the property of Systems Union Holdings Ltd. No part of
this publication or the computer software may be reproduced, transmitted,
transcribed, stored in a retrieval system, or translated into any human or computer
language, in any form or by any means without the express written permission of
Systems Union Holdings Ltd.
Introduction ............................................................................... 4
Preparation
Hardware and Software Requirements ..................................... 5
Server Memory .................................................................... 5
Server Disk Space ............................................................... 5
Printer .................................................................................. 5
Oracle Software ................................................................... 6
Installation
Installing SunSystems ............................................................... 8
Running the Installation Script ............................................. 8
Amending Scripts for Oracle 8.1.7.2 or Higher ................... 12
Amending Scripts for Oracle 9.2.0.3 or Higher ................... 14
Contents
Administration
Running SunSystems .............................................................. 34
Specifying the Location of Print, Work and Backup Files ... 36
Configuring the Terminal Display ....................................... 37
Configuring the Keyboard .................................................. 38
Appendices
Appendix A: SunAccount Transfer File ................................... 64
OVERVIEW
This section outlines the manuals you can use to find out more about SunSystems.
It also covers the other ways in which you can investigate SunSystems and its
functionality.
The SunSystems Platform Manuals have been written to help you install and run
SunSystems in a variety of environments. They contain technical information
and advice and are critical to a successful implementation. The platform manuals
detail SunSystems upgrade procedures for new sites.
The SunSystems Platform Manual is divided into four sections:
Preparation, Installation, Administration and the Appendices.
User Assistance 1
THE APPRECIATION GUIDE
Three demonstration databases are provided with each system: DEM, DM1, and
DM2. Each is a fully operational database, which includes examples of all aspects
of SunSystems, SunAccount and SunBusiness. You can use them to familiarise
yourself with the system, before using your live database(s).
HELP
Within SunSystems you can access full information about SunSystems by selecting
Help, Contents and Index from the menu. This enables you to use the online
manual’s text searching facilities.
Each box in SunSystems is help enabled. If you need to find out what a box does
whilst you are using SunSystems, place your cursor in the box and press F1. See
the section SunSystems Tools, Buttons, and Keystrokes in the Reference Manuals
for further information.
All of the SunSystems manuals are available on the CD in PDF format. These can
be viewed and printed using Adobe Acrobat Reader, which is available from
Adobe's web site. If you decide to install the electronic manuals permanently they
are then easily accessible from the SunSystems Program Menu.
The most up-to-date manuals for the latest version of SunSystems can also be
found on the SunSystems web site at:
www.sunsystems.com
User Assistance 3
Introduction
This manual covers versions of SunSystems for Oracle 8.1.7.2 and above, or Oracle
9.2.0.3.0 or above, and has been written to assist the system administrator with the
installation of SunSystems with an Oracle database. It covers installation on a
variety of UNIX-based systems and includes installing and operating Graphical
Client for UNIX.
The appendices contain additional useful information such as: table and filenames,
the transfer file layout, and error messages.
Regardless of whether you are installing SunSystems for the first time, or upgrading
to the latest version of the software, the installation procedures are the same. The
same steps also apply to a demonstration system or a live issue of SunSystems.
F Note: There is a separate manual for those who wish to use an ISAM
database.
Manuals
See the previous section User Assistance for a full description of information
provided in each manual. Where necessary, Addenda, Errata and User Notes are
included with the manuals. These must be read carefully.
IMPORTANT NOTE
When you are installing SunSystems you are strongly advised to use all
recommended settings. If you wish to use a configuration that does not include
the settings recommended in this manual, you should contact your supplier to
ensure that the configuration you wish to use is supported.
This section describes the hardware and software configuration required to run
SunSystems.
When the system is operated in multi-user mode, the number of terminals which
may be used is subject to the configuration supplied, and any restrictions of the
computer itself. Each screen must be cursor addressable and have a minimum of
25 lines of 80 characters each.
SERVER MEMORY
The amount of memory required for SunSystems varies depending on how the
system is used by each of the concurrent users. Approximately 12Mb is needed
for the first user, and up to 10Mb for subsequent users. These figures do not
include memory used for the operating system or other software packages. The
actual memory requirements vary depending on the way data is accessed and the
performance criteria you require.
The files are stored on the issue media in compressed format. Make sure you have
at least 350Mb of free disk space before beginning the installation.
To establish the amount of disk space available on your file systems, you should
use the df UNIX command. Consult your UNIX documentation for further
information about using df on your machine.
PRINTER
The printer must be capable of printing 132 characters per line. If you use a
printer which prints on A4 or American quarto size paper, you have to print in
compressed mode for certain SunSystems reports. If the wide column feature is
used in the reporting functions, up to 256 characters per line may be required.
SunSystems can be installed only when Oracle server and Procedural SQL have
already been configured on your system.
F Note: The hard disk space and memory requirements for Oracle software
itself depend on the type and number of Oracle components installed on
your system. This depends on the type of UNIX server and you should
consult your Oracle installation documentation for further details.
Preparing the environment is essential to both the installation and the day to day
running of SunSystems.
It is important that you read this section carefully.
UNIX Shells
SunSystems runs interactively using the Bourne or Korn shell. However, if you
are running SunSystems using FREEFORMAT in background mode, only the Bourne
shell is supported. The C shell is not supported at all with SunSystems.
If you are already running a version of SunSystems, you should read the section
Upgrading SunSystems before following the instructions below.
This section describes copying the files from the issue media and installing
SunSystems. The installation of all SunSystems modules is performed by the
install.sun script. This script is interactive and informs you of each step it
performs. These steps are described in detail below. (See the subsection Running
the Installation Script).
A log file called suninstall.log is created when the script has completed
successfully. It logs the version of SunSystems, the date of installation, and all
languages installed.
Having completed the installation, read the manuals located in the docs
subdirectory for any further information.
F Note: If these environment variables are not set the installation script will
prompt you for them as it is essential that they are correctly set.
2 Use su to become super user (root).
F Note: If you choose to install an additional language you are offered the
selection of languages as described in the subsection Language Selection,
but without the facility to select a BASE language.
Installing SunSystems 9
Language Selection
All the languages available for each release are displayed:
Enter required languages.
NOTE that the first language selected will be the BASE
language.
Select from
C Chinese Simplified
D Dutch
E English
F French
G German
I Italian
J Japanese
P Portugese
S Spanish
T Chinese Traditional
Enter the initial letter(s) of the language(s) required:
If a language is not displayed, it may not be available for this release. Contact
your supplier for more information.
If you intend to use a live (i.e. a non-demonstration) version of SunSystems, make
sure the base language entered here matches the base language specified in your
serialisation details.
F Note: Although you can install any language version, you can use only the
languages for which you are serialised. If in doubt, consult your serialisation
details. If, however, you wish to install a demonstration system, you can
use up to four language versions.
F Note: These communication processes are only required if you are using
Graphical Client.
Installing SunSystems 11
AMENDING SCRIPTS FOR ORACLE 8.1.7.2 OR HIGHER
You must install Oracle Server Manager to be able to run the SunSystems Oracle
scripts. The scripts are located in the admin/<ORACLE_SID>/create
directory, and these automate the process of creating an Oracle database. They
define the configuration of your Oracle instance and database. They are supplied
with a default configuration which may not suit your installation, so you must
modify them according to the requirements at your site. This ensures the smooth
running and optimum performance of your database.
The scripts comply with the Oracle Optimal Flexible Architecture (OFA) set of
file naming and placement guidelines for Oracle software and databases. Although
using OFA is not a requirement, Oracle Corporation recommends that you use it if
your database is likely to grow in size, or if you plan to have multiple databases.
OFA is designed to provide significant benefits in the following areas:
• Ease maintaining Oracle software and databases through standard file
organisation
• Reliability through data spanning multiple physical drives
• Performance through decreased I/O contention for disks
Installing SunSystems 13
Checking the Oracle Log Files for Errors
You must check the log file alert<ORACLE_SID>.log in the directory
$SUNDIR/admin/<ORACLE_SID>/bdump/
You must also check any log file in the directory $SUNDIR/admin/
<ORACLE_SID>/create/
The Oracle scripts, which are located in the install directory beneath the
program directory, automate the process of creating an Oracle Instance / Database.
These scripts should be modified, according to the requirements at your site, as
they are supplied with a default configuration. The scripts comply with the Oracle
Optimal Flexible Architecture (OFA) for file placement and also use the Oracle
Managed Files (OMF) feature for file naming. Although using OFA and OMF is
not a requirement, Oracle Corporation recommends that you use both features.
F Note: For more information on OFA and OMF please consult your Oracle
documentation.
F Note: Distributing I/O across disks can give significant performance gains.
In particular, distributing Redo Log files and Data files when creating an
Oracle Instance can aid performance. See Oracle documentation for more
detailed information on performance issues.
CreateDatabase.sh
This batch file controls the creation of the Oracle Instance/Database. It performs
the following tasks:
• Creates OFA directory structure under the sundbs directory.
• Creates the init${ORACLE_SID}.ora parameter file in its correct OFA
location.
• Creates the Oracle Instance, Password file, Database and SPFILE.
• Creates default SunSystems Oracle Users and Roles.
• Assumes that the following environment variables are defined:
SUNDIR - SunSystems home directory
ORACLE_HOME - Oracle installation directory
ORACLE_SID - name of database to be created
F Note: The Oracle password file is created with default Oracle passwords.
• SYS / CHANGE_ON_INSTALL
• SYSTEM / MANAGER
These should be changed after the Oracle Instance/Database has been created for
security.
Installing SunSystems 15
initTemplate.ora
This file contains the Oracle Instance configuration and tuning parameters. See
Oracle Database Reference manual. This file contains variables that are replaced
when the parameter file is created in the current OFA location.
CreateDB.sql
This script connects to the Oracle Instance and creates the Oracle Database. See
Oracle SQL Reference manual.
CreateDBFiles.sql
This script connects to the Oracle Instance and creates additional Tablespaces.
See the Oracle SQL Reference manual.
CreateDBCatalog.sql
This script connects to the Oracle Instance and runs the following Oracle scripts
in order to create Oracle Data Dictionary structures.
$ORACLE_HOME/rdbms/admin/catalog.sql
$ORACLE_HOME/rdbms/admin/catexp7.sql
$ORACLE_HOME/rdbms/admin/catblock.sql
$ORACLE_HOME/rdbms/admin/catproc.sql
$ORACLE_HOME/rdbms/admin/catoctk.sql
$ORACLE_HOME/rdbms/admin/owminst.plb
$ORACLE_HOME/sqlplus/admin/pupbld.sql
PostDBCreation.sql
This script connects to the Oracle Instance and compiles any invalid PL/SQL
modules. Also creates an Oracle SPFILE and restarts the Instance.
CreateUsers.sql
This script connects to the Oracle Instance and creates default SunSystems Oracle
Users and Roles.
This section is intended for qualified Oracle Database Administrators only, and
explains how it is possible to use independent and secure schemas in a single
SunSystems Oracle instance.
OVERVIEW
Although SuperUser SUN is adequate in most cases, you may require greater
flexibility in how the Oracle database is used. You can have separate database
tables, including an independent installation table within each personal tablespace.
This allows multiple SunSystems schemas to be held within one Oracle instance.
For security, each schema can only access its own identified set of tables. This
configuration has the additional advantage that both identical and multiple
SunSystems database codes can be user defined within each schema, providing
greater flexibility and simpler management. For example, each tablespace could
include a demonstration SunSystems database called DEM.
The following example shows two independent tablespaces held within one
database:
SSINSTAL SSINSTAL
VSSINSTAL VSSINSTAL
Key
owner access only
owner and SSA access
Oracle Users
User Name Password Default Tablespace Roles
SUN.INI Entries
In SUN.INI, enter the line sunuser= followed by your user name. For example:
sunuser=US1
This entry must be changed whenever you wish to access an alternative tablespace.
If you decide to use SuperUser SUN at a later stage, the sunuser entry should
be removed.
You can create additional schemas through the Oracle Schema Manager. You
must also use the command grant unlimited tablespace to user,
but with a different user name.
F Note: You can transfer data using an Oracle database rather than FB=File
Backup/Restore. However, you should only do this if you are a qualified
DBA.
When you run SunSystems in a multiple tablespace environment, you need to use
slightly different procedures. Specifically, you should avoid using SuperUser
SUN.
If you log in using SuperUser SUN, the error message ‘INVALID’ appears at the
bottom left corner of the screen. You must use the sunuser name designated in
SUN.INI and the password defined in the Oracle database.
After using DB=Database Definition, and FB=File Backup/Restore to restore your
data, select OD=Operator Definitions. In OD=Operator Definitions, create an
operator with the name you specified as sunuser in SUN.INI, and the
corresponding password. You can alter the password later if you wish.
If you are using multiple tablespaces, you should avoid amending the definition
for SuperUser SUN in OD=Operator Definitions.
F Note: The SunSystems version number is printed on the labels of the issue
media. It is also displayed on the SunSystems main screen.
Upgrading SunSystems 21
4 If possible, try to co-ordinate the upgrade with a PC=Period Cleardown, so
that your table sizes are minimised.
5 If you want to retain the demonstration databases supplied with version 4.1 or
previous versions of SunSystems, you must rename DEM, DM1, and DM2
before upgrading.
6 Take a full security copy of your current SunSystems program files with a full
operating system backup.
7 Take a full security copy of your current database using Oracle backup facilities.
8 Use the SunSystems FB=File Backup/Restore option to make a separate backup
of all your current SunSystems data files (see the subsection File Backup/Restore
for full instructions).
9 Drop all objects in the SUN schema. If you want to retain your existing database
configuration, do not run the createdb.sh script, but run the script dbuser.sql
using Server Manager, after appropriately editing it. You may, however, wish
to take the opportunity to reconfigure your database. In this case you should
delete the entire SunSystems database and use the createdb.sh script to
rebuild it from scratch.
You must edit the script files run by createdb.sh before executing them. See
the section Installing SunSystems.
F Note: Make sure that the network user who performs the SunSystems restore
in FB=File Backup/Restore has sufficient privilege to read the backup files.
Log in as the same user, or amend the permissions on the backup directory.
File Backup/Restore
Apart from your own security backup of SunSystems files, you must use the
SunSystems FB=File Backup/Restore function to make a separate backup of your
data tables. This converts the data tables to text files, which can be upgraded
when you restore them. You need to complete the following steps:
1 With the old version of the software, use FB=File Backup/Restore to backup
all tables for each database code. Remember to backup all budget, archive,
and install tables, plus the report format and document format files. The last
three are offered if you enter spaces when prompted for a database code.
F Note: You only need to backup the SSFORMAT and SSREPORT files if you
have created your own formats with Document Definition or Report
Definition. If you use the standard document and report formats supplied
with the system, you can use the SSFORMAT and SSREPORT files provided
with version 4.2.
F Note: Document formats which have been programmed specially for you
(bespoke formatters) are not held in the document format file and must be
recompiled before you can upgrade. Contact your supplier for further
details.
3 Save any of the supplied programs which you have tailored yourself (e.g.
sunspool). Refer to your supplier for more information.
4 Delete all the old program files from your program directory. If you are updating
SunSystems, make sure you have taken copies of any .MDF files containing
FREEFORMAT macros, and .TLF files for transfer layouts used in LX=Ledger
Export. However, the upgrade may require some alterations to your macros
before they perform correctly.
F Note: It is not possible to restore from backups made using the multi-volume
backup function BM in older versions of the software. You must make a
single volume backup of each file. Refer to your supplier.
You are now ready to load the new SunSystems 4.2.6 program files. It is advisable
to install version 4.2.6 into a new directory and to delete all the old program files
from the previous SunSystems program directory.
If you specify the same program directory as your previous version the installation
procedure overwrites all the files of the same name.
The installation process is fully automated, as detailed in the section Installing
SunSystems. You are strongly recommended to load the demonstration databases
when prompted, as these have been rewritten for version 4.2.6 and are designed to
help you familiarise yourself with the new functionality.
As tables may have changed between versions, all objects in the existing
SunSystems database must be deleted. The simplest way to do this is to drop all
objects in the USERS tablespace, then restore them using the instructions in the
subsection Restoring Data Tables.
Upgrading SunSystems 23
Warning: Decimal and Thousand Separators in JP=Journal Presets
If the following conditions apply, you should read the instructions in this subsection
carefully:
• You are upgrading from version 4.1.2b or 4.1.4
• You are using ‘.’ full stop/period as a thousand separator and ‘,’ comma as a
decimal separator in JP=Journal Presets.
Having followed the upgrade procedure, you must perform the following steps
before you restore your data files:
1 Using FB=File Backup/Restore, select Restore and leave the Database Code
box blank. Enter Y-Yes to restore the installation file, report format file and
data dictionary file. You must now exit and restart SunSystems.
2 If you have the Multi-Lingual module, choose LD=Language Definitions and
Examine the Language Code associated with this operator. You can check
OD=Operator Definitions if you are uncertain which language to view. Make
a note of the entries in the Decimal and Thousand Separator boxes, and Amend
both boxes to blank.
3 In DB=Database Definitions, Examine each Database Code. Make a note of
the entries in the Decimal and Thousand Separator boxes, then Amend the
Decimal Separator to ‘.’ full stop/period, and the Thousand Separator to ‘,’
comma.
4 You can now return to FB=File Backup/Restore and continue restoring your
data files. When they are all restored, use DB=Database Definitions and
LD=Language Definitions and return the Decimal and Thousand Separator
boxes to their original settings.
Once version 4.2.6 is loaded and you have created the SunSystems Oracle database
(or dropped all objects in the SUN schema if you are retaining your database
configuration), you can begin to restore your data. Because of the changes in
version 4.2.6, there are several considerations concerning the demonstration
databases and your report and document formats. You need to complete the
following steps:
1 Log in to SunSystems version 4.2.6 as SuperUser SUN. A warning message is
displayed. Refer to the instructions in the section Logging in to SunSystems to
create a default installation table.
2 In DB=Database Definitions amend the default database definition record (this
has a blank database code) so that it points to your old backup directory.
Upgrading SunSystems 25
If you are upgrading from a version prior to version 4.0 then your old ID=Installation
Data records are used to create the default DB=Database Definitions and
OD=Operator Definitions records.
See the Reference Manuals for further information about SunSystems reference
functions.
Budget Tables
The budget tables are not offered for restoration until the reference data for that
database has been restored. If you have upgraded from a version prior to version
2.4.4, you must create a BD=Budget Definitions record before you can restore
your budget tables.
Operator Permissions
In SunSystems version 4.2, the function OP=Operator Permissions has changed
considerably from versions prior to 4.1. Each operator Id now belongs to an
Operator Group. SunSystems is issued with a default group defined as ‘ ’ space.
This group has no restrictions, so members of this group can access all functions
and all types of data.
Operator Ids who have no previous restrictions are automatically added to the
default permissions group. Their Operator Group is set to ‘ ’ space. These operators
still have no restrictions.
Operator Ids which did have permissions defined are handled as follows:
The operator Id is added to an Operator Group with the same three character code
as the operator Id. This new Operator Group is created automatically. The new
Operator Group retains the same permissions and includes all the databases to
which that operator previously had access.
In version 4.2 operator permissions previously applied to DD=Document Definition
are transferred to RD=Report Definition. If an operator did not have permission
to use DD=Document Definition, he will not be permitted to access RD=Report
Definition after the upgrade.
Upgrading SunSystems 27
Chart of Accounts and Item Records
When you upgrade from version 4.0.1 or earlier, you have the option to move the
data stored as Comments to two new boxes. This affects the function CA=Chart
of Accounts where data can be moved to the Tax Code box. A similar feature is
available in SunBusiness. The previous entry in IR=Item Records in the Comments
Box can be moved to Commodity Code.
When you use FB=File Backup/Restore to restore your reference tables, a message
appears, for example:
UPDATE CHART OF ACCOUNTS TAX CODE FROM EXISTING COMMENTS FIELD (Y/N)?
Enter Y-Yes to move your data or N-No to leave the records as they are.
Report Definition
In SunSystems 4.2, Report Definition now processes Ledger Transaction Financial
and Other Amounts as signed numeric values for all Report Types and in all
circumstances, therefore debits will be negative. You should review any upgraded
Report Formats and amend them to cater for this change, although this is only
necessary where dealing with Ledger Transaction Financial and Other Amounts
as subjects of comparative statements.
This section describes the main files which comprise SunSystems, and where they
should be located. See Appendix B: Filenames for a full listing of files and their
descriptions.
PROGRAM FILES
SunSystems program files are loaded into a single directory known as the
SunSystems program directory. Before starting the installation you must decide
on the location of the program directory. Throughout this manual the program
directory is referred to as $SUNDIR.
OTHER FILES
System File
The system file SSSYSTEM.DAT must be located in the SunSystems program
directory. It contains information regarding the following:
• The SunSystems serial number assigned to your company
• The modules you are licensed to use
• The number of users who can simultaneously log in to SunSystems
• Your company name
• The operating system you are running on.
Data Tables
Reference Data
The reference tables contain the chart of accounts, asset details, item records,
analysis codes, conversion records, and other information entered from the reference
functions. A full list of reference functions is provided in the section Actions in
the SunSystems Reference Manuals.
Ledger Data
The ledger table contains the active SunAccount transactions (i.e. transactions
which have not been cleared down). Other SunAccount data is also stored in the
journal hold table, the budget tables and archive tables. The ledger table is used
by all three SunAccount modules: Ledger Accounting, the Fixed Asset Register,
and Corporate Allocations.
Backup Files
SunSystems has its own FB=File Backup/Restore function. This option allows
you to take a backup copy of the data tables. The SunSystems FB=File Backup/
Restore facility creates an ASCII text file which can be examined with a word
processor or text editor.
Work Files
Work files are, by definition, temporary files which are deleted and re-created as
necessary. Certain work files are deleted when the application terminates or when
a similar file is required again. If, for any reason, SunSystems shuts down
abnormally, you are advised to delete all the work files.
The work files should be located in an exclusive directory because they are then
easier to monitor; the default is $SUNDIR/work. Before upgrading to a new
version of SunSystems you must delete all remaining work files. The SunSystems
function OD=Operator Definitions allows you to specify individual work file
directories for each of your operators.
Other work files are created when an operator logs in, and are subsequently deleted
when they log out. These are used by FREEFORMAT macros (SSWM files), and also
the QUERY tool (SSWN files) in SunSystems. These work files are stored by default
in the program directory.
You are advised to make use of a SUN.INI file which is located in the program
directory. The following extract is taken from the SUN.INI supplied with
SunSystems:
[SUNSYSTEMS INITIALISATION]
sysdata=
syswork=
Please note the following:
• Data in [ ] square brackets is for information only
• The sysdata line indicates where the report format file SSREPORT and the
data dictionary file SSDDICTY are held
• The syswork line indicates where the temporary work files SSWM-xxx and
SSWN-xxx (where xxx is the operator Id) are held. These files are used by
the FREEFORMAT and QUERY facility
• The directory path names can be a maximum of ten characters in length.
Example:
From the $SUNDIR directory, type:
mkdir sysdata syswork
chmod 777 sysdata syswork
Then edit SUN.INI to read:
sysdata=./sysdata/
syswork=./syswork/
Using SUN.INI 33
Running SunSystems
ORACLE_HOME=/home/oracle
ORACLE_SID=SUNSYS
SUNDIR=/home/sun426
Note 2
COBDIR=$SUNDIR/lib/cobol
LD_LIBRARY_PATH=$COBDIR Note 3
Note 10
LD_LIBRARY_PATH_64=$COBDIR/lib
LIBPATH=$COBDIR/lib Note 3
SHLIB_PATH=$COBDIR/lib Note 3
COBTERMINFO=$SUNDIR/lib/terminfo Note 4
COBSW=-iFl0+B Note 5
dd_ls=”<$SUNDIR/ssls.sh” Note 7
dd_data=$SUNDIR/data/ Note 8
dd_work=$SUNDIR/work/
dd_back=$SUNDIR/back/dd_print=$SUNDIR/print/
cd $SUNDIR
./SSMM $*
Note 1: NLS is Oracle National Language Support. See your Oracle
documentation for more information on this.
Note 2: The environment variable COBDIR tells the COBOL Run Time
System (RTS) where to find screen configuration files (COBOL ADIS files)
and the cobkeymp it needs for mapping the terminal and keyboard.
Note 3: LD_LIBRARY PATH is only required for SCOUNIX or SVR4-
based platforms. LIBPATH is only required for AIX. SHLIB_PATH is
only required for HP-UX.
Note 4: Information about the COBTERMINFO variable is provided in the
subsection Configuring the Terminal Display.
Note 5: The COBSW (COBOL Switch) environment variable controls the
COBOL programs as follows: -i stops keyboard interrupts; -F allows
intermediate code compatibility; l0 frees memory when exiting a program;
and + B allows non-database records to be read even if they are
simultaneously being updated.
Running SunSystems 35
Note 6: The lp command and dd_lp variable are covered in the section
Printing from SunSystems.
Note 7: The ssls.sh script is called whenever an ‘*’ asterisk is entered
in VR=View Stored Report.
Note 8: This dd_ method of accessing data directories allows path names
of more than 10 characters in length and is set up automatically on loading
the system.
Note 9: Recommended file permissions are provided in the section File
Permissions and Ownership.
Note 10: LD_LIBRARY_PATH_64 is required for 64-bit SUR4-based
platforms used for Oracle 9i releases of SunSystems.
When you install SunSystems, the directories print, work and back are created
beneath the $SUNDIR. These are the default directories for print files, work files
and backup files respectively. However, if you anticipate having large files in any
of these directories, you may want to divide them between different UNIX
partitions. The locations for the backup files can be entered in DB=Database
Definitions, and the locations for the print and work files can be entered in
OD=Operator Definitions with SunSystems.
In both these functions, you must enter the directory path either as an absolute
pathname or as a relative pathname. SunSystems limits you to a ten character
specification.
Example
The work files for user U1 are to be stored in /home1/sunwork and the work
files for user U2 are to be stored in /home2/sunwork.
Within the SunSystems function OP=Operator Definitions for operator U1 enter:
Work File Drive <wrk1/ >
This subsection describes the process of configuring the system so that it gives the
correct instructions to display data on the screen.
The COBOL Run Time System (RTS) must recognise the particular CRT (video
screen) being used. The RTS must be able to use terminal capabilities such as
cursor addressing and highlighting, the terminal control strings for which vary
greatly from one terminal type to another.
The RTS has been written so that it may be used with a minimum of special action
to interface with the specific terminal being used. The terminal type is established
from the TERM environment variable, which in turn should be established by the
shell during the login process.
Screen Configuration
A terminfo database directory is supplied with SunSystems. $SUNDIR/lib/
terminfo is accessed via the COBTERMINFO variable in the $SUNDIR/bin/
SUN script. The structure is the same as the UNIX /usr/lib/terminfo, but
the entries it contains have been specially compiled to work with SunSystems
graphical interface. To change the TERM environment variable, type:
TERM=vt100
export TERM
This causes SunSystems to look for an entry:
$SUNDIR/lib/terminfo/v/vt100
Running SunSystems 37
Appendix F: terminfo provides further information on building terminfo
emulation files, and lists the entries needed for a SunSystems interface. In addition,
the file $SUNDIR/lib/terminfo/terminfo.sun contains the source listing
for each supplied entry.
The SunSystems function TD=Terminal Definitions allows you to mix colour and
monochrome terminals and also to use terminals of different line and column
lengths. The number of lines displayed for the default terminal is 24 (the default
terminal code is set to ‘ ’ space). Setting the number of lines to 25 displays messages
to the terminal without overwriting the selection text and is therefore recommended
for terminals which can support this feature.
Whichever you choose, it is important that the following three variables coincide:
• Number of lines in the terminal setup (usually altered by pressing the SETUP
key or the SHIFT and SELECT keys)
• The lines# field in the compiled terminfo entry (which must be either lines#24
or lines#25). Appendix F: terminfo gives more information on how to alter
terminfo files
• The entry you make in the box lines (24/25) within TD=Terminal Definitions.
If these do not coincide, you may find that your terminal display constantly omits
the top line and the screen text becomes garbled.
The values sent by keyboard function keys differ depending on the personality or
emulation of the terminal. A selection of the most commonly used terminal
emulations and the associated function key values is provided with SunSystems
and SunQuery. However, if a function key is not responding within either package,
the following information will help you with the configuration.
Some function keys are preset by the hardware and used by the operating system.
These keys cannot be used by SunSystems. Other keys have no value strings
attached to them and similarly can not be used by a software package. If you are
using a PC emulation package to connect to UNIX, consult your emulation
documentation to ensure the keyboard is configured correctly.
Before trying to map a function key for use within SunSystems, make sure it
sends out an escape sequence at the UNIX prompt. This normally begins with a
^[ escape sequence followed by a string. For example, when using an ANSI
emulation, pressing F1 ENTER should result in the message:
^[[M: not found
Escape 0 Esc
Help? 1 F1
Lookup = 2 F2
Duplicate. 3 F3
FreeFormat\ 4 F4
Query& 5 F5
Shorthand~ 6 F6
Duplicate to end: 7 F7
Calculator@ 8 F8
Context 9 F9
Action bar 10 F10
Down line/null accept 13 DownArrow
Backtab 14 UpArrow
Left arrow 15 LeftArrow
Right arrow 16 RightArrow
Page up 17 PageUp
Page down 18 PageDown
Insert Turn On Insert Mode
at screen level
Ctrl-T Toggle between Insert
and Overstrike at
the screen level
Running keybcf.sun
When you use keybcf.sun, you are presented with the keyboard configuration
menu. The keybcf.sun menu screen shows you:
The file which holds the keyboard mapping is:
/home/sun426/lib/cobol/cobkeymp
Running SunSystems 39
You are provided with the following options:
Amend the existing keyboard mapping file
Create a new keyboard mapping file
Retrieve and amend the issue keyboard mapping file
Enter number of option required (1-3) or x to exit:
F Note: If you are upgrading and have not run the createdb.sh script as
described in the section Upgrading SunSystems, then manually create the
SUN operator with the same password used in your SunSystems database.
5 Create the SunSystems database DEM using FC=File Creation.
You can now create your own SunSystems databases using the FC=File Creation
function within SunSystems.
SunSystems creates files as Oracle tables with default storage parameters. If you
need to customise these tables based on your data volume before using R-Restore
in the SunSystems FB=File Backup/Restore function, follow the instructions below:
svrmgrl
connect sun/sunsys
select * from user_tables;
Logging in to SunSystems 41
Check the sizes; you can change the storage parameters of the tables to suit your
requirements. See the section Installing SunSystems, subsection Runnning Oracle
Scripts for more information on changing storage parameters.
F Note: Although you can use Restore to create tables, if you do not first
create the reference tables using FC=File Creation, then the SunBusiness
transfer tables are not created.
See the section Running SunSystems for information on configuring your display
and keyboard.
You should read the following sections of the Reference Manuals for information
on important areas involved in the initial setup of SunSystems:
• Operator Definitions. Describes how to set up OD=Operator Definitions, their
passwords, location of print and work files, etc.
• File Creation. Enables you to create the necessary data tables for a new database
• Terminal Definitions. Enables you to define your terminal type, the colours
you wish to use, etc.
• Printer Definitions. Enables you to define the printer configurations you use.
This option is associated with CS=Control Sequence Definitions
• Operator Permissions. Enables you to apply various levels of security to your
databases, in conjunction with DA=Data Access Groups.
Serialisation
If you are installing SunSystems for the first time, you need to serialise the software
in order to access each of the SunSystems modules. If your system has not been
serialised, the function FB=File Backup/Restore is limited. Only the reference
file is offered for processing.
You may not need to serialise if you have only requested a demonstration copy of
SunSystems. This allows you to experiment with all modules, but restricts the
dates you can enter and prohibits you from creating new databases. If you are
licensed to use SunSystems, you will have full access to those SunSystems modules
that you ordered, as well as the demonstration database.
The instructions for serialisation are provided with the issue media. Having typed
SUN from the appropriate directory, you are prompted for an operator Id. Type
sun to log in as SuperUser SUN with the password specified in the script file
dbbuild.sql, accept the default date by pressing ENTER, and then type ZS
followed by ENTER.
Logging in to SunSystems 43
File Permissions and
Ownership
The SunSystems installation script gives full permissions (chmod 777) to all
files and subdirectories beneath the $SUNDIR directory. This does not include
the program files (.so) which should remain read only. Individual file permissions,
their owners and groups can be changed to reflect your own system security and
user structure.
All files need read permission for each UNIX user who intends to use SunSystems;
the files SSMM and ssls.sh need execute permission, and the following files
and directories need write permission:
SSREPORT
SSREPORT.idx
SSSYSTEM.DAT
*.MDF (FREEFORMAT macros)
$SUNDIR/work
$SUNDIR/print
$SUNDIR/back
all database files (held by default in $SUNDIR/oradata/dbs)
The data dictionary files SSDDICTY and SSDDICTY.idx should remain read
only.
The installation script also contains the command umask 000. This ensures that
files created which may be needed by others users (transfer files, for example), are
given write permission.
However, some work files are indexed sequentially and can only be created with
the permissions rw-rw-r--. This is a restriction of the C-ISAM used by the
UNIX operating system to create indexed sequential files.
For this reason, we recommend that all SunSystems users are a member of the
same UNIX group.
For general information on the creation of user and group accounts and privileges,
and on altering file permissions, consult your UNIX documentation.
F Note: If you intend using the Business Analyser facility you must use
Graphical Client as it does not work on character-based terminals.
You need approximately 5Mb of free disk space and at least an additional 8Mb of
RAM on each PC.
F Note: Your PC must have Internet Explorer 4.0 (or later) installed if you
want to use Business Analyser.
Before you can install SunSystems Graphical Client you must ensure that the
UNIX host has been configured to enable communications between the PC and
the host.
The Systems Administrator must perform the following tasks:
• Check that the /etc/services file includes the line
mfcobol 86/udp
F Note: This line should have been inserted automatically by the installation
script, if it was not already present.
• Run the script $SUNDIR/bin/suncci. This loads the files ccitcp2 and
SSMASTER into memory as background processes using the nohup command.
F Note: The installation script can set this to run automatically whenever the
machine is rebooted.
F Note: All files created on the host via the Graphical Client take their
ownership from SSMASTER, which is the Oracle user by default.
This section describes the installation procedures for Windows NT, and Windows
9x.
First, you must ensure that the IP address of the UNIX host and its name are
defined in the HOSTS file on your PC. This file is located in the TCP/IP home
directory.
A typical entry would read:
unixbox 129.153.162.16
Alternatively, you must ensure that the host name can be resolved by your particular
method of names resolution, for example DNS.
Edit the file SUN.INI in your graphical client directory and add the line
sun=</directory name>/SUN
where directory name is the equivalent of $SUNDIR/bin. For example:
sun=/home/sun426/bin/SUN
If you chose to copy the sun script to /usr/bin the path name should be
sun=/usr/bin/SUN
When complete, you can test that your installation has been successful by loading
and running SunSystems.
Once the software is installed, click the SunSystems icon, or select it from the
taskbar in Windows. There may be a delay of a few seconds while the connection
is made.
Running Multi-Sessions
A maximum of nine sessions of SunSystems Graphical Client can be run
concurrently on each PC.
Printing
All SunSystems files created via the Graphical Client are placed on the host. For
this reason, all .PRN files requested for printing are sent to the UNIX spooler and
not to a printer attached to the PC. See the section Printing from SunSystems.
TROUBLESHOOTING GUIDE
This subsection is designed to help you find solutions to problems you may
encounter with SunSystems Graphical Client.
Is the network responding?
Use telnet or ping to test connection to the host.
Are the daemons SSMASTER and CCITCP2 loaded on the host?
To make sure, at the UNIX prompt use the following command:
$SUNDIR/bin/suwho
The two filenames should be returned, for example:
# suwho
UID PID PPID C STIME TTY TIME CMD
root 11115 1 0 Feb 22 ? 0:03 ./ccitcp2
oracle 11121 11119 0 Feb 22 ? 0:00 ./
SSMASTER
Does the /etc/hosts file include your PC address and name?
To make sure, at the UNIX prompt use the following command:
pg /etc/hosts
Check that it has been edited correctly.
Does the CCI.INI file on the PC contain the correct host name and address?
This file is placed in the directory C:\WINDOWS. Here is an example of CCI.INI:
[ccitcp-base]
CCITCP2=unixbox
name=John Smith
Does the SUN.INI file contain the correct path for the sun script?
There is an option to write to log files on the PC and/or the UNIX host. Edit
SUN.INI and create SSMASTER.INI on the PC and UNIX machine respectively,
to include the following line:
This section details the procedures you must follow in order to produce hard copies
of various listing and reports, as well as documents such as invoices, cheques and
statements from SunSystems.
F Note: You should use a PCL printer for producing output from SunSystems.
If you attempt to print to a postscript printer, the output may be truncated.
SunSystems allows you to store reports using store on disk. This produces a file
rather than sending the report directly to the printer. The method of storing reports
is described in the Reference Manuals section Actions.
The purpose of storing reports is to allow you to display them on the screen before
printing, to check that they are as required, and to allow you to print them later if
the printer is currently in use. You can also edit the reports with a UNIX editor or
a word processing program before printing, thereby including, for example,
footnotes or additional page headings.
Within SunSystems you can view and print stored reports. However, you cannot
change them. Full details of the VR=View Stored Reports function are given in
the Reference Manuals. Other methods of displaying and printing the reports
outside SunSystems are described in the following sections.
Stored reports are already formatted by the system with page headings and correct
page length. To print them directly use the UNIX spooler lp. It is important to
use this in a multi-user environment since it forms a queue of reports to be printed
when more than one request is made.
lp CAJLP1.PRN
If the print file CAJLP1.PRN is no longer required the command rm CAJLP1.PRN
must be used. Semi-automatic printing can be achieved by editing the SUN file,
and adding this as the last line:
lp print/*.PRN &
F Note: SunSystems 4.2.6 uses the ISO 8859P1 character set so the printer
must also be configured to use this character set, otherwise reports may
not print correctly. See examples below.
By default the printer will treat a Carriage Return (CR) as literally a carriage
return, and a Line Feed (LF) as literally a line feed. This is not how UNIX operates.
In UNIX LF actually means CR+LF so the printer need to be set up accordingly.
See “Correct Line Termination for UNIX” in the examples below.
These example control sequences are also supplied with the demonstration database
DEM.
The control sequences have not been combined. This makes it easier to change
them within the CS=Control Sequence Definitions screen. They can be combined
if you need to add additional sequences.
F Note: The order in which the sequences are entered on the Control Sequence
Definitions screen is important, as a particular escape sequence may depend
on a previous one.
The Lines per Page box in the Printer Definitions screen specifies how many lines
are printed before SunSystems prints its heading lines. The lines per page specified
by the escape sequences in CS=Control Sequence Definitions determines how
many actual physical lines are printed on a sheet of paper before a page throw
occurs. In order to have the heading lines coincide with the page throw (in other
words, to avoid page slippage) the number of lines specified in PD=Printer
Definitions must correspond to the number of lines specified in the associated
escape sequences.
Portrait Compressed
027 069 Reset
027 038 107 050 071 Correct Line Termination for UNIX
027 040 048 078 ISO 8859 P1 Character Set
027 038 108 048 079 Orientation Portrait
027 038 107 050 083 16.67 Typeface
027 038 107 055 072 7/120" HMI
027 038 108 055 046 055 055 052 053 067 Set VMI (7.7745)
027 038 108 054 054 070 Text Length (66 Lines)
Again ensure the PD=Printer Definitions Lines per Page box is set to 66.
Landscape Normal
027 069 Reset
027 038 107 050 071 Correct Line Termination for UNIX
027 040 048 078 ISO 8859 P1 Character Set
027 038 108 049 079 Orientation Landscape
027 038 108 055 046 055 055 052 053 067 Set VMI (7.7745)
027 038 108 052 050 070 Text Length (42 Lines)
Ensure PD=Printer Definitions Lines per Page box is set to 42.
F Note: These control sequences determine the number of lines printed before
a page throw. If you want to change this parameter you will have to
substitute the relevant Text Length escape sequence (this information is in
your printer manual) and change the Lines per Page box in PD=Printer
Definitions.
F Note: The VMI specifies the gap between the lines. If there is a conflict
between the VMI and the Text Length, the Text Length will be ignored. In
this case, you will also have to adjust the VMI. Refer to your printer manual
or printer supplier in order to do this.
BACKUP ROUTINE
An Oracle database backup should be taken, ideally, every day. This is the
recommended method to backup your SunSystems data. The SunSystems function
FB=File Backup/Restore takes much longer than the database backup and is used
primarily for backing up data prior to an upgrade or for transferring SunSystems
data to a different database or operating system. It should not be used for every
day backing up.
Database backups should be stored on a separate drive to that of the database, so
in the event of a disk failure, both are not lost. Database backups should also be
included in your regular operating system backup schedule.
See your Oracle documentation for more information on database backups.
The size of the SunSystems database (in USERS tablespace) should be checked
regularly. If the amount of free space falls below 20% of the total size, you must
plan for immediate expansion.
IMPROVING PERFORMANCE
Device Management
There are a number of ways of improving performance through device management:
• Manually distributing I/O across disks
• Hardware-based RAID disk striping
• Disk mirroring.
Disk Mirroring
This is a method of providing fault tolerance whereby data is duplicated by writing
it to two mirrored disks. If one fails then the other one is used so that the system
can continue. This can have a beneficial effect on read performance as data can
be read from both disks. However, write performance can suffer and also this
method uses a lot of disk space since it is only 50% utilised.
Memory
This can have a major impact on the performance of Oracle applications. One of
the major time consumers is disk I/O. Oracle keeps data that has already been
read in memory for as long as possible until the memory is required for another
process. If the data is still in memory, then any subsequent access to the data will
not require a physical I/O from disk, only a logical I/O from memory which is
much faster. It therefore follows that, whilst memory is a bottleneck, the more
memory you have available to Oracle, the better performance you will achieve.
Server CPU/SMP
The processor on the server has to handle all the processing work Oracle does.
The faster your processor, the better the system will perform. Use of SMP with
multiple processors also has a very beneficial effect on performance, as Oracle is
able to multi-thread.
You should be able to identify whether the CPU is a bottleneck by monitoring
your system and thus whether an extra processor or processors would benefit
performance.
Provided you have ample memory, multiple CPUs, and can distribute your database
files across multiple disks, you should consider installing the Oracle Parallel Query
option to further improve performance. See the Oracle documentation for further
information.
SunSystems Configuration
Operator Permissions
Extensive use of Operator Permissions within SunSystems has an impact on
performance due to the additional security information which has to be looked up.
Masking
The facility in SunSystems to use masking when entering selection criteria for
reports is a very useful one. However, in some cases it can result in a less efficient
query being sent to the database which may adversely affect performance.
Audit Control
Extensive use of Audit Control within SunSystems has an impact on performance
due to the additional tracking information which is logged to disk for each audit
controlled element.
This transfer file is used to import transactions into SunAccount, using the
JI=Journal Import function. A table of this format is also generated by SunBusiness
in order to transfer data from SunBusiness to the SunAccount ledgers. JI=Journal
Import can accept transfer files in the formats: SAF, SBF and PCF, from previous
versions of SunSystems.
The transfer table layouts used by SunBusiness are provided in the sections
Movement Import and Sales Import in the SunBusiness Reference Manual.
The same layout is created when you backup the ledger and budget tables in
SunAccount (backup files are created by the FB=File Backup/Restore function).
However, it contains a control record which is not required for JI=Journal Import
files. The filenames of these backup files are given in Appendix B: Filenames.
The SAF format transfer file may be created by any application which is able to
present it in ASCII text format.
This layout should be used for every transaction that is to be imported into Ledger
Accounting, Corporate Allocations and the Fixed Asset Register. Remember
that the debits and credits should balance to zero.
Fields which are not used should be space filled.
Filler 1 32 Space
Record Type 33 1 =C
Highest Journal Number Used 34 7
Last Cleardown Sequence Used 41 5
Filler 46 2 Spaces
Language Id. 48 2
Filler 50 463 Spaces
Accounting Transaction
Item Start Position Length Comments
This appendix gives a list of the file and table names used in SunSystems. Note
that nn represents the Language Code element of the names. The SunSystems
application consists of a large number of small programs and files, described in
the following table:
Contained in $SUNDIR/lib/cobol
The exact contents of this directory may change with different releases of the
COBOL. Some systems may have extra subdirectories coblib, dynload, lang
and bin, which are further parts of the COBOL package.
ADISCTRL COBOL Accept/Display program
keybcf.gnt Keyboard Configuration utility
cobver COBOL version file
rts32 COBOL RTS (Run Time System) File
cobkeymp COBOL Keyboard Mapping File
Contained in $SUNDIR/bin
SUN Script for running SunSystems contained in $SUNDIR/bin
keybcf Keyboard configuration interpreter program
keybcf.sun Script for the keyboard configuration program
ccitcp2 The cci daemon for Graphical Client users
suwho A script file to show the Graphical Client processes currently
running
suncci A script file to start Graphical Client daemon processes
sunmaster A script file called by suncci to start the SSMASTER daemon
Contained in $SUNDIR/lib/terminfo
terminfo source files e.g. vt100.src
a,v,w, etc. directories containing compiled terminfo code
The following application programs are loaded by the COBOL run time
environment according to which module you are in and which function you have
selected.
Programs are supplied as callable shared objects with suffix .so
The following tables provides a key to the lower case letters used in the
filenames:
1 Database Table
2 Indexed Sequential File
3 ASCII Text File
Filename Description
DATA FILES
Reference Tables
Filename Type File Description
Ledger Tables
SALFLDGddd 1 Ledger Table
SAbFLDGddd 1 Budget Table
SAPYDDBddd 1 Debit Table used by GD=Generate Debits
PRINT FILES
All print files may be deleted when the operators are logged out of SunSystems,
assuming the reports they contain are no longer required.
WORK FILES
All work files may be deleted when the operators are logged out of SunSystems.
Normally work files are created and deleted automatically by SunSystems.
This appendix describes errors which mainly result from the operating system
being unable to perform the process requested from the COBOL run time system.
There are two different forms in which these errors can be reported:
9-255
This is a catch-all code for unexpected database errors. If you receive this error,
add the line ERRORLOG=ON to your SUN.INI file and attempt to reproduce the
error. This setting in SUN.INI will output specific database errors to a log file in
the SunSystems programs directory in the format SQL-xxx.LOG where xxx =
operator Id. This information can, if required, be given to Systems Union support
in order to help identify the problem. Also check the Oracle Server error log to
see if the error has been recorded there.
This appendix provides a brief overview of table layouts and SQL queries.
Table Names
SunSystems allows the user to define multiple companies/ledgers which can be
consolidated in reporting. These companies/ledgers are known as databases in
SunSystems. Each database has its own set of tables, each distinguished by a
three letter alphanumeric code known as the Database Code. The database code is
the last three characters of the table name denoted by ‘ddd’.
So if SALFLDGddd stands for the ledger table, and the demonstration database or
company has the three letter prefix DEM, the ledger table is called SALFLDGDEM.
Likewise the ledger table for database/company 001 is called SALFLDG001.
Column Names
Wherever possible meaningful column names have been used.
Indexed Columns
All SunSystems tables have at least one index, and some have two or three. An
index may be created for a single column or for multiple columns. Indexed columns
are indicated at the end of each table listing.
The SQL indexes may be composed of a number of columns. Multi-column indexes
are called ‘segmented indexes’ or ‘composite keys’.
For most tables index 1 is a unique index, i.e. it allows no duplicates.
Join Columns
Columns used to join tables are usually given the same name. To join information
from the ledger table and the accounts table would require the SQL clause:
where SSRFACC.ACCNT_CODE = SALFLDGDEM.ACCNT_CODE
and SSRFACC.SUN_DB = ‘DEM’
Joins for analysis codes require the analysis category to be specified. For example,
to find the analysis row corresponding to ANAL_T2 you would have to use the
SQL clause:
where SSRFANV.CODE = SALFLDGDEM.ANAL_T2
and SSRFANV.CATEGORY = ‘T2’
and SSRFANV.SUN_DB = ‘DEM’
Other reference tables may require the combination of more columns to define a
unique reference.
HP9000
Since the COBOL was written primarily for ANSI conforming terminals, HP
terminals will not work properly without a major rewrite of the COBOL interface.
It is therefore strongly recommended that the supported HP terminals be used in
ANSI mode. The following table shows the recommended configuration:
If error 197 Screen Handling System Initialisation Error occurs when you are
using one of the supported terminals, the terminfo file is missing an entry for
home. Correct this by adding home=\E&aOyOC to the terminfo source file.
Compile that change with the tic command.
To configure a terminal for vt220 emulation, follow the instructions below:
1 Press the user system key.
2 Press F8 (config keys).
3 Press F5 (terminal config).
4 At the menu, move the cursor to TermMode in the bottom right, then press F2
until EM220 is displayed.
5 Press F1 (save config).
6 Press F8 (config keys).
If you are serialised for the module Process Manager, you need to enable the
Business Analyser function. This allows you to view data, errors and messages
generated as a result of running the rules which are defined in RS=Rule Sets. See
the SunSystems User Note Version 4.2.6 for more information on the Business
Analyser function.
There is now a new program, BFILES.EXE, which allows the user to define how
work files are to be handled on the network. This program resides, and must be
set up on, each client as follows:
1 Run the BFILES.EXE program. A dialog box appears entitled Work File
Access for Business Analyser.
2 For UNIX, you must select FTP as the Connection Type.
3 Now enter the appropriate information as detailed below:
Server Enter the network name of the UNIX server.
Directory Enter the full pathname for the directory containing
the operator’s work files. For example, /home/
sun426/work .
User Name Enter the UNIX login name, which is used by the
operator to log in to the UNIX server. This is not the
same as the SunSystems operator code.
Password Enter the UNIX login password, which is used by the
operator to log in to the UNIX server. This is not the
same as the SunSystems password.
4 When all the appropriate information has been entered, click the Test button to
ensure that the connection is successful. A message is returned, stating either
Pass or Fail.
5 Use the Clear button if the setup information needs to be amended or removed.
The Clear button actually removes information from the fields allowing it to
be re-entered.
To fully utilise the database lookup features of the Business Analyser tool, the
SunSystems client must have an ODBC data source defined to access the
SunSystems database. To configure this, the system administrator must run the
program BCONNECT.EXE. This program prompts for an ODBC data source name
plus a valid database username and password, and must be run on each client
machine. See Additional Client Software Requirements below for further details.
Business Analyser invokes BVIEW.EXE to connect to the server using the above
information. It finds the required file and copies it to the windows temp directory
and uses it from there. When BVIEW.EXE closes, any files updated by it are sent
back to the server. Please note that the program assumes that all file names are in
upper case.
When creating a TP=Transfer Profile for use with Business Analyser, the file
must be output to the work file location specified in:
• The user’s OD=Operator Definitions record
• The directory specified in the BFILES configuration
The directory must be the same in all three programs.
If you are using the ODBC connection as described above, each client requires the
Oracle Net8 client software component with the Microsoft supplied Oracle ODBC
driver. Please refer to your Oracle documentation for further information regarding
the installation and configuration of Net8 networking components.
SunSystems application programs rely upon the COBOL runtime system supplied
with each edition.
This runtime system is licensed automatically by the installation routine,
INSTALL.SUN.
If a new edition of SunSystems 4.2.6 is installed in a new directory, the location of
the software is moved, or a secondary install is required (for development or testing
purposes), then the license database becomes invalid.
This appendix describes how to avoid potential conflicts with the license database
in two possible scenarios:
Installing SunSystems 4.2.6 software in a new location, and installing an additional
version of SunSystems 4.2.6:
When updating SunSystems 4.2.6, it is advised to install it in a new location. The
new install attempts to configure the license database and bind it to the new directory
location. In other words, only one installation directory can be licensed at one
time. The existing license database does not allow overwriting. Therefore, it is
necessary, before running the installation routine, to remove the original license
details and other peripheral files from the system. As the root user, remove the
following directories:
/var/aslmfsem /var/mfaslmf
and the file:
/etc/sundir
Now installation can continue as normal; the license database is automatically
configured to reflect the new location of the SunSystems 4.2.6 software.
To allow multiple SunSystems installations to coexist successfully on a single
system, it is necessary to utilise the same license database for each installation
required. This is achieved by first removing the files described in step 1 above.
F Note: This operation is required for every subsequent install on the system.
If the latest edition installed is removed for any reason, then the database becomes
invalid. The SunSystems administrator must reinitialise the database to license
the remaining installations.
Index i
K R
keybcf utility 39 reference file 30
keyboard mapping 35 report
definition 28
L format file 26
Report Definition 22, 80
Ledger Accounting 30 root user 7
ledger file 30 run time system errors 84
licensing 21
log files, checking for errors 14 S
login screen 41
Sales Order data file 30
M Sales Order Processing 30
screen handling 102
mapping script(s)
keyboards 40 files 11
terminals and keyboards 35 running 13
memory requirements 5 supplied with SunSystems 12
modules, SunSystems 29 security 22, 32
multi serial number 29
lingual 25, 26 serialisation 29, 42, 43
volume backups 23 Service Packs 11
setting up 7
N shell script 34
number of users 29 spooling 31
SQL clause 101
O SSDDICTY 29, 80
SSFORMAT 22, 26
Online Help 2 SSINSTAL 25, 80
operator SSISSUE.MDF 27
Id 41 SSREPORT 22, 26, 29, 80
password 41 SSSYSTEM 29, 80
permissions 42 SSWM 31
Operator Definitions 42, 46 SSWN 31
Operator Permissions 27 STANDARD.MDF 27
Oracle Start of Session command 11
Scripts, Amending 14 stock take files 30
owners of files 44 stored report files 31
SUN.INI 32, 33
P SunBusiness 21, 64
suninstall script 32
path names 32 SunSpool script 23
PC, UNIX emulation on 38 SunSystems web site 3
performance 58 SuperUser SUN 24, 41, 42
Period Cleardown 22 support files 78
permissions 32, 44 system administrator 7
print file(s) 31, 82 system file 29
Printer Command Language (PCL) 50
Printer Definitions 42, 51, 54
printers 52
Process Manager 106
program files 68, 78
Purchase Order data file 30
Purchase Order Processing 30
U
umask command 44
UNIX editor 50
upgrading SunSystems 21
V
version of SunSystems 21
W
word processor 30, 50
work file(s) 31, 83
Index iii