Defining the test RPC  Checking for error messages

Appendix B: Testing a TRS Installation with Sample Programs

Running the sample

Enter the following at the dynamic SQL utility prompt to run the SYM2 sample:

exec SYM2 a, 4

The output should be similar to the following:

TESTDATA
 
 ---------------------------------------------------
          U6T42P01 
 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
          U6T42P01
 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
          U6T42P01 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
          U6T42P01 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
 (4 rows affected, return status = 0)




Copyright © 2005. Sybase Inc. All rights reserved. Checking for error messages

View this book as PDF