NetView considerations

If you plan to run C programs under NetView®, you need to be aware of several special considerations.

  • Depending on which resource tables you access, you may encounter some name conflicts between the CICSPlex SM #define statements for resource table attributes and the standard NetView #define statements. For example, the NetView statement #include "dsic.h" generates the following define statement:
      #define COMMAND "COMMAND "

    Some of the CICSPlex SM resource tables use COMMAND as an attribute name. If you use #include "dsic.h" as supplied by NetView, the resource table attribute names are converted and cannot be processed by CICSPlex SM.

    One way of handling any potential conflicts is to undefine the COMMAND value, like this:
      #include "dsic.h"
      #undef COMMAND
      #include "feedback.h"
           .
           .
           .
    If you want to, you can also redefine the COMMAND value using a new name that does not conflict with any resource table attribute name, like this:
      #include "dsic.h"
      #undef COMMAND
      #define XCOMMAND "COMMAND "
      #include "feedback.h"
           .
           .
           .