iscics -- Return CICS Environment Information

SYNOPSIS

 #include <lclib.h>

 int iscics(void);
 

DESCRIPTION

The iscics function returns an indication to a program about whether the program is running in a CICS environment.

RETURN VALUES

The iscics function returns 0 if the program is running in a CICS environment; otherwise, it returns a nonzero value.

EXAMPLE

  #include <lclib.h>

  void main()
  {
     if (iscics() == 0) puts("Environment is CICS.");
     else puts("Environment is not CICS.");
  }

 

RELATED FUNCTIONS

envname

SEE ALSO

System Interface and Environment Variables


Copyright (c) 1998 SAS Institute Inc. Cary, NC, USA. All rights reserved.