/*
 * lg_top_merch_dbio.h - lg 모듈 DB 접근 계층 copybook (lg_top_merch_dbio, part of liblgdbio.a).
 * ECPG functions; run on the caller's XA branch (no EXEC SQL CONNECT).
 * 최대 잔액 가맹점 (order by limit 1).
 * Return convention: >=0 ok, -1 = SQL error.
 */
#ifndef LG_TOP_MERCH_DBIO_H
#define LG_TOP_MERCH_DBIO_H

int lgqdb_top_merch(const char *bizdate, char *merch_out, long *bal_out);
#endif /* LG_TOP_MERCH_DBIO_H */
