From 6e4173eb37bf123a9c2a06b9d6f2856913b7dba4 Mon Sep 17 00:00:00 2001 From: Jim DeFabia Date: Thu, 1 Aug 2024 12:39:39 -0400 Subject: [PATCH] HPCC-32362 Std Lib Docs WorkunitTimeStamps has incorrect rec def as return type Signed-off-by: Jim DeFabia --- .../SLR-Mods/WorkunitTimeStamps.xml | 37 +++++++++---------- 1 file changed, 17 insertions(+), 20 deletions(-) diff --git a/docs/EN_US/ECLStandardLibraryReference/SLR-Mods/WorkunitTimeStamps.xml b/docs/EN_US/ECLStandardLibraryReference/SLR-Mods/WorkunitTimeStamps.xml index e6ca5cb1dda..05ed0b9d6fe 100644 --- a/docs/EN_US/ECLStandardLibraryReference/SLR-Mods/WorkunitTimeStamps.xml +++ b/docs/EN_US/ECLStandardLibraryReference/SLR-Mods/WorkunitTimeStamps.xml @@ -4,21 +4,17 @@ WorkunitTimeStamps - STD.System.Workunit.WorkunitTimeStamps + STD.System.Workunit.WorkunitTimeStamps + STD.System.Workunit.WorkunitTimeStamps - - + System.Workunit.WorkunitTimeStamps - - + Workunit.WorkunitTimeStamps - - + WorkunitTimeStamps - -( - wuid ) + ( wuid ) @@ -46,7 +42,7 @@ The WorkunitTimeStamps function returns a DATASET with this format: - EXPORT WsTimeStamp := RECORD + EXPORT TimeStampRecord := RECORD STRING32 application; STRING16 id; STRING20 time; @@ -58,14 +54,15 @@ END; Example: - OUTPUT(STD.System.Workunit.WorkunitTimeStamps('W20070308-164946')); + 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' */