9.168 PUT_PROCESS_ATTR

Note: Built-In Function Rules     Usage Options

Sets an attribute of a process definition that is being edited within an edit session previously started using the START_PROCESS_EDIT Built-In Function.

Attributes set or returned by this Built-In Function have the same editing and validation rules as the equivalent online facility provided in a full LANSA development environment.

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.

Arguments

No

Type

Req/ Opt

Description

Min Len

Max Len

Min Dec

Max Dec

1

A

Req

Name of attribute to change

Valid attribute names are:

DESC- Process Description

TYPE- Process Type

OPTCOM - Optimize for remote comms

ENAWEB - Enable for the Web

ENAXML - Enable for XML Generation.

1

10

 

 

2

A

Req

Value of that attribute is to be changed to.

Allowable values are as follows:

For attribute DESC:

Any valid new process description up to 40 characters in length.

For attribute TYPE:
SAA/CUA
ACT/BAR

For attribute OPTCOMM:
Y – Optimized for remote comms
N – Not optimized for remote comms

For attribute ENAWEB:
Y – Enabled for the Web
N – Not enabled for the Web

For attribute ENAXML:
Y – Enabled for XML Generation
N – Not enabled for XML Generation

1

256

 

 

 

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