PASUST - execute a TSS DRL PASUST.
Alternate Entry Name: P.UST
Usage:
B:
pointer = pasust( pointer, number [, offset] );
C:
void pasust(void *pointer, int number[, int offset] );
Where:
- pointer
- points to a buffer where the DRL PASUST is to copy its
information.
- number
- is the number of words from the caller's User Status
Table (UST) to be copied into the buffer to which
"pointer" points.
- offset
- indicates the offset in the UST where the DRL PASUST is
to begin obtaining data for copying. If
"offset" is not specified, a value of zero is
assumed and the information will be obtained beginning at
the start of the UST.
Description:
PASUST simply executes a DRL PASUST to copy information from
the caller's User Status Table (UST) into a buffer in the B
program.
As a simple example, the following code obtains the first two
words of the current UST (which happen to contain the userid in
BCD).
auto userid[1];
...
pasust( userid, 2 );
Copyright © 1996, Thinkage Ltd.