Instead of typing all parameters directly on the command line, you can place some or all of the parameters in a file, then reference the file on the command line, preceded by an ampersand (@).
For example, if the file C:\Temp\options text contains:
/CollectionID:QMF81 /BIND
specify this command line:
rsadmin.exe sdf.ini /Server:"Server 1" @C:\Temp\options.tex
this is equivalent to specifying this command line:
rsadmin.exe sdf.ini /Server:"Server 1" /CollectionID:QMF81 /Bind
For example, the following command line creates a server named, "Test Server" in the server definition file sdf.ini, with RDB name "TEST", using a TCP/IP connection to host name "db2test.ibm.com" and port number 446. All other parameters have default values:
rsadmin.exe sdf.ini /Server:"Test Server" /CollectionID:QMF81 /Bind
This command line defines a new server named "Test Server" in the server definition file named "sdf.ini", using a TCP/IP connection to IP address "127.0.0.1" and port number 446. It also sets "QMF81" as the collection ID for the server, creates any of the QMF for Windows database objects that do not exist (using default statements), binds the QMF for Windows packages, and grants EXECUTE authority on those packages to PUBLIC:
rsadmihn.exe sdf.ini /Server:"Test Server" /RDBName:TEST /HostName:127.0.0.1 /PortNumber:446 /CollectionID:QMF81 /CreateObjects /Bind /Grant:PUBLIC