Interstage Shunsaku Data Manager Application Development Guide - Microsoft(R) Windows(R) 2000/ Microsoft(R) Windows Server(TM) 2003 - - UNIX - |
Contents
Index
![]() ![]() |
Part 1 The Basic for Developing Application | > Chapter 7 Shunsaku File | > 7.3 Switching Shunsaku Files |
Shunsaku File can be specified using the parameter in the parameter in the ShunSetConnectAttr function
ShunSetConnectAttr(Connection handle, Attribute, Shunsaku File name); |
Specify the connection handle.
Specify the following attribute.
Specify the name of Shunsaku File after switching Shunsaku File.
For the case when switching from Shunsaku File "fileA" to Shunsaku File "fileB".
SHUNHANDLE ConH; /* Allocate connection handle */ ShunAllocHandle(NULL, &ConH); /* Specify the host name, port number and Shunsaku File name to establish the connection */ ShunConnect(ConH, "DirSvr1",33101, "fileA"); : /* Switch to fileB */ ShunSetConnectAttr(ConH, SHUN_ATTR_SHUNSAKU_FILE, (int)"fileB"); : |
Contents
Index
![]() ![]() |