9.102 GET_PROCESS_ATTR

Note: Built-In Function Rules     Usage Options

Gets attributes 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 get

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

TOTFUN - Total associated functions

EXISTS - Checks for existence of function name specified in bytes 7 to 13 of argument (directly following the EXISTS string in bytes 1 to 6).

1

50

 

 

 

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

 

 

2

A

Req

Returned process attribute

For attribute DESC:

The 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

For attribute TOTFUN:

Character 3 value containing a number in the range 000 - 990.

For attribute EXISTS:
Y – Function name specified exists in the process
N – Function name specified does not exist in the process

1

256