diff --git a/main/}bedrock.server.executecommand.pro b/main/}bedrock.server.executecommand.pro new file mode 100644 index 0000000..a9d0fd0 --- /dev/null +++ b/main/}bedrock.server.executecommand.pro @@ -0,0 +1,181 @@ +601,100 +602,"}bedrock.server.executecommand" +562,"NULL" +586, +585, +564, +565,"c6ra[C[7?MRZGEd4Vj8iW6jhYCZzGu=F6_VXaS3geIQPIpyx6J:V[jfDQgSFAG8iQts]3x9DVFqhJu4emK64:eRYT@aakRBkVloBi;bGY11r_B>gze>foyX0_bp>^DJ69mEKS<0aCEznZ>SIE0 '"' ); + sCommand = Expand ( '"%pCommand%"' ); +Else; + sCommand = pCommand; +EndIf; + +ExecuteCommand ( pCommand, nWait ); + +573,2 +#****Begin: Generated Statements*** +#****End: Generated Statements**** +574,2 +#****Begin: Generated Statements*** +#****End: Generated Statements**** +575,27 +#****Begin: Generated Statements*** +#****End: Generated Statements**** + +### LogOutput ### + +If( pLogOutput = 1 ); + sSec = NumberToStringEx( 86400*(Now() - nStart),'#,##0.0', '.', ',' ); + sLogInfo = Expand('Process:%cThisProcName% completed. Elapsed time %sSec% seconds.'); + LogOutput( 'INFO', sLogInfo ); +EndIf; + +### Return code & final error message handling +If( nErrors > 0 ); + sMessage = 'the process incurred at least 1 error. Please see above lines in this file for more details.'; + nProcessReturnCode = 0; + LogOutput( cMsgErrorLevel, Expand( cMsgErrorContent ) ); + sProcessReturnCode = Expand( '%sProcessReturnCode% Process:%cThisProcName% completed with errors. Check tm1server.log for details.' ); +Else; + sProcessAction = Expand( 'Process:%cThisProcName% completed successfully.' ); + sProcessReturnCode = Expand( '%sProcessReturnCode% %sProcessAction%' ); + nProcessReturnCode = 1; + If( pLogoutput = 1 ); + LogOutput('INFO', Expand( sProcessAction ) ); + EndIf; +EndIf; + +### End Epilog ### +576, +930,0 +638,1 +804,0 +1217,0 +900, +901, +902, +938,0 +937, +936, +935, +934, +932,0 +933,0 +903, +906, +929, +907, +908, +904,0 +905,0 +909,0 +911, +912, +913, +914, +915, +916, +917,0 +918,1 +919,0 +920,50000 +921,"" +922,"" +923,0 +924,"" +925,"" +926,"" +927,""