Chapter Contents

Previous

Next
iscics

iscics



Return CICS Environment Information

Portability: SAS/C extension


SYNOPSIS
DESCRIPTION
RETURN VALUE
EXAMPLE
RELATED FUNCTIONS
SEE ALSO


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 VALUE

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


Chapter Contents

Previous

Next

Top of Page

Copyright © 2001 by SAS Institute Inc., Cary, NC, USA. All rights reserved.