gtpc2m9sC/C++ Language Support User's Guide

wtopc_routing_list-Save Routing List for wtopc

This function inserts the addition of the routing destinations indicated, in correct format for the wtopc function to use, into a field indicated in the parameter list.

Format

#include   <tpfapi.h>
void         wtopc_routing_list(long int rout, long int codes);

rout
Storage location for the routing list information.

codes
Integer containing the addition of routing destinations as defined in tpfapi.h. Valid routing destinations are WTOPC_EBROUT, WTOPC_RO, WTOPC_PRC, WTOPC_TAPE, WTOPC_DASD, WTOPC_COMM, WTOPC_AUDT, WTOPC_UNSOL. NULL can be entered to indicate that a WTOPC_EBROUT value will be used.

Normal Return

Void.

Error Return

Not applicable.

Programming Considerations

This function is designed to simplify parameter coding for the wtopc function.

Examples

The following example sets up a routing list for the wtopc function to use. EBROUT and the read-only CRAS are indicated in the list.

#include <tpfapi.h>

  ·
  ·
  ·
long int rout_list;
  ·
  ·
  ·
wtopc_routing_list(rout_list, WTOPC_EBROUT + WTOPC_RO);
  ·
  ·
  ·

Related Information