21: l_proc varchar2(72) := g_package||'put_message';
22: l_next_pos number;
23: --
24: begin
25: hr_utility.set_location(l_proc, 5);
26: --
27: l_next_pos := global_message.count + 1;
28: global_message(l_next_pos) := p_message;
29: --
26: --
27: l_next_pos := global_message.count + 1;
28: global_message(l_next_pos) := p_message;
29: --
30: hr_utility.set_location(l_proc, 10);
31: return 0;
32: end put_message;
33: --
34: /* =====================================================================
40: --
41: l_proc varchar2(72) := g_package||'get_message';
42: --
43: begin
44: hr_utility.set_location(l_proc, 5);
45: --
46: return global_message(p_table_position);
47: --
48: end get_message;
55: --
56: l_proc varchar2(72) := g_package||'clear_table';
57: --
58: begin
59: hr_utility.set_location(l_proc, 5);
60: --
61: global_message.delete;
62: --
63: hr_utility.set_location(l_proc, 10);
59: hr_utility.set_location(l_proc, 5);
60: --
61: global_message.delete;
62: --
63: hr_utility.set_location(l_proc, 10);
64: end clear_table;
65: --
66: /* =====================================================================
67: Name : count_messages
71: --
72: l_proc varchar2(72) := g_package||'count_messages';
73: --
74: begin
75: hr_utility.set_location(l_proc, 5);
76: --
77: return global_message.count;
78:
79: end count_messages;