/*
 * st_derived_dbio.h - st 모듈 DB 접근 계층 copybook (st_derived_dbio, part of libstdbio.a).
 * ECPG functions; run on the caller's XA branch (no EXEC SQL CONNECT).
 * Return convention: >=0 ok, -1 = SQL error.
 */
#ifndef ST_DERIVED_DBIO
#define ST_DERIVED_DBIO

typedef struct { char biz_date[16]; long top_merch_net; } st_derived_rec_t;

long stdb_max_merchant_net(const char *bizdate);

#endif /* ST_DERIVED_DBIO */
