sct_addr = sn.sct( devname [, err_func] );
SN.SCT takes a BCD device name and maps it to the corresponding SCT entry. For those devices that do not have true SCTs in the system, a pseudo-SCT value (.CRCT1 + channel index) is returned. This is the same value as system stores in the system name table (SCN), and can be used for other enquiries like device type.
If the given device name is not found, "err_func" is called with an error message and a zero is returned (assuming that an "err_func" which does not terminate the program has been supplied by the caller).
Copyright © 2000, Thinkage Ltd.