Print Page as PDF
DBIA4440 ICR (4440)

DBIA4440    ICR (4440)

Name Value
NUMBER 4440
IA # 4440
DATE CREATED 2004/06/17
CUSTODIAL PACKAGE KERNEL
CUSTODIAL ISC San Francisco
USAGE Supported
TYPE Routine
DBIC APPROVAL STATUS APPROVED
ROUTINE XUPROD
NAME DBIA4440
GENERAL DESCRIPTION
This API is used to tell if the current account is the
main production or a clone or test account.
STATUS Active
KEYWORDS PRODUCTION
DURATION Till Otherwise Agreed
ID XUPROD
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION VARIABLES
PROD([force])
If the site manager has designated this as the
production account for this facility the API will return a 1, otherwise it
returns 0.

Because it is unknown how often this will be called or what the cost of the
real check is, the default check is against a field in the KERNEL SYSTEM
PARAMETERS file.  The real check is done when Taskman starts or the first time
the function is called each day.  The force flag can be used to force the API
to do a real check for this call and update the flag.

VARIABLES TYPE VARIABLES DESCRIPTION
force Input
Any non-zero value will cause the API to do a real
check calling the OS functions and comparing the results with the stored
value.