C language EYURPESC format
The EYURPESC format for the C language is:
typedef struct
{
char HEADER[20]; /* EYU block header (fixed length) */
char CONTEXT[8]; /* CICSplex name (fixed length) */
char SCOPE[8]; /* MAS name (fixed length) */
int COUNT; /* Number of elements; 1-64 (32 bit) */
struct
{
char NAME[8]; /* Name of STATDEF (fixed length) */
int STATUS; /* RTA Status token (32 bit) */
} ELEMENT[64];
} EYURPESC;
/* - - Defined values for element STATUS field - - - - - - - - - - - - - - -*/
#define EYURPESC_STATUS_NORMAL 0 /* Normal */
#define EYURPESC_STATUS_VLS 1 /* Very low severe */
#define EYURPESC_STATUS_LS 2 /* Low severe */
#define EYURPESC_STATUS_LW 3 /* Low warning */
#define EYURPESC_STATUS_HW 4 /* High warning */
#define EYURPESC_STATUS_HS 5 /* High severe */
#define EYURPESC_STATUS_VHS 6 /* Very high severe*/
The character arrays within EYURPESC are fixed length strings, filled to the right with spaces. They are not terminated with a null character.