#include <lclib.h> int iscics(void);
iscics
function returns an indication to a program about
whether the program is running in a CICS environment.
iscics
function returns 0 if the program is
running in a CICS environment; otherwise, it returns a nonzero value.
#include <lclib.h> void main() { if (iscics() == 0) puts("Environment is CICS."); else puts("Environment is not CICS."); }
envname
Copyright (c) 1998 SAS Institute Inc. Cary, NC, USA. All rights reserved.