HiRDB Dataextractor Version 8 Description, User's Guide and Operator's Guide
This section explains the HiRDB Dataextractor startup and termination procedures when the OSI protocol is used to execute data extraction, data import, and file creation with a mainframe database.
When the OSI protocol is used, the host used to start HiRDB Dataextractor depends on the HiRDB Dataextractor facility being used. Table 6-1 shows the host used to start HiRDB Dataextractor when the OSI protocol is used.
HiRDB Dataextractor is started by the startup user. You should note the following:
Table 6-1 Host used to start HiRDB Dataextractor when OSI protocol is used
| Type of HiRDB Dataextractor | Source system | Target system | File creation system |
|---|---|---|---|
| Host used for startup | For a HiRDB/Single Server:
|
For a HiRDB/Single Server:
|
Host used to create the file(s) and which is connected with the OSI protocol |
* If the system manager is not connected with XDM/XT by the OSI protocol, the TCP/IP protocol is used to establish communication between the system manager and the target server to which data is sent. For this reason, to start and terminate the HiRDB Dataextractor running on the system manager, use the procedures described in 6.2.1 Starting and terminating HiRDB Dataextractor when using TCP/IP.
When the OSI protocol is being used, you can start HiRDB Dataextractor either automatically or manually.
To start HiRDB Dataextractor automatically, you must register to /sbin/rc a script for starting the shell that executes the xtstart command.
ln -s /sbin/init.d/XTS /sbin/rc2.d/S600XTS
#!/sbin/sh # # HiRDB Dataextractor Start # export XTTEMPNAM=0 /opt/HIRDBXT/bin/xtstart /HIRDBXT/user01/xtenv1 /HIRDBXT/user01/xtosi1
#!/sbin/sh
#
# HiRDB Dataextractor Start script
#
PATH=/usr/sbin:/usr/bin:/sbin
export PATH
rval=0
case $1 in
'start_msg')
echo "Starting HiRDB Dataextractor"
;;
'stop_msg')
echo "Stopping HiRDB Dataextractor"
;;
'start')
for start_file in ls /HIRDBXT/user01/xts ; do
if [ -x ${start_file} ] ; then
${start_file}
if [ $? !=0 ] ; then
rval=1
break
fi
fi
done
;;
'stop')
;;
*)
echo "usge: $0 {start|stop|start_msg|stop_msg}"
rval=1
;;
esac
exit $rvalYou can start HiRDB Dataextractor manually in the following cases:
/opt/HIRDBXT/bin/xtstart environment-variable-information-setup-filename communication-configuration-definition-information-filename
HiRDB Dataextractor terminates processing when it receives the SIGTERM signal.
To terminate only HiRDB Dataextractor:
All rights reserved. Copyright (C) 2007, Hitachi, Ltd.