Skip to content

Commit ab20694

Browse files
TGTCCSID to *JOB
Signed-off-by: Sanjula Ganepola <Sanjula.Ganepola@ibm.com>
1 parent 8f00bce commit ab20694

File tree

1 file changed

+47
-47
lines changed

1 file changed

+47
-47
lines changed

src/content/docs/developing/testing/configuring.mdx

Lines changed: 47 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -72,15 +72,15 @@ Use the following steps to create a default configuration for your project:
7272
{
7373
"rpgunit": {
7474
"rucrtrpg": {
75-
"tgtCcsid": 37,
75+
"tgtCcsid": "*JOB",
7676
"dbgView": "*SOURCE",
7777
"rpgPpOpt": "*LVL2",
7878
"cOption": [
7979
"*EVENTF"
8080
]
8181
},
8282
"rucrtcbl": {
83-
"tgtCcsid": 37,
83+
"tgtCcsid": "*JOB",
8484
"dbgView": "*SOURCE",
8585
"cOption": [
8686
"*EVENTF"
@@ -147,7 +147,7 @@ Here is an example with all execution parameters set in the `testing.json` file:
147147
|`compileOpt` |Pre-Compiler COMPILEOPT |Refer to the `COMPILEOPT` parameter in `CRTSQLRPGI` command help. | |
148148
|`tgtRls` |Target release |Refer to the `TGTRLS` parameter in `CRTSRVPGM` command help. | |
149149
|`incDir` |Include directory |Specifies one or more directories to add to the search path used by the compiler to find copy files. The compiler will search the directories specified here if the copy files in the source program can not be resolved. | |
150-
|`tgtCcsid` |Target CCSID |Specifies the CCSID that the compiler uses to read the source files. |37 |
150+
|`tgtCcsid` |Target CCSID |Specifies the CCSID that the compiler uses to read the source files. |*JOB |
151151
|`wrapperCmd` |Wrapper Command |Specifies a custom command to wrap the `RUCRTRPG` command. | |
152152
</TabItem>
153153
<TabItem label="RUCRTCBL" >
@@ -167,7 +167,7 @@ Here is an example with all execution parameters set in the `testing.json` file:
167167
|`compileOpt` |Pre-Compiler COMPILEOPT |Refer to the `COMPILEOPT` parameter in `CRTSQLCBLI` command help. | |
168168
|`tgtRls` |Target release |Refer to the `TGTRLS` parameter in `CRTSRVPGM` command help. | |
169169
|`incDir` |Include Directory |Specifies one or more directories to add to the search path used by the compiler to find copy files. The compiler will search the directories specified here if the copy files in the source program can not be resolved. | |
170-
|`tgtCcsid` |Target CCSID |Specifies the CCSID that the compiler uses to read the source files. |37 |
170+
|`tgtCcsid` |Target CCSID |Specifies the CCSID that the compiler uses to read the source files. |*JOB |
171171
|`wrapperCmd` |Wrapper Command |Specifies a custom command to wrap the `RUCRTCBL` command. | |
172172
</TabItem>
173173
<TabItem label="CODECOV" >
@@ -189,50 +189,50 @@ Here is an example with all execution parameters set in the `testing.json` file:
189189
</TabItem>
190190
</Tabs>
191191

192-
<Aside type="note">
193-
The `wrapperCmd` parameter in the `RUCRTRPG`/`RUCRTCBL`/`RUCALLTST` specifications are not actual parameters of the RPGUnit commands, but rather are provided by the extension to allow wrappering them. This is primarily used when integrating RPGUnit with other vendor tools.
194-
195-
**Example `testing.json` configuration**:
196-
```json
197-
{
198-
"rpgunit": {
199-
"rucrtrpg": {
200-
"tgtCcsid": 37,
201-
"dbgView": "*SOURCE",
202-
"cOption": [
203-
"*EVENTF"
204-
],
205-
"wrapperCmd": {
206-
"cmd": "MYLIB/MYCMD TSTCMD",
207-
"params": {
208-
"desc": "My description"
209-
}
192+
<Aside type="note">
193+
The `wrapperCmd` parameter in the `RUCRTRPG`/`RUCRTCBL`/`RUCALLTST` specifications are not actual parameters of the RPGUnit commands, but rather are provided by the extension to allow wrappering them. This is primarily used when integrating RPGUnit with other vendor tools.
194+
195+
**Example `testing.json` configuration**:
196+
```json
197+
{
198+
"rpgunit": {
199+
"rucrtrpg": {
200+
"tgtCcsid": "*JOB",
201+
"dbgView": "*SOURCE",
202+
"cOption": [
203+
"*EVENTF"
204+
],
205+
"wrapperCmd": {
206+
"cmd": "MYLIB/MYCMD TSTCMD",
207+
"params": {
208+
"desc": "My description"
210209
}
211-
},
212-
"rucalltst": {
213-
"wrapperCmd": {
214-
"cmd": "MYLIB/MYCMD CALLCMD",
215-
"params": {
216-
"desc": "My description"
217-
}
210+
}
211+
},
212+
"rucalltst": {
213+
"wrapperCmd": {
214+
"cmd": "MYLIB/MYCMD CALLCMD",
215+
"params": {
216+
"desc": "My description"
218217
}
219218
}
220219
}
221-
}
222-
```
223-
**Resolved compile command**:
224-
```js
225-
MYLIB/MYCMD TSTCMD(RPGUNIT/RUCRTRPG TSTPGM(MYUSER/TEMPDET)
226-
SRCSTMF('/home/MYUSER/builds/ibmi-company_system/qtestsrc/empdet.test.sqlrpgle')
227-
TGTCCSID(37) DBGVIEW(*SOURCE) COPTION(*EVENTF) RPGPPOPT(*LVL2)
228-
INCDIR('''/home/MYUSER/builds/ibmi-company_system''')) DESC('My description')
229-
```
230-
231-
**Resolved execution command**:
232-
```js
233-
MYLIB/MYCMD CALLCMD(RPGUNIT/RUCALLTST TSTPGM(MYUSER/TEMPDET) ORDER(*REVERSE)
234-
DETAIL(*ALL) OUTPUT(*ALLWAYS) LIBL(*CURRENT) JOBD(*DFT) RCLRSC(*NO)
235-
XMLSTMF('/tmp/testing/vscode-ibmi-testing/RPGUNIT/TEMPDET_1751646914682.xml'))
236-
DESC('My description')
237-
```
238-
</Aside>
220+
}
221+
}
222+
```
223+
**Resolved compile command**:
224+
```js
225+
MYLIB/MYCMD TSTCMD(RPGUNIT/RUCRTRPG TSTPGM(MYUSER/TEMPDET)
226+
SRCSTMF('/home/MYUSER/builds/ibmi-company_system/qtestsrc/empdet.test.sqlrpgle')
227+
TGTCCSID(*JOB) DBGVIEW(*SOURCE) COPTION(*EVENTF) RPGPPOPT(*LVL2)
228+
INCDIR('''/home/MYUSER/builds/ibmi-company_system''')) DESC('My description')
229+
```
230+
231+
**Resolved execution command**:
232+
```js
233+
MYLIB/MYCMD CALLCMD(RPGUNIT/RUCALLTST TSTPGM(MYUSER/TEMPDET) ORDER(*REVERSE)
234+
DETAIL(*ALL) OUTPUT(*ALLWAYS) LIBL(*CURRENT) JOBD(*DFT) RCLRSC(*NO)
235+
XMLSTMF('/tmp/testing/vscode-ibmi-testing/RPGUNIT/TEMPDET_1751646914682.xml'))
236+
DESC('My description')
237+
```
238+
</Aside>

0 commit comments

Comments
 (0)