Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

IMOKIT Read information from SYSSII file

&pagelevel(4)&pagelevel

SIIOPEN function – Open SYSSII file

Function call

#define IMOKITPLVERSION         /* value for parameter list version */
#define IMOKIT_OPEN             /* value for SIIOPEN function      */
void SIIENTR(struct IMOKIT_pl *); 

Programming notes

The name of the SYSSII file must be passed in the parameter list in the sii_name variable when calling the function.

The attributes of the release unit are returned in addition to the return code (see "IMOKIT Read information from SYSSII file ").

SIIREAD function – Read information from the SYSSII file

Function call

#define IMOKITPLVERSION         /* value for parameter list version */
#define IMOKIT_READ             /* value for SIIREAD function       */
void SIIENTR(struct IMOKIT_pl *);

Programming notes

The attributes of the last release item read are returned in addition to the return code (see "IMOKIT Read information from SYSSII file ").

SIICLOSE function – Close SYSSII file

Function call

#define IMOKITPLVERSION         /* value for parameter list version */
#define IMOKIT_CLOSE            /* value for SIICLOSE function      */
void SIIENTR(struct IMOKIT_pl *);

Programming notes

Only the return code is returned.

Parameter list

struct IMOKIT_pl {
        /* STD HEADER                                                 */
        struct ESMFHDR STANDARD_HEADER;
        void* sii_fd;                   /* FILE DESCRIPTOR            */
        unsigned short dms_error;       /* DMS ERROR                  */
        unsigned char delimitor;        /* STRING DELIMITOR           */
        char sii_name[55];              /* SYSSII FILE NAME           */
        char sii_file_version[7];       /* SYSSII FILE VERSION        */
        char etpnd_c_name[9];           /* ETPND COMPONENT NAME       */
        char etpnd_c_version[4];        /* ETPND COMPONENT VERSION    */
        char etpnd_c_domain[14];        /* ETPND COMPONENT DOMAIN     */
        char etpnd_c_pm[20][9];         /* ETPND COMPONENT PM NUMBER  */
        char ru_name[31];               /* UNIT NAME                  */
        char ru_version[8];             /* UNIT VERSION               */
        unsigned char ru_functlev;      /* UNIT FUNCTIONAL LEVEL      */
        char ru_userid[9];              /* UNIT USER ID               */
        unsigned char ru_mandatory_uid; /* UNIT MANDATORY USER ID     */
        char R1[2];                     /* filler 1                   */
        unsigned long ru_old_dependence; /* UNIT OLD DEPENDENCE NUMBER     */
        unsigned long ru_dependence;    /* UNIT DEPENDENCE NUMBER     */
        unsigned long ru_comment;       /* UNIT COMMENT NUMBER        */
        char ri_name[31];               /* ITEM NAME                  */
        unsigned char ri_dummy;         /* DUMMY ITEM FLAG            */
        unsigned char ri_target;        /* ITEM TARGET                */
        char R1a[3];                    /* filler 1a                  */
        unsigned char ri_language;      /* ITEM LANGUAGE              */
        char R2[3];                     /* filler 2                   */
        unsigned long ri_comment;       /* ITEM COMMENT NUMBER        */
        unsigned char ri_functlev;      /* ITEM FUNCTIONAL LEVEL      */
        char ri_logid[31];              /* ITEM LOGICAL ID            */
        unsigned char ri_logmand;       /* MANDATORY PATHNAME         */
        unsigned char ri_logupd;        /* UPDATE PATHNAME            */
        unsigned char ri_logfiltyp;     /* FILENAME TYPE              */
        char ri_type[4];                /* ITEM TYPE                  */
        char ri_file[39];               /* ITEM FILENAME              */
        unsigned char ri_mandatory_file; /* MANDATORY FILENAME         */
        char ri_userid[9];              /* ITEM USER ID               */
        unsigned char ri_mandatory_uid; /* ITEM MANDATORY USER ID     */
        unsigned char ri_user_access;   /* USER-ACCESS ATTRIBUTE      */
        unsigned char ri_access;        /* ACCESS ATTRIBUTE           */
        unsigned char ri_migrate;       /* MIGRATE ATTRIBUTE          */
        unsigned char ri_format;        /* FORMAT ATTRIBUTE           */
        unsigned char ri_ipl;           /* IPL FILE                   */
        char R3[2];                     /* filler 3                   */
        unsigned long ri_par;           /* INSTALLATION PARAMETER NUMBER */
};