PROCESS_STRUCT Structure

The PROCESS_STRUCT structure contains the Connect:Direct® Process information. This structure is sent to the client from the Connect:Direct server upon accepting a Process for execution. It is also sent in response to a SELECT PROCESS command. It contains the Process name, Process number, and queue.

Structure

 struct Process_Struct 
 { 
	TCHAR ProcessName[MAX_PROCESS_NAME+1]; 
	DWORD ProcessNumber; 
	int ConditionCode; 
	int Feedback; 
	TCHAR MsgId[MAX_MESSAGE_ID+1]; 
	TCHAR MsgText[MAX_MESSAGE_TEXT+1]; 
	TCHAR MsgData[MAX_MESSAGE_DATA+1]; 
	time_t LogDateTime; 
	time_t SchedDateTime; 
	TCHAR SubmitNode[17]; 
	TCHAR Submitter[65]; 
	TCHAR PNode[17]; 
	TCHAR SNode[17]; 
	TCHAR Status[3]; 
	TCHAR Retain; 
	TCHAR Hold; 
	int Class; 
	int Priority; 
	int ExecPriority; 
	TCHAR Queue[5]; 
	TCHAR Function[6]; 
	TCHAR StepName[9]; 
	TCHAR LocalNode; 
	TCHAR FromNode; 
	BOOL bStandardCompression; 
	BOOL bExtendedCompression; 
	BOOL bCheckpoint; 
	BOOL bRestart; 
	TCHAR SourceFile[MAX_FILENAME+1]; 
	TCHAR SourceDisp1; 
	TCHAR SourceDisp2; 
	TCHAR SourceDisp3; 
	__int64 ByteCount; 
	__int64 RecordCount; 
	__int64 XmitBytes; 
	long XmitRUs; 
	TCHAR DestFile[MAX_FILENAME+1]; 
	TCHAR DestDisp1; 
	TCHAR DestDisp2; 
	TCHAR DestDisp3; 
 //SECURE_PLUS 
	BOOL bSecurePlusEnabled; 
	TCHAR EncAlgName[MAX_OBJECT_NAME]; 
	BOOL bSignature; 
 }; 
 typedef struct Process_Struct PROCESS_STRUCT;

Members

Member Description
ProcessName [MAX_PROCESS_NAME+1] The Process name.
ProcessNumber The Process number.
ConditionCode The return code.
Feedback Specifies additional return code information.
MsgId [MAX_MESSAGE_ID+1] The message identifier field.
MsgData [MAX_MESSAGE_TEXT+1] The message text field.
MsgData [MAX_MESSAGE_DATA+1] The message substitution data.
LogDateTime The logged time stamp.
SchedDateTime The scheduled time stamp.
SubmitNode [17] The submitter's node.
Submitter [65] The submitter's user name.
PNode [17] The primary node.
SNode [17] The secondary node.
Status [3] The current status.
Retain The retain flag.
Hold The hold flag.
Class The class.
Priority The current priority.
ExecPriority The current execution priority.
Queue [5] The current queue that contains this Process.
Function[6] The function executing in the Process.
StepName [9] The current step name.
LocalNode The local node flag.
FromNode The from node flag.
bStandardCompression The standard compression indicator.
bExtendedCompression The extended compression indicator.
bCheckpoint The checkpointing enabled indicator.
bRestart Restart indicator.
SourceFile [MAX_FILENAME+1] The source file name.
SourceDisp1 The source displacement 1.
SourceDisp2 The source displacement 2.
SourceDisp3 The source displacement 3.
ByteCount The total byte count.
RecordCount The total record count.
XmitBytes The sent byte count.
XmitRUs The sent RU count.
DestFile[MAX_FILENAME+1] The destination file name.
DestDisp1 The destination displacement 1.
DestDisp2 The destination displacement 2.
DestDisp3 The destination displacement 3.
bSecurePlusEnabled The Secure+ enabled flag.
EncAlgName[MAX_OBJECT_NAME] The effective encryption algorithm.
bSignature Specifies the effective signature setting.