/*
 * CM_BIZDAY.pgc - cm 모듈 서비스 CM_BIZDAY (one service = one file).
 * Split out of the former inline cm_svr.pgc; runs on the caller's XA
 * branch (no EXEC SQL CONNECT). Advertised by cm_svr at tpsvrinit.
 */
#include "CM_BIZDAY.h"

/* 3. CM_BIZDAY - 현재 영업일 조회 (cm_param BIZ_DATE). */
void CM_BIZDAY(TPSVCINFO *p)
{
    UBFH *b = (UBFH *)p->data;
    char val[128];
    if (cmdb_get_param("BIZ_DATE", val) < 0) FAIL(b);
    sets_(b, T_BIZDATE, val);
    OK(b);
}
