Change to the directory where you installed Replication Server.
Set the environment variables by sourcing the SYBASE.csh file.
Use the isql utility to log in to Replication Server:
isql –Usa –P –SSAMPLE_RS
Exit the isql session with the quit command.