Project

General

Profile

codepage-param.p

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

Download (670 Bytes)

 
1
def input parameter str as char.
2
def input parameter intgr as integer.
3
def input parameter intgr64 as int64.
4
def input parameter dec as decimal.
5

    
6

    
7
def input parameter istr as char init "val1".
8
def input parameter iintgr as integer init 22.
9
def input parameter iintgr64 as int64 init 33.
10
def input parameter idec as decimal init 4.4.
11

    
12

    
13
def temp-table tt no-undo field f1 as clob COLUMN-CODEPAGE str + "-" + string(intgr) + "-" + string(intgr64) + "-" + string(dec) + "-" +
14
                                                           istr + "-" + string(iintgr) + "-" + string(iintgr64) + "-" + string(idec).
15
                      
16

    
17
create tt. 
18
message get-codepage(tt.f1).