Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

7.130.1 WEBROUTINE Parameters

DESC

HELP

NAME

ONENTRY

OPTIONS

RESPONSE

SERVICENAME


Anchor
NAME
NAME
NAME

NAME is the unique name of the WebRoutine.  The name must be unique in the WAM. The name can be up to 20 characters long.

Anchor
DESC
DESC
DESC

Use the DESC parameter to write a brief description for the WebRoutine. It can be 40 characters long. By default, this description will be displayed on the output page.

Anchor
RESPONSE
RESPONSE
RESPONSE

Use the RESPONSE parameter to indicate a response type other than the default, which is to send a result document.

...

Response variable name: Enter the name of the variable for a LOB response. See LOB Data Types and Stream Files in the Web Application Module (WAM) Guide for details.

Anchor
OPTIONS
OPTIONS
OPTIONS

Only valid for RESPONSE(*JSON). Use the OPTIONS parameter to indicate whether the JSON response should include captions.

*METADATA: Include field/list captions in JSON response.

Anchor
HELP
HELP
HELP

Not implemented.

Anchor
SERVICENAME
SERVICENAME
SERVICENAME

A Service Name is unique to all WAMs, i.e. a Service Name can only be used once in a LANSA Partition. Once deployed, the WEBROUTINE may be invoked from the browser by providing just the Service Name and Partition keyword in the URL (without the additional keywords). A Partition keyword may be omitted if WAMs have been set up to always run in a configured partition.

Using a Service Name provides greater flexibility when deploying WAM applications. For example, it allows applications to be re-deployed to a different Partition, WAM or WEBROUTINE without having to modify any external URL references to it.

Anchor
ONENTRY
ONENTRY
ONENTRY

Is used to override the SessionStatus property setting for individual WEBROUTINEs.

...