save_davars_mgoal_ela
Purpose
Create DAVars object with error log information for a menugoal.
Syntax
#include <diag/diag_log.h>
int save_davars_ela(char *dname,uint el_seq,uint el_id,uint
menu_num)
Description
The save_davars_mgoal_ela subroutine creates a DAVars object containing the error log information for a menugoal. The format of the DAVars object is:
DAVars:
dname = "ResourceName"
vname = "ErrorMenuMenugoalNumber"
vtype = 0
vvalue = "ErrorlogIdentifier,ErrorlogSequenceNumber"
ivalue = 0
An example of a DAVars object is:
dname = "sysplanar0"
vname = "ErrorMenu651202"
vtype = 0
vvalue = "56CDC3C8,22"
ivalue = 0
Parameters
Parameter | Description |
---|---|
*dname | String containing the resource name that created the menugoal. |
el_seq | Error log sequence number |
el_id | Error log identifier |
menu_num | Menugoal number |
Return Value
The subroutine returns a value of 0 on success; a value of -1 on failure.