danki01

updated

15 years ago

D

danki01

1 Rookie

•

9 Posts

0

2659

August 25th, 2011 08:00

SymDevMaskAccessGet failed with code 195

I am writing a program using symapi.h of version "V7.1-1009" to get the VMAX disk array details like the number of logical devices, raid groups, pots information etc..

I am trying to get the HBA WWN information using the api SymDevMaskAccessGet.

                              SymDevMaskAccessGet(m_Handle,

                                                                        0,

                                                            (LPSTR)(LPCSTR)m_szSymId,

                                                            NULL,

                                                            SYMAPI_MASK_IDENT_NA,

                                                            NULL,

                                                            SYMAPI_C_ALL,

                                                            SYMAPI_C_ALL,

                                                            0,

                                                            NULL,

                                                            SYMAPI_MASK_ACC_FLGS_NONE,

                                                            SYMAPI_MASK_SRC_FROM_SYMMETRIX,

                                                            NULL,

                                                            &acc_db,

                                                            NULL);

But it is retuning an error code 195 as below:

195 [SYMAPI_C_FEATURE_NOT_AVAILABLE] (The requested feature is not supported for this microcode or SYMAPI version)

Please reply me if I am doing wrong or any other alternative to this call.

  • Balavb

    1 Message

    788

    0

    Posted September 20th, 2011 23:00

    I got the answer for my post. We need to use SymDevMaskViewGet insted of SymDevMaskAccessGet.

    This API is not supported for V-MAX.

  • danki01

    1 Rookie

    •

    9 Posts

    788

    0

    Posted August 26th, 2011 00:00

    Please reply me if anybody knows how to use this api properly.

  • SKT2

    2 Intern

    •

    1340 Posts

    788

    0

    Posted September 18th, 2011 13:00

    I remember getting similar message from a vmax when using symmaskdb cmd, but the equivalent symaccess command works