Skip to content

Commit

Permalink
Merge pull request #18946 from JamesDeFabia/HPCC-32362
Browse files Browse the repository at this point in the history
HPCC-32362 Std Lib Docs WorkunitTimeStamps has incorrect rec def as return type

Reviewed-By: Dan S. Camper <[email protected]>
Merged-by: Gavin Halliday <[email protected]>
  • Loading branch information
ghalliday authored Aug 2, 2024
2 parents 49b03e3 + 6e4173e commit 4ab82bc
Showing 1 changed file with 17 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,17 @@
<sect1 id="WorkunitTimeStamps">
<title>WorkunitTimeStamps</title>

<para><emphasis
role="bold">STD.System.Workunit.WorkunitTimeStamps <indexterm>
<para><emphasis role="bold">STD.System.Workunit.WorkunitTimeStamps
<indexterm>
<primary>STD.System.Workunit.WorkunitTimeStamps</primary>
</indexterm>
<indexterm>
</indexterm> <indexterm>
<primary>System.Workunit.WorkunitTimeStamps</primary>
</indexterm>
<indexterm>
</indexterm> <indexterm>
<primary>Workunit.WorkunitTimeStamps</primary>
</indexterm>
<indexterm>
</indexterm> <indexterm>
<primary>WorkunitTimeStamps</primary>
</indexterm>
(</emphasis> <emphasis>
wuid </emphasis> <emphasis role="bold">)</emphasis></para>
</indexterm> (</emphasis> <emphasis> wuid </emphasis> <emphasis
role="bold">)</emphasis></para>

<informaltable colsep="1" frame="all" rowsep="1">
<tgroup cols="2">
Expand Down Expand Up @@ -46,7 +42,7 @@
<para>The <emphasis role="bold">WorkunitTimeStamps </emphasis>function
returns a DATASET with this format:</para>

<programlisting>EXPORT WsTimeStamp := RECORD
<programlisting>EXPORT TimeStampRecord := RECORD
STRING32 application;
STRING16 id;
STRING20 time;
Expand All @@ -58,14 +54,15 @@ END;</programlisting>

<para>Example:</para>

<programlisting format="linespecific">OUTPUT(STD.System.Workunit.WorkunitTimeStamps('W20070308-164946'));
<programlisting format="linespecific">OUTPUT(STD.System.Workunit.WorkunitTimeStamps('W20240801-122755'));

/* produces output like this:
'workunit ','Created ','2008-02-13T18:28:20Z',' '
'workunit ','Modified','2008-02-13T18:32:47Z',' '
'EclServer ','Compiled','2008-02-13T18:28:20Z','10.173.9.2:0 '
'EclAgent ','Started ','2008-02-13T18:32:35Z','training009003'
'Thor - graph1','Finished','2008-02-13T18:32:47Z','training009004'
'Thor - graph1','Started ','2008-02-13T18:32:13Z','training009004'
'EclAgent ','Finished','2008-02-13T18:33:09Z','training009003'
'workunit ','Created ','2024-08-01T16:28:20Z',' '
'workunit ','Modified','2024-08-01T16:32:47Z',' '
'EclServer ','Compiled','2024-08-01T16:28:20Z','172.31.4.17'
'EclAgent ','Started ','2024-08-01T16:32:35Z','172.31.4.17'
'Thor - graph1','Finished','2024-08-01T16:32:47Z','172.31.4.17'
'Thor - graph1','Started ','2024-08-01T16:32:13Z','172.31.4.17'
'EclAgent ','Finished','2024-08-01T16:33:09Z','172.31.4.17'
*/</programlisting>
</sect1>

0 comments on commit 4ab82bc

Please sign in to comment.