search cancel

PUT_PROMPT_BUFFER or PUT_READ_BUFFER with a '&' does not change variable

book

Article ID: 89704

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

PUT_PROMPT_BUFFER or PUT_READ_BUFFER with a '&' does not change variable

Environment

Release: AOATAM99000-9.0-Automic-One Automation Tools-Application Manager
Component:

Resolution

Symptoms

When defining a variable for script function ':PUT_PROMPT_BUFFER' or ':PUT_READ_BUFFER', using an '&' will cause the variable to become blank.

Example:

:PUT_PROMPT_BUFFER &EXAMPLE# = "testing"

Results:

U0020206 Variable 'EXAMPLE#' was stored with value '.


Cause

 PUT_PROMPT_BUFFER' or ':PUT_READ_BUFFER do not use a ampersand '&' when defining the variable


Resolution

Remove the ampersand for the script line. For example:

:PUT_PROMPT_BUFFER EXAMPLE# = "testing"


For more information, please see the documentation under Automic Script Guide > Ordered by Function > Activate Objects > :PUT_READ_BUFFER.