You are on page 1of 10

TECHNICAL COMMUNICATION No. TC0435 Ed.

01

OmniPCX 4400 Nb of pages : 9 Date : 27-03-2003

URGENT

NOT URGENT TEMPORARY PERMANENT

SUBJECT : NO DISPLAY OF ROOM NUMBERS ON HOTEL MANAGEMENT CONSOLE AND/OR


AHL BLOCKED

See attached document.

1
OmniPCX 4400
NO DISPLAY OF ROOM NUMBERS ON
HOTEL MANAGEMENT CONSOLE AND/OR
AHL BLOCKED

1. PROBLEM
No display of room numbers on hotel management console and/or AHL blocked; send of message
NACK in AHL frames (incident 2259).

2. CAUSE
The table HOTFOCLM.DAT related to hotel management can be corrupted on the disk; see also
technical communication TC0251. A reboot of the CPU is going to mount in memory corrupted
data.
Note
The HOTFOCLM.DAT table is available from Release 3.2 Support.

3. SOLUTION
Before any change of version on Hotel/Hospital installation with or not AHL, it is recommended to
check the HOTFOCLM.DAT table and the AHL.
CAUTION
Before performing the operations described hereafter, you should save the current data base.
Note
You can always carry out these operations after changing the version but they will require a
shutdown.
To check the content of the table on the disk, enter the command:

(1)xa001001> cdmao
/usr3/mao
(1)xa001001> echo "select * from hotfocl;" |cuser
->>

Two cases can occur:


1 Immediate display of a SQL –12030 error.

->> sql1(select * from hotfocl;) returned -12030


temps d'execution = 0.350

Ed. 01 / 27-03-2003 1 TC0435


OmniPCX 4400
NO DISPLAY OF ROOM NUMBERS ON
HOTEL MANAGEMENT CONSOLE AND/OR
AHL BLOCKED

2 Display of wrong content of the table.


In the example below, the Nb_Ch_Cli parameter defining the number of digits for is set to 0
instead of 5 or 8.

--> Unique_id v24_ordi v_secours justchord justadord etachord arrdepord


1> jusopord mesmevord mesrevord messuitord longjustord Nb_Ch_Cli bufsizord
2> ack_time interf_config
3> linf_param
4> slave_nr ext_appl_add
5> master_ip_add
6> prefix_filter all_tickets
--> 1 1 0 0 0 0 0
1> 1 5 0 0 0 0 0
2> 0 0
3> ''
Other example of
4> 0 ''
5> '' wrong content
6> 'ÿÿÿÿÿÿÿÿ' -1
Number of matching records = 1

As the parameter Nb_Ch_Cli =0 , the room numbers are no longer neither displayed on the
hotel management console nor sent on the frames to the external application.

3.1. Display of SQL –12030 error

− Display of SQL – 12030 error after checking the content of the HOTFOCLM.DAT table.

(1)xa001001> cdmao
/usr3/mao
(1)xa001001> echo "select * from hotfocl;" |cuser
->>

sql1(select * from hotfocl;) returned -12030


temps d'execution = 0.350

− Check if the table is known in the dictionary:

(1)xa001001> cuser
->> ctreedic

− Enter a "where" clause (for instance : where table_name= 'TOTO')

where table_name='HOTFOCL';

table, field, pos, type, lgth, idx, u_pos


temps d'execution = 11.950
->> .

The table is no longer known in the dictionary, therefore the hotfocl table can be
deleted.

TC0435 2 Ed. 01 / 27-03-2003


OmniPCX 4400
NO DISPLAY OF ROOM NUMBERS ON
HOTEL MANAGEMENT CONSOLE AND/OR
AHL BLOCKED

− Deletion of the hotfocl table.

(1)xa001001> ll HOTFOCL*
-rw-rw-r-- 1 mtcl tel 31744 Apr 3 2002 HOTFOCLM.dat
-rw-rw-r-- 1 mtcl tel 31744 Apr 3 2002 HOTFOCLM.idx

(1)xa001001> rm HOTFOCLM.*

(1)xa001001> ll HOTFOCLM.*
HOTFOCL*: No such file or directory

− Creation of the table with the fichges command.

(1)xa001001> fichges

AVAILABLE COUNTRIES
=============

ARGENTINA (AR) AUSTRALIA (AS)


AUSTRIA (AU) BAHRAIN (BH)
HUNGARY (HU) INDIA (IN)
: :
: :
SOUTH AFRICA (ZA) SPAIN (SP)
SRI LANKA (LK) SWEDEN (SV)
SWISS (CH) SYRIAN REPUBLIC (SY)
TAIWAN (TW) THAILAND (TH)
TUNISIA (TN) TURKEY (TR)
U.A.E (AE) UK (UK)
URUGUAY (UY) UNITED STATES (US)
VENEZUELA (VE) VIET NAM (VN)
YUGOSLAVIA (YU) ZIMBABWE (ZB)

Enter the country name symbol (0 to Quit)


Your choice: country code

The country chosen to initialize the empty database will be FRANCE (5).

Do you want to create all the data base (Y/N) ? n (answer NO imperatively)

0 : EXIT
1: numéros abrégés 2: num abreg adr IP
3: zone de numéros abrégés 4: catégories cnx, trsf,cnxdat
5: catégories PTT 6: catégorie SIO
7: classe d'exploitation 8: groupes PBX
9: numéros d'affaires 10: postes alarmes
11: joncteurs 12: recherche de personne
13: hotel : mots de passe 14: setup
: :
: :
53: groupes data 54: données hotel
55: données LINF hotel 56: SYMPAC
57: OCTEL 58: catégories de joncteurs
Choice : 55

Ed. 01 / 27-03-2003 3 TC0435


OmniPCX 4400
NO DISPLAY OF ROOM NUMBERS ON
HOTEL MANAGEMENT CONSOLE AND/OR
AHL BLOCKED

the table HOTFOCL is created

Choice : 0 EXIT

(1)xa001001> ll HOTFOCL*
-rw-rw-r-- 1 mtcl tel 33280 Mar 20 00:32 HOTFOCLM.dat
-rw-rw-r-- 1 mtcl tel 33280 Mar 20 00:32 HOTFOCLM.idx

(1)xa001001> echo "select * from hotfocl;" |cuser

--> Unique_id v24_ordi v_secours justchord justadord etachord arrdepord


1> jusopord mesmevord mesrevord messuitord longjustord Nb_Ch_Cli bufsizord
2> ack_time interf_config
3> linf_param
4> slave_nr ext_appl_add
5> master_ip_add
6> prefix_filter all_tickets
--> 0 255 0 0 0 0 0
1> 0 0 0 0 0 5 1
2> 5 0
3> ''
4> 0 '0.0.0.0'
5> '0.0.0.0'
6> '' 0
Number of matching records = 1
temps d'execution = 1.250

The initialization of the table is correct

(1)xa001001> shutdown –i (to mount the data of the table in memory)

(1)xa001001> fichges dump hotfocl (this command is used to display easily the data of
the
table on disk)
HOTFOCLM.dat
001 --> 0 255 0 0 0 0 0 0 0 0 0 0 5 1 5 0
1> 0 0.0.0.0
2> 0.0.0.0 0
1 rows have been read from file HOTFOCLM.dat.

− Manage the AHL parameters.

(1)xa001001> fichges dump hotfocl


HOTFOCLM.dat
001 --> 0 255 0 1 1 1 1 1 1 1 0 0 5 1 5 0
1> 0 0.0.0.0
2> 0.0.0.0 0
1 rows have been read from file HOTFOCLM.dat.

When the management is finished, the content of the table has changed.

TC0435 4 Ed. 01 / 27-03-2003


OmniPCX 4400
NO DISPLAY OF ROOM NUMBERS ON
HOTEL MANAGEMENT CONSOLE AND/OR
AHL BLOCKED

3.2. Display of the wrong content of the table


In the example below, the Nb_Ch_Cli parameter defining the number of digits for is set to 0 instead
of 5 or 8.
− Check the content of the HOTFOCLM.DAT table.

(1)xa001001> cdmao
/usr3/mao
(1)xa001001> echo "select * from hotfocl;" |cuser
->>

Display of the content.

--> Unique_id v24_ordi v_secours justchord justadord etachord arrdepord


1> jusopord mesmevord mesrevord messuitord longjustord Nb_Ch_Cli bufsizord
2> ack_time interf_config
3> linf_param
4> slave_nr ext_appl_add
5> master_ip_add
6> prefix_filter all_tickets
--> 1 1 0 0 0 0 0
1> 1 5 0 0 0 0 0
2> 0 0
3> ''
4> 0 '' Other example of
5> '' wrong content
6> 'ÿÿÿÿÿÿÿÿ' -1
Number of matching records = 1

The content is wrong.


− Check if the hotfocl table is known in the dictionary:

(1)xa001001> cuser
->> ctreedic

Ed. 01 / 27-03-2003 5 TC0435


OmniPCX 4400
NO DISPLAY OF ROOM NUMBERS ON
HOTEL MANAGEMENT CONSOLE AND/OR
AHL BLOCKED

− Enter a "where" clause (for instance : where table_name= 'TOTO')

where table_name='HOTFOCL';

table, field, pos, type, lgth, idx, u_pos


HOTFOCL Nb_Ch_Cli 12 0 2 0 -1
HOTFOCL Unique_id 0 0 2 1 -1
HOTFOCL ack_time 14 0 2 0 -1
HOTFOCL all_tickets 21 0 2 0 -1
HOTFOCL arrdepord 6 0 2 0 -1
HOTFOCL bufsizord 13 0 2 0 -1
HOTFOCL etachord 5 0 2 0 -1
HOTFOCL ext_appl_add 18 4 64 0 -1
HOTFOCL interf_config 15 0 2 0 -1
HOTFOCL jusopord 7 0 2 0 -1
HOTFOCL justadord 4 0 2 0 -1
HOTFOCL justchord 3 0 2 0 -1
HOTFOCL linf_param 16 4 80 0 -1
HOTFOCL longjustord 11 0 2 0 -1
HOTFOCL master_ip_add 19 4 64 0 -1
HOTFOCL mesmevord 8 0 2 0 -1
HOTFOCL mesrevord 9 0 2 0 -1
HOTFOCL messuitord 10 0 2 0 -1
HOTFOCL prefix_filter 20 4 8 0 -1
HOTFOCL slave_nr 17 0 2 0 -1
HOTFOCL v24_ordi 1 0 2 0 -1
HOTFOCL v_secours 2 0 2 0 -1
temps d'execution = 21.688

As the table is known in the dictionary, enter the command below in cuser:

->> drop table hotfocl;

temps d'execution = 0.297


->> .

x001001> ll HOT*
-rw-rw-r-- 1 mtcl tel 140 Nov 13 15:52 HOTSTATM.dat
-rw-rw-r-- 1 mtcl tel 1024 Nov 13 15:52 HOTSTATM.idx

HOTFOCLM.DAT and HOTFOCLM.IDX are no longer exist.

TC0435 6 Ed. 01 / 27-03-2003


OmniPCX 4400
NO DISPLAY OF ROOM NUMBERS ON
HOTEL MANAGEMENT CONSOLE AND/OR
AHL BLOCKED

− Creation of the table with the fichges command.

(1)xa001001> fichges

AVAILABLE COUNTRIES
=============

Enter the country name symbol (0 to Quit).


Your choice: FR pour France (Exemple)

The country chosen to initialize the empty database will be FRANCE (1).

Do you want to create all the data base (Y/N) ? n (answer NO imperatively)

0 : EXIT
1: numéros abrégés 2: num abreg adr IP
3: zone de numéros abrégés 4: catégories cnx, trsf,cnxdat
5: catégories PTT 6: catégorie SIO
7: classe d'exploitation 8: groupes PBX
9: numéros d'affaires 10: postes alarmes
11: joncteurs 12: recherche de personne
13: hotel : mots de passe 14: setup
: :
: :
53: groupes data 54: données hotel
55: données LINF hotel 56: SYMPAC
57: OCTEL 58: catégories de joncteurs
Choice : 55

the table HOTFOCL is created

The table is created.


− Checking.

x001001> ll HOT*
(101)xa001001> ll HOT*
-rw-rw-r-- 1 mtcl tel 33280 Mar 12 13:56 HOTFOCLM.dat
-rw-rw-r-- 1 mtcl tel 33280 Mar 12 13:56 HOTFOCLM.idx

Ed. 01 / 27-03-2003 7 TC0435


OmniPCX 4400
NO DISPLAY OF ROOM NUMBERS ON
HOTEL MANAGEMENT CONSOLE AND/OR
AHL BLOCKED

− Check the content of the table on the disk.

(1)xa001001> echo "select * from hotfocl;" |cuser

--> Unique_id v24_ordi v_secours justchord justadord etachord arrdepord


1> jusopord mesmevord mesrevord messuitord longjustord Nb_Ch_Cli bufsizord
2> ack_time interf_config
3> linf_param
4> slave_nr ext_appl_add
5> master_ip_add
6> prefix_filter all_tickets
--> 0 255 0 0 0 0 0
1> 0 0 0 0 0 5 1
2> 5 0
3> ''
4> 0 '0.0.0.0'
5> '0.0.0.0'
6> '' 0
Number of matching records = 1
temps d'execution = 1.250

L’initialisation de la table est correcte

(1)xa001001> shutdown –i (to mount the data of the table in memory)

(1)xa001001> fichges dump hotfocl (this command is used to display easily the data of
the
table on disk)
HOTFOCLM.dat
001 --> 0 255 0 0 0 0 0 0 0 0 0 0 5 1 5 0
1> 0 0.0.0.0
2> 0.0.0.0 0
1 rows have been read from file HOTFOCLM.dat.

− Manage the AHL parameters.

(1)xa001001> fichges dump hotfocl


HOTFOCLM.dat
001 --> 0 255 0 1 1 1 1 1 1 1 0 0 5 1 5 0
1> 0 0.0.0.0
2> 0.0.0.0 0
1 rows have been read from file HOTFOCLM.dat.

When the management is finished, the content of the table has changed.

TC0435 8 Ed. 01 / 27-03-2003

You might also like