Generates a list of fields for the returned select set of a SELECT or VIEW operationchar *sm_tp_gen_sel_return (char *tv, int scope);
- The name of the first table view to traverse. Supply
NULLpointer or an empty string to use the screen's root table view.
- Specifies which part of the table view tree to use:
- Build the argument list for the fields from
tvand all table views below it on the tree.
- Build the argument list for the table views on the server view only.
JetNet, TUXEDO; C only
sm_tp_gen_sel_returnreturns a list of fields that can be used as an output argument for a service request implementing a
VIEWoperation. The fields are on the current screen and are used for the returned select set of the database operation.
The list is returned in a temporary buffer whose contents remain valid until the next call to a
sm_tp_gen_function. So, you should use or save the return data immediately. When the last
sm_tp_gen_function is called, free the memory allocated for the buffer with