9 236 TEMPLATE_ CLR_LST

LANSA Technical

9.236 TEMPLATE_@@CLR_LST

Þ Note: Built-In Function Rules.

Clears an application template list.

Application template lists are widely used by application templates to control and organize the generation of RDML code. They should not be confused with working lists or browse lists which are RDML level constructs used in normal RDML application.

This Built-In Function allows access to an application template list, thus providing a means by which information can be set up for (and thus communicated to) an application template that will be later executed via the EXECUTE_TEMPLATE Built-In Function to generate RDML code.

This Built-In Function can only be used against a function that has been previously placed into an edit session by using the START_FUNCTION_EDIT Built-In Function.

Special Note: This Built-In Function provides access to very advanced facilities that basically allow RDML functions to construct new RDML functions.

This is a very specialized area that requires very good knowledge of the LANSA product. Use of this Built-In Function in a "commercial" application (e.g. Order Entry) is not normal and should not be attempted.

Þ This is a Specialized Built-In Function for use in a Development Environment only.

For use with

LANSA for i

YES

Do not use on IBM i in an RDMLX partition.

Visual LANSA for Windows

YES

 

Visual LANSA for Linux

NO

 

 

 

Arguments

No

Type

Req/ Opt

Description

Min Len

Max Len

Min Dec

Max Dec

1

A

Req

Name of application template that will be used later via the EXECUTE_TEMPLATE Built-In Function.

1

10

 

 

2

N

Req

Number of application template list to be cleared.

1

2

0

0

 

 

Return Values

No

Type

Req/ Opt

Description

Min Len

Max Len

Min Dec

Max Dec

1

A

Req

Return code

OK = operation completed

ER = fatal error detected

2

2