Project

General

Profile

codepage-shared-run.p

Stanislav Lomany, 06/26/2019 08:46 PM

Download (753 Bytes)

 
1
function func1 returns char:
2
  message "func 1".
3
  return "UTF-8".
4
end.
5

    
6
function func2 returns char:
7
  message "func 2".
8
  return "UTF-8".
9
end.
10

    
11
function func3 returns char:
12
  message "func 3".
13
  return "UTF-8".
14
end.
15

    
16
function func4 returns char:
17
  message "func 4".
18
  return "UTF-8".
19
end.
20

    
21
def new shared temp-table tt1 no-undo field f1 as clob COLUMN-CODEPAGE func1().
22
def new shared temp-table tt2 no-undo field f2 as clob COLUMN-CODEPAGE func2().
23

    
24
def temp-table tt22 like tt2.
25

    
26
def new shared temp-table tt3 no-undo field f3 as clob COLUMN-CODEPAGE func3().
27
def new shared temp-table tt4 no-undo field f4 as clob COLUMN-CODEPAGE func4().
28

    
29
def temp-table tt44 like tt4.
30

    
31
create tt22.
32
create tt44.
33
                         
34
run "codepage-shared.p".