Open topic with navigation

TIBCO iProcess® Engine 11.10.0

# SW_ADD_PACK_MEMO

The `SW_ADD_PACK_MEMO` procedure defines an item of pack memo data (a field name/value pair) that will be passed to iProcess with the next command procedure that is called.

## Syntax

    SW_ADD_PACK_MEMO (
    memo_namein varchar2(31),memo_lengthin integer,memo_datain blob,array_idxin integer default 0)

where:

| • | `memo_name` is the name of the iProcess memo field (or memo array field).

| • | `memo_length` is the number of bytes contained in the memo data.

| • | `memo_data` is a raw data field that holds the actual memo data.

| • | `array_idx` (optional) can be specified if `memo_name` is a memo array field; it identifies the specific element in the memo array to be used. If `array_idx` is not explicitly set, it defaults to a value of `0`.

If `memo_name` is not a memo array field, you should either not set `array_idx`, or set it to 0. (If `array_idx` contains any other value, no memo data will be found; an error message will be written to the `SWDIR``\logs\sw_warn` file.)

## Notes

`SW_ADD_PACK_MEMO` allows pack memo data to be passed to iProcess when a command procedure is called:

| • | You must call `SW_ADD_PACK_MEMO` to specify the pack memo data immediately before calling the desired command procedure.

| • | A call to `SW_ADD_PACK_MEMO` defines a single item of pack memo data. If you want to define multiple items of pack memo data, you must make a `SW_ADD_PACK_MEMO` call for each piece of memo data before calling the desired command procedure.

| • | The pack memo data is only valid for the next command procedure that is called.

Did you find this helpful?

Yes No
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO iProcess® Engine