B4AppD TDP
B4AppD TDP
B4AppD TDP
TDP Operations
After completing this appendix, you will be able to: Describe how the Teradata database is accessed through channel-attached clients. Discuss the function of the Teradata Director program (TDP) and how it processes parcels. Describe how Teradata returns answer sets to the client system. Describe how the Teradata database is accessed through network-attached clients. Discuss how to use session pools, including how to start and stop them.
Channel Environment
SYSTEM CONSOLE
AS
AS
( TDP)
Teradata Director
Program
CLI
CLI
CLI
CLI
Node
Channel Driver Software
HostNo 512
Gateway Software
HostNo 52
PE 16383
PE 16382
PE 16381
PE 16380
RDBMS
USER REGION
TDP REGION
APPLICATION
REQUEST BUFFER USER CODE REQ PARCEL (SQL TEXT) RESPOND PARCEL REQUEST PARCEL
TDP
RESPOND PARCEL
RESPONSE BUFFER
MESSAGE
OTHER REQUESTS
HEADER
CHANNEL BLOCK
CLI
Moves Parcels (SQL statements) into application REQUEST BUFFER. The RESPOND parcel indicates the size of the RESPONSE BUFFER.
PE RDBMS
PE
In a VM environment: Tdpid, TDPcommandtext Where: Tdpid is the four-character identifier for the TDP subsystem. TDPcommandtext is the syntax of the TDP command.
IFP
ATTach DETach Display STArt STOp
POOL
ENAble DISAble Display LOGOFF MODIFY STArt STOp
2PC
COMMIT ENAble IRF DISAble IRF DISPLAY INDoubt ROLLBACK
SMF
ENAble DISAble Display
QUEUES
Display
CELLS
Display ADD CELLS ADD XMSCELLS
LOGONS
DISAble ENAble
SESsion / JOB
TEST
EXITS
ENAble DISAble
TIME
ENAble DISAble
Display ENAble LOGOFF DISAble SET MAXSESS DISABLE SESSION RESERVE ENABLE SESSION RESERVE DISABLE SESSION DETAIL ENABLE SESSION DETAIL DISABLE SESSION STATUS ENABLE SESSION STATUS
AUTHORIZ
USERID ALL JOB
SAF
MODIFY DISABLE ENABLE
CHANNEL PROCESSORS
DISPLAY
SESSION PROCESSORS
DISPLAY
: : :
. ; POOL ID: POOL0002 SESSION NUMBERS 1288, 1289, 1290, 1291, 1292, 1293, 1294, 1295
TDP
.POOL ID: POOL0002 SESSION NUMBERS 1288, 1289, 1290, 1291, 1292, 1293, 1294, 1295
TDP
Using a session pool typically saves 2 to 3 seconds logon time. If all the sessions in the pool are active, additional logons fail. If sessions in the pool are disabled, logons fail.
TDP
PE
PE SESSION 1904
PE
PE
Disables Logons but does not end pool. Logs off unused sessions and disables new logons. When all sessions have logged off, the pool is ended. Logs off active sessions and ends pool.
LOGOFF POOL
CELLS
A warning message (TDP0021) displays when 80% of the cells of a certain size are in use. appearing when
D CELLS
TDP0501 TDP0528 TDP0528 TDP0528 TDP0528 TDP0528 TDP0528 TDP0528 CELSZ 00064 00128 00240 00256 00352 00992 12272 AVAIL INUSE 00062 00002 00050 00014 00032 00032 00320 00056 00480 00032 01331 00013 00009 00001 MXUSE GMAIN XMS #WAITS 00003 00000 00000 00000 00017 00000 00000 00000 00032 00000 00000 00000 00077 00000 00200 00000 00032 00000 00200 00000 00013 00000 00300 00000 00006 00000 00000 00000
ADD CELLS SIZE 256 NUMBER 1 This command adds an extent of sixteen 256 byte cells.
Review Questions
1. The Teradata Director Program (TDP) facilitates communication between LAN clients and the Teradata database.
2. WorldMark servers can use either ESCON or Bus and Tag channel connections to connect to a mainframe host. 3. You can enter TDP commands from MVS and VM consoles before the RUN command.
1. The Teradata Director Program (TDP) facilitates communication between LAN clients and the Teradata database.
2. WorldMark servers can use either ESCON or Bus and Tag channel connections to connect to a mainframe host. 3. You can enter TDP commands from MVS and VM consoles before the RUN command.