Managing Databases using Enterprise Manager (MOSC)

MOSC Banner

How do I find environment variable's lable in 13.3c OEM Sending Notifications Using OS Commands?

Hello All,


How can I find oracle defined variable's label while sending notifications using OS script.

ex. below PL/SQL variables used in email customization. Same I want to use defined variables Label in my OS script.

[IF HOST_NAME NOT NULL]

  [HOST_NAME_LABEL]=[HOST_NAME]

[ENDIF]

I am writing functions in bash shell as like below. It is not printing value of variables like "$*_LABEL". How do I find such kind of variables?

email_header_body_api(){

echo "`date` email_header_body_api Function execution started. " >> $TraceFile

if [ "$NOTIF_TYPE" = "NOTIF_REPEAT" ]; then

Maill_heading=$(printf "[%s#%s]%s : %s " "$REPEAT_LABEL" "$REPEAT_COUNT" "$EM_EVENT_PREFIX" "${MESSAGE:0:30}")

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center