WorkunitFilesRead

STD.System.Workunit.WorkunitFilesRead ( wuid )

wuidA null-terminated string containing the WorkUnit IDentifier.
Return: WorkunitFilesRead returns a DATASET value.

The WorkunitFilesRead function returns a DATASET with this format:

EXPORT WsFileRead := RECORD
  STRING name{MAXLENGTH(256)};
  STRING cluster{MAXLENGTH(64)};
  BOOLEAN isSuper;
  UNSIGNED4 usage;
END;

Each record in the returned dataset specifies a file read by the workunit.

Example:

OUTPUT(STD.System.Workunit.WorkunitFilesRead('W20070308-164946'));
/* produces results that look like this
'rttest::difftest::superfile','thor','true','1'
'rttest::difftest::base1','thor','false','1'
*/