SetTempTableInstance

Mon 01 January 2018

Syntax

SetTempTableInstance(instance_number)

Description

Use the SetTempTableInstance function to set the default temp table instance to the specified number for the processing of temporary tables. This default is used by all %Table meta-SQL references to temporary tables, and by all SQL operations. Generally, you use this function only when youâ ...

read more

SetThemeId

Mon 01 January 2018

Syntax

SetThemeId(theme_ID)

Description

Use the SetThemeId function to set the theme ID for the page or component so that proper theme style sheets get loaded.

Important! Use this function within fluid applications only.

Parameters

Field or Control

Definition

theme_ID

Specifies the theme ID as a string value.

Returns

None.

read more

SetTracePC

Mon 01 January 2018

Syntax

SetTracePC(n)

Description

Use the SetTracePC function to control PeopleCode trace settings programmatically. This is useful if you want to isolate and debug a single program or part of a program.

Note: If you’re using an API with the Session class, use the Trace Setting class properties instead ...

read more

SetTraceSQL

Mon 01 January 2018

Syntax

SetTraceSQL(options)

Description

Use the SetTraceSQL function to programmatically control the Trace SQL utility, enabling you to control TraceSQL options during the course of program execution.

Note: If you’re using an API with the Session class, use the Trace Setting class properties instead of this function.

When you ...

read more

SetTransferAttributes

Mon 01 January 2018

Syntax

SetTransferAttributes(enable_animation, [add_to_history], [back_label], [user_data], [qry_string_array])

Description

Use the SetTransferAttributes function to set certain transfer-related properties when executing a transfer to a different page or component. SetTransferAttributes can be invoked prior to the transfer (for example, in a FieldChange program) or after the transfer in the target component (for ...

read more

SetupScheduleDefnItem

Mon 01 January 2018

Syntax

SetupScheduleDefnItem(ScheduleName, JobName)

Description

Use the SetupScheduleDefnItem function to create a ProcessRequest object. After you’ve created this object, you can assign values to its properties then specific methods created to either schedule or print info for a Scheduled Jobset.

Parameters

Field or Control

Definition

ScheduleName

Specify the process ...

read more

SetUserOption

Mon 01 January 2018

Syntax

SetUserOption(Level, OPTN, Value)

Description

Use the SetUserOption to set the default value for the specified option.

Parameters

Field or Control

Definition

Level

Specify the option category level as a string.

OPTN

Specify the option as a string.

Value

Specify the value of the option.

Returns

A Boolean value ...

read more

ShouldSuppressCREF

Mon 01 January 2018

Syntax

ShouldSuppressCREF(CREF_URL)

Description

Use the ShouldSuppressCREF function to return a Boolean value indicating whether the URL should be displayed in the particular conditional navigation context. If the return value is True, the URL should not be shown in the current context; when the return value is False, the URL ...

read more

Sign

Mon 01 January 2018

Syntax

Sign(n)

Description

Use the Sign function to determine the sign of a number.

Parameters

Field or Control

Definition

n

A number value of which to determine the sign.

Returns

Returns a number value equal to:

  • 1 if n is positive

  • 0 if n is 0

  • -1 if n ...

read more

Sin

Mon 01 January 2018

Syntax

Sin(angle)

Description

Use the Sin function to calculate the sine of the given angle (opposite / hypotenuse).

Parameters

Field or Control

Definition

angle

A value in radians.

Returns

A real number between -1.00 and 1.00.

read more