|
1 | | -601,100 |
2 | | -602,"Bedrock.Chore.DayInMonth.Run" |
3 | | -562,"NULL" |
4 | | -586, |
5 | | -585, |
6 | | -564, |
7 | | -565,"vX_fwSWUsa]vzJX\EE`>EEa<[3X;iGmgwpM>DLJqyKm8LiB?FrJ9z;UANxPxxV9jNVP0bIDtmtZEm6LFzB[agvY_^ItSveLSz:35Q^klfpu?O^xuBrhD_7rhPfXhHeP;?NmPZ]WpRJu2X5MPjxa=hZ3E0@w\qG[3BvmnnG`8Ghy\hRId<J;brbczMcLI1H?j5oEPJ5tM" |
8 | | -559,1 |
9 | | -928,0 |
10 | | -593, |
11 | | -594, |
12 | | -595, |
13 | | -597, |
14 | | -598, |
15 | | -596, |
16 | | -800, |
17 | | -801, |
18 | | -566,0 |
19 | | -567,"," |
20 | | -588,"." |
21 | | -589, |
22 | | -568,"""" |
23 | | -570, |
24 | | -571, |
25 | | -569,0 |
26 | | -592,0 |
27 | | -599,1000 |
28 | | -560,3 |
29 | | -pDays |
30 | | -pDelimiter |
31 | | -pDebug |
32 | | -561,3 |
33 | | -2 |
34 | | -2 |
35 | | -1 |
36 | | -590,3 |
37 | | -pDays,"" |
38 | | -pDelimiter,"&" |
39 | | -pDebug,0 |
40 | | -637,3 |
41 | | -pDays,"Delimited string of days in month as dd e.g. 1 & 2 & 30 & 31" |
42 | | -pDelimiter,"Optional: String array delimiter. Only 1 character allowed (Blank=&)" |
43 | | -pDebug,"Debug Mode" |
44 | | -577,0 |
45 | | -578,0 |
46 | | -579,0 |
47 | | -580,0 |
48 | | -581,0 |
49 | | -582,0 |
50 | | -603,0 |
51 | | -572,54 |
52 | | - |
53 | | -#****Begin: Generated Statements*** |
54 | | -#****End: Generated Statements**** |
55 | | - |
56 | | -################################################################################################# #################### |
57 | | -##~~Join the bedrock TM1 community on GitHub https://github.com/cubewise-code/bedrock Ver 4.0~~## |
58 | | -################################################################################################# |
59 | | - |
60 | | -#This Process was changed into shell, that will call another process from Bedrock v4. |
61 | | -##Global Variables |
62 | | -StringGlobalVariable('sProcessReturnCode'); |
63 | | -NumericGlobalVariable('nProcessReturnCode'); |
64 | | -nProcessReturnCode= 0; |
65 | | - |
66 | | -### Constants ### |
67 | | -cThisProcName = GetProcessName(); |
68 | | -cUserName = TM1User(); |
69 | | -cMsgErrorContent= 'User:%cUserName% Process:%cThisProcName% ErrorMsg:%sMessage%'; |
70 | | -cTimeStamp = TimSt( Now, '\Y\m\d\h\i\s' ); |
71 | | -cRandomInt = NumberToString( INT( RAND( ) * 1000 )); |
72 | | -cDebugFile = GetProcessErrorFileDirectory | cThisProcName | '.' | cTimeStamp | '.' | cRandomInt ; |
73 | | -cTempSubset = cThisProcName | '.' | cRandomInt; |
74 | | -cTempFile = GetProcessErrorFileDirectory | cTempSubset | '.csv'; |
75 | | - |
76 | | -### Initialise Debug ### |
77 | | -If( pDebug >= 1 ); |
78 | | - # Set debug file name |
79 | | - sDebugFile = cDebugFile | 'Prolog.debug'; |
80 | | - |
81 | | - # Log start time |
82 | | - AsciiOutput( sDebugFile, 'Process Started: ' | TimSt( Now, '\d-\m-\Y \h:\i:\s' ) ); |
83 | | - |
84 | | - # Log parameters |
85 | | - AsciiOutput( sDebugFile, 'Parameters: pDays : ' | pDays ); |
86 | | - AsciiOutput( sDebugFile, ' pDelimiter : ' | pDelimiter ); |
87 | | - AsciiOutput( sDebugFile, ' pDebug : ' | NumberToString( pDebug ) ); |
88 | | -EndIf; |
89 | | - |
90 | | -#Call v4 TI |
91 | | -EXECUTEPROCESS('}bedrock.chore.execution.check', |
92 | | - 'pLogOutput', pDebug, |
93 | | - 'pMonthDays', pDays, |
94 | | - 'pWeekDays', '', |
95 | | - 'pDelim', pDelimiter, |
96 | | - 'pStartTime', '', |
97 | | - 'pEndTime', '' |
98 | | - ); |
99 | | - |
100 | | -If(nProcessReturnCode = ProcessExitByChoreQuit() ); |
101 | | - ChoreQuit; |
102 | | -Endif; |
103 | | - |
104 | | - |
105 | | - |
106 | | -573,3 |
107 | | - |
108 | | -#****Begin: Generated Statements*** |
109 | | -#****End: Generated Statements**** |
110 | | -574,3 |
111 | | - |
112 | | -#****Begin: Generated Statements*** |
113 | | -#****End: Generated Statements**** |
114 | | -575,3 |
115 | | - |
116 | | -#****Begin: Generated Statements*** |
117 | | -#****End: Generated Statements**** |
118 | | -576,CubeAction=1511DataAction=1503CubeLogChanges=0 |
119 | | -930,0 |
120 | | -638,1 |
121 | | -804,0 |
122 | | -1217,1 |
123 | | -900, |
124 | | -901, |
125 | | -902, |
126 | | -938,0 |
127 | | -937, |
128 | | -936, |
129 | | -935, |
130 | | -934, |
131 | | -932,0 |
132 | | -933,0 |
133 | | -903, |
134 | | -906, |
135 | | -929, |
136 | | -907, |
137 | | -908, |
138 | | -904,0 |
139 | | -905,0 |
140 | | -909,0 |
141 | | -911, |
142 | | -912, |
143 | | -913, |
144 | | -914, |
145 | | -915, |
146 | | -916, |
147 | | -917,0 |
148 | | -918,1 |
149 | | -919,0 |
150 | | -920,50000 |
151 | | -921,"" |
152 | | -922,"" |
153 | | -923,0 |
154 | | -924,"" |
155 | | -925,"" |
156 | | -926,"" |
157 | | -927,"" |
| 1 | +601,100 |
| 2 | +602,"Bedrock.Chore.DayInMonth.Run" |
| 3 | +562,"NULL" |
| 4 | +586, |
| 5 | +585, |
| 6 | +564, |
| 7 | +565,"s=55_Jgqb`pEYzSbVJSaxM`0BcgbH<TjgfKYlgvuC7olm;Y:w@=KeV9WPlJV<zk^tfKiOnhuNfHKq6QajqM[`_;q2vXSFz8Cr4aJfnU0hDq>pNA1FO9FTom4RG^3?VocVZr0@9_d\oCNe[EzwNUD;B]xaR_vS8e@qzMzfckXbzM>japZ1Vy2WrPV==C>Z9cMlPabw\Fa" |
| 8 | +559,1 |
| 9 | +928,0 |
| 10 | +593, |
| 11 | +594, |
| 12 | +595, |
| 13 | +597, |
| 14 | +598, |
| 15 | +596, |
| 16 | +800, |
| 17 | +801, |
| 18 | +566,0 |
| 19 | +567,"," |
| 20 | +588,"." |
| 21 | +589,"." |
| 22 | +568,"""" |
| 23 | +570, |
| 24 | +571, |
| 25 | +569,0 |
| 26 | +592,0 |
| 27 | +599,1000 |
| 28 | +560,3 |
| 29 | +pDays |
| 30 | +pDelimiter |
| 31 | +pDebug |
| 32 | +561,3 |
| 33 | +2 |
| 34 | +2 |
| 35 | +1 |
| 36 | +590,3 |
| 37 | +pDays,"" |
| 38 | +pDelimiter,"&" |
| 39 | +pDebug,0 |
| 40 | +637,3 |
| 41 | +pDays,"Delimited string of days in month as dd e.g. 1 & 2 & 30 & 31" |
| 42 | +pDelimiter,"Optional: String array delimiter. Only 1 character allowed (Blank=&)" |
| 43 | +pDebug,"Debug Mode" |
| 44 | +577,0 |
| 45 | +578,0 |
| 46 | +579,0 |
| 47 | +580,0 |
| 48 | +581,0 |
| 49 | +582,0 |
| 50 | +603,0 |
| 51 | +572,55 |
| 52 | + |
| 53 | +#****Begin: Generated Statements*** |
| 54 | +#****End: Generated Statements**** |
| 55 | + |
| 56 | +################################################################################################# #################### |
| 57 | +##~~Join the bedrock TM1 community on GitHub https://github.com/cubewise-code/bedrock Ver 4.0~~## |
| 58 | +################################################################################################# |
| 59 | + |
| 60 | +#This Process was changed into shell, that will call another process from Bedrock v4. |
| 61 | +##Global Variables |
| 62 | +StringGlobalVariable('sProcessReturnCode'); |
| 63 | +NumericGlobalVariable('nProcessReturnCode'); |
| 64 | +nProcessReturnCode= 0; |
| 65 | + |
| 66 | +### Constants ### |
| 67 | +cThisProcName = GetProcessName(); |
| 68 | +cUserName = TM1User(); |
| 69 | +cMsgErrorContent= 'User:%cUserName% Process:%cThisProcName% ErrorMsg:%sMessage%'; |
| 70 | +cTimeStamp = TimSt( Now, '\Y\m\d\h\i\s' ); |
| 71 | +cRandomInt = NumberToString( INT( RAND( ) * 1000 )); |
| 72 | +cDebugFile = GetProcessErrorFileDirectory | cThisProcName | '.' | cTimeStamp | '.' | cRandomInt ; |
| 73 | +cTempSubset = cThisProcName | '.' | cRandomInt; |
| 74 | +cTempFile = GetProcessErrorFileDirectory | cTempSubset | '.csv'; |
| 75 | + |
| 76 | +### Initialise Debug ### |
| 77 | +If( pDebug >= 1 ); |
| 78 | + # Set debug file name |
| 79 | + sDebugFile = cDebugFile | 'Prolog.debug'; |
| 80 | + |
| 81 | + # Log start time |
| 82 | + AsciiOutput( sDebugFile, 'Process Started: ' | TimSt( Now, '\d-\m-\Y \h:\i:\s' ) ); |
| 83 | + |
| 84 | + # Log parameters |
| 85 | + AsciiOutput( sDebugFile, 'Parameters: pDays : ' | pDays ); |
| 86 | + AsciiOutput( sDebugFile, ' pDelimiter : ' | pDelimiter ); |
| 87 | + AsciiOutput( sDebugFile, ' pDebug : ' | NumberToString( pDebug ) ); |
| 88 | +EndIf; |
| 89 | + |
| 90 | +#Call v4 TI |
| 91 | +EXECUTEPROCESS('}bedrock.chore.execution.check', |
| 92 | + 'pLogOutput', pDebug, |
| 93 | + 'pStrictErrorHandling',1, |
| 94 | + 'pMonthDays', pDays, |
| 95 | + 'pWeekDays', '', |
| 96 | + 'pDelim', pDelimiter, |
| 97 | + 'pStartTime', '', |
| 98 | + 'pEndTime', '' |
| 99 | + ); |
| 100 | + |
| 101 | +If(nProcessReturnCode = ProcessExitByChoreQuit() ); |
| 102 | + ChoreQuit; |
| 103 | +Endif; |
| 104 | + |
| 105 | + |
| 106 | + |
| 107 | +573,3 |
| 108 | + |
| 109 | +#****Begin: Generated Statements*** |
| 110 | +#****End: Generated Statements**** |
| 111 | +574,3 |
| 112 | + |
| 113 | +#****Begin: Generated Statements*** |
| 114 | +#****End: Generated Statements**** |
| 115 | +575,3 |
| 116 | + |
| 117 | +#****Begin: Generated Statements*** |
| 118 | +#****End: Generated Statements**** |
| 119 | +576,CubeAction=1511DataAction=1503CubeLogChanges=0 |
| 120 | +930,0 |
| 121 | +638,1 |
| 122 | +804,0 |
| 123 | +1217,1 |
| 124 | +900, |
| 125 | +901, |
| 126 | +902, |
| 127 | +938,0 |
| 128 | +937, |
| 129 | +936, |
| 130 | +935, |
| 131 | +934, |
| 132 | +932,0 |
| 133 | +933,0 |
| 134 | +903, |
| 135 | +906, |
| 136 | +929, |
| 137 | +907, |
| 138 | +908, |
| 139 | +904,0 |
| 140 | +905,0 |
| 141 | +909,0 |
| 142 | +911, |
| 143 | +912, |
| 144 | +913, |
| 145 | +914, |
| 146 | +915, |
| 147 | +916, |
| 148 | +917,0 |
| 149 | +918,1 |
| 150 | +919,0 |
| 151 | +920,50000 |
| 152 | +921,"" |
| 153 | +922,"" |
| 154 | +923,0 |
| 155 | +924,"" |
| 156 | +925,"" |
| 157 | +926,"" |
| 158 | +927,"" |
0 commit comments