1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
|
[header]
categories="Cobol Beautifier|Renumbering|Generic Reporting|Cobol Dialects|Extra Features|Copy Libraries|Parser Messages|Length and Offset|PrettyPrint Basics|PrettyPrint Indentation|Output Comments|Line Identification"
cfgFileParameterEnding=" "
configFilename=
fileTypes=*.cbl|*.cob
indenterFileName=cbl-beau.exe
indenterName=Cobol Beautifier (Cobol)
inputFileName=indentinput
inputFileParameter=" "
manual=http://www.siber.com/sct/tools/cbl-beau.html
outputFileName=indentoutput
outputFileParameter="-gen-file="
parameterOrder=ipo
showHelpParameter="-help"
stringparaminquotes=false
useCfgFileParameter=
version=1.0
[Add value clause]
Category=0
Description="<html>Add VALUE clauses to WS data items that have no VALUE clause</html>"
ValueDefault=0
Enabled=false
EditorType=boolean
TrueFalse="-add-value-clause|"
[Norm dd levels]
Category=0
Description="<html>Normalize data item level numbers</html>"
ValueDefault=0
Enabled=false
EditorType=boolean
TrueFalse="-norm-dd-levels|"
[Add end stmts]
Category=0
Description="<html>Add END-IF, END-SEARCH, END-EVALUATE, END-PERFORM closing statements</html>"
ValueDefault=0
Enabled=false
EditorType=boolean
TrueFalse="-add-end-stmts|"
[Section name fmt]
CallName="-section-name-fmt="
Category=1
Description="<html>Section name format, smth like T1%dT2%sT3</html>"
EditorType=string
Enabled=false
ValueDefault="T1%dT2%sT3"
[Section name start]
CallName="-section-name-start="
Category=1
Description="<html>Start value for number in section name</html>"
EditorType=numeric
Enabled=false
MaxVal=9999
MinVal=0
ValueDefault=1
[Section name step]
CallName="-section-name-step="
Category=1
Description="<html>Step for number in section name</html>"
EditorType=numeric
Enabled=false
MaxVal=9999
MinVal=0
ValueDefault=1
[Para name fmt]
CallName="-para-name-fmt="
Category=1
Description="<html>Paragraph name format, smth like T1%dT2%sT3</html>"
EditorType=string
Enabled=false
ValueDefault="T1%dT2%sT3"
[Para name start]
CallName="-para-name-start="
Category=1
Description="<html>Start value for counter in paragraph name</html>"
EditorType=numeric
Enabled=false
MaxVal=9999
MinVal=0
ValueDefault=1
[Para name step]
CallName="-para-name-step="
Category=1
Description="<html>Step for counter in paragraph name</html>"
EditorType=numeric
Enabled=false
MaxVal=9999
MinVal=0
ValueDefault=1
[Data name fmt]
CallName="-data-name-fmt="
Category=1
Description="<html>Data name format, smth like T1%dT2%sT3</html>"
EditorType=string
Enabled=false
ValueDefault="T1%dT2%sT3"
[Data name start]
CallName="-data-name-start="
Category=1
Description="<html>Start value for number in data name</html>"
EditorType=numeric
Enabled=false
MaxVal=9999
MinVal=0
ValueDefault=1
[Data name step]
CallName="-data-name-step="
Category=1
Description="<html>Step for number in data name</html>"
EditorType=numeric
Enabled=false
MaxVal=9999
MinVal=0
ValueDefault=1
[Conv warn]
Category=2
Description="<html>Warn about transformation problems</html>"
ValueDefault=1
Enabled=true
EditorType=boolean
TrueFalse="-conv-warn|-no-conv-warn"
[Conv info]
Category=2
Description="<html>Inform about every transformation performed</html>"
ValueDefault=0
Enabled=false
EditorType=boolean
TrueFalse="-conv-info|-no-conv-info"
[Conv list]
Category=2
Description="<html>List all transformations applied</html>"
ValueDefault=0
Enabled=false
EditorType=boolean
TrueFalse="-conv-list|-no-conv-list"
[Find only]
Category=2
Description="<html>Only list potential transformations, do not execute them</html>"
ValueDefault=0
Enabled=false
EditorType=boolean
TrueFalse="-find-only|-no-find-only"
[Silent]
Category=2
Description="<html>Do not print short summary of the conversion</html>"
ValueDefault=0
Enabled=false
EditorType=boolean
TrueFalse="-silent|-no-silent"
[Primary Cobol dialect]
Category=3
Description="<html>Set the primary Cobol dialect</html>"
ValueDefault=1
Enabled=false
EditorType=multiple
Choices="-lang=ansi74|-lang=ansi85|-lang=osvs|-lang=vsii|-lang=saa|-lang=xopen|-lang=mf|-lang=ms|-lang=rm|-lang=rm85|-lang=dosvs|-lang=univac|-lang=wang|-lang=fsc|-lang=net|-lang=fscnet|-lang=icobol|-lang=acu|-lang=dml|-lang=idms"
ChoicesReadable="Ansi 74|Ansi 85|OSVS|VSII|SAA|XOpen|MF|MS|RM|RM 85|DOSVS|UniVAC|Wang|FSC|Net|FSCnet|iCobol|ACU|DML|IDMS"
[Secondary Cobol dialect]
Category=3
Description="<html>Set the secondary Cobol dialect</html>"
ValueDefault=0
Enabled=false
EditorType=multiple
Choices="-lang2=ansi74|-lang2=ansi85|-lang2=osvs|-lang2=vsii|-lang2=saa|-lang2=xopen|-lang2=mf|-lang2=ms|-lang2=rm|-lang2=rm85|-lang2=dosvs|-lang2=univac|-lang2=wang|-lang2=fsc|-lang2=net|-lang2=fscnet|-lang2=icobol|-lang2=acu|-lang2=dml|-lang2=idms"
ChoicesReadable="Ansi 74|Ansi 85|OSVS|VSII|SAA|XOpen|MF|MS|RM|RM 85|DOSVS|UniVAC|Wang|FSC|Net|FSCnet|iCobol|ACU|DML|IDMS"
[Line format]
Category=3
Description="<html>Set the secondary Cobol dialect</html>"
ValueDefault=0
Enabled=false
EditorType=multiple
Choices="-line-format=dial|-line-format=fixed|-line-format=free|-line-format=fsc-free|-line-format=var"
ChoicesReadable="Dial|fixed|free|FSC free|var"
[Progid comments]
Category=3
Description="<html>Allow Program-Id line comments</html>"
ValueDefault=0
Enabled=false
EditorType=boolean
TrueFalse="-progid-comments|-no-progid-comments"
[Separators follow spaces]
Category=3
Description="<html>Separators must be followed by spaces</html>"
ValueDefault=0
Enabled=false
EditorType=multiple
Choices="-sep-space-reqd=dial|-sep-space-reqd=no|-sep-space-reqd=yes"
ChoicesReadable="Dial|No|Yes"
[Exclude keywords]
CallName="-exclude-keywords="
Category=3
Description="<html>Excluded keywords (separated by spaces?)</html>"
EditorType=string
Enabled=false
ValueDefault=""
[Set constants]
CallName="-set-constants="
Category=4
Description="<html>78 constant settings, strings: name'value', numbers: name(value)</html>"
EditorType=string
Enabled=false
ValueDefault=""
[Assign external]
Category=4
Description="<html>Assume that undefined data items in ASSIGN TO are external</html>"
ValueDefault=0
Enabled=false
EditorType=boolean
TrueFalse="-assign-external|-no-assign-external"
[SQL]
Category=4
Description="<html>Parse SQL in EXEC SQL</html>"
ValueDefault=0
Enabled=false
EditorType=boolean
TrueFalse="-sql|-no-sql"
[CICS]
Category=4
Description="<html>Parse CICS statements embedded in EXEC CICS ... END-EXEC</html>"
ValueDefault=0
Enabled=false
EditorType=boolean
TrueFalse="-cics|-no-cics"
[CICS EIB]
Category=4
Description="<html>Add CICS EIB data block to LINKAGE SECTION</html>"
ValueDefault=0
Enabled=false
EditorType=multiple
Choices="-cics-eib=auto|-cics-eib=no|-cics-eib=yes"
ChoicesReadable="Auto|No|Yes"
[Copylib dir]
CallName="-copylib-dir="
Category=5
Description="<html>Copylib directories path</html>"
EditorType=string
Enabled=false
ValueDefault="."
[Copylib suffix]
CallName="-copylib-sfx="
Category=5
Description="<html>Copylib files default suffix(es)</html>"
EditorType=string
Enabled=false
ValueDefault=".cpy"
[Copylib names]
Category=5
Description="<html>Add CICS EIB data block to LINKAGE SECTION</html>"
ValueDefault=0
Enabled=false
EditorType=multiple
Choices="-copynames-case=exact|-copynames-case=lower|-copynames-case=upper"
ChoicesReadable="Exact|Lower|Upper"
[Copylib old]
Category=5
Description="<html>Allow old 1968 Copy statements</html>"
ValueDefault=0
Enabled=false
EditorType=boolean
TrueFalse="-old-copy|-no-old-copy"
[Copylib irreversibly]
Category=5
Description="<html>Inline copybooks irreversibly</html>"
ValueDefault=0
Enabled=false
EditorType=boolean
TrueFalse="-irrev-inline|-no-irrev-inline"
[Warnings]
Category=6
Description="<html>Display Warnings</html>"
ValueDefault=0
Enabled=false
EditorType=boolean
TrueFalse="-warnings|-no-warnings"
[Muli undef errors]
Category=6
Description="<html>Error message for every (OFF: only first) use of undefined name</html>"
ValueDefault=0
Enabled=false
EditorType=boolean
TrueFalse="-multi-undefd-errs|-no-multi-undefd-errs"
[Same para data name]
Category=6
Description="<html>One name can be used both as paragraph-name and data-name</html>"
ValueDefault=0
Enabled=false
EditorType=multiple
Choices="-same-para-data-name=dial|-same-para-data-name=no|-same-para-data-name=yes"
ChoicesReadable="Dial|No|Yes"
[Lengths and offsets]
Category=7
Description="<html>Compute data item lengths and offsets</html>"
ValueDefault=0
Enabled=false
EditorType=boolean
TrueFalse="-leng-offs|-no-leng-offs"
[Storage mode]
Category=7
Description="<html>Is Numeric Sign a Trailing Separate Character</html>"
ValueDefault=0
Enabled=false
EditorType=multiple
Choices="-lo-stor-mode=dial|-lo-stor-mode=no|-lo-stor-mode=yes"
ChoicesReadable="Dial|No|Yes"
[Numeric sign trailing separate]
Category=7
Description="<html>Is Numeric Sign a Trailing Separate Character</html>"
ValueDefault=0
Enabled=false
EditorType=multiple
Choices="-num-sign-trail-sep=dial|-num-sign-trail-sep=no|-num-sign-trail-sep=yes"
ChoicesReadable="Dial|No|Yes"
[Num sign EBCDIC]
Category=7
Description="<html>Is Numeric Sign an EBCDIC character</html>"
ValueDefault=0
Enabled=false
EditorType=boolean
TrueFalse="-num-sign-ebcdic|-no-num-sign-ebcdic"
[Lo pointer size]
CallName="-lo-pointer-size="
Category=7
Description="<html>Memory model: Pointer size</html>"
EditorType=numeric
Enabled=true
MaxVal=99
MinVal=1
ValueDefault=4
[Lo proc pointer size]
CallName="-lo-proc-pointer-size="
Category=7
Description="<html>Memory model: Procedure-Pointer size</html>"
EditorType=numeric
Enabled=true
MaxVal=99
MinVal=1
ValueDefault=4
[Lo index size]
CallName="-lo-index-size="
Category=7
Description="<html>Memory model: Index size</html>"
EditorType=numeric
Enabled=true
MaxVal=99
MinVal=1
ValueDefault=4
[Lo unfold flex arrays]
Category=7
Description="<html>Compute length of table with OCCURS DEPENDING ON based on upper bounds</html>"
ValueDefault=1
Enabled=true
EditorType=boolean
TrueFalse="-lo-unfold-flex-arrays|-no-lo-unfold-flex-arrays"
[Progress]
Category=7
Description="<html>Display Parsing Progress Indicator</html>"
ValueDefault=0
Enabled=false
EditorType=boolean
TrueFalse="-progress|-no-progress"
[Bailout level]
Category=7
Description="<html>Level of parser messages that cause bailout</html>"
ValueDefault=2
Enabled=false
EditorType=multiple
Choices="-bailout-level=warnings|-bailout-level=errors|-bailout-level=severe"
ChoicesReadable="Warnings|Errors|Severe"
[Stats]
Category=7
Description="<html>Print short source program statistics</html>"
ValueDefault=0
Enabled=false
EditorType=boolean
TrueFalse="-stat|-no-stat"
[Genereate SourcePrint]
Category=8
Description="<html>Generate Cobol in SourcePrint (ON) / PrettyPrint(OFF) mode</html>"
ValueDefault=0
Enabled=false
EditorType=boolean
TrueFalse="-gen-src|-no-gen-src"
[Copybook dir]
CallName="-gen-copy-dir="
Category=8
Description="<html>Write copybooks to this directory</html>"
EditorType=string
Enabled=false
ValueDefault=""
[Indent size]
CallName="-gen-indent-step="
Category=9
Description="<html>Indentation step</html>"
EditorType=numeric
Enabled=true
MaxVal=99
MinVal=1
ValueDefault=2
[Indent max]
CallName="-gen-max-indent="
Category=9
Description="<html>Maximum starting position for indented text</html>"
EditorType=numeric
Enabled=true
MaxVal=99
MinVal=1
ValueDefault=40
[Tabs]
CallName="-gen-tabs="
Category=9
Description="<html>Tabulation Positions</html>"
EditorType=string
Enabled=false
ValueDefault="12,24,32,42,44,54"
[Line format]
Category=9
Description="<html>Generated line format</html>"
ValueDefault=1
Enabled=false
EditorType=multiple
Choices="-gen-line-format=na|-gen-line-format=fixed|-gen-line-format=free|-gen-line-format=fsc-free|-gen-line-format=var"
ChoicesReadable="Na|Fixed|Free|FSC-free|Var"
[Observe rules]
Category=9
Description="<html>Observe Area A/B rules in generated code</html>"
ValueDefault=1
Enabled=true
EditorType=boolean
TrueFalse="-gen-observe-ab-rules |-no-gen-observe-ab-rules "
[Preserve comments]
Category=10
Description="<html>Preserve comments</html>"
ValueDefault=1
Enabled=true
EditorType=boolean
TrueFalse="-gen-print-comments |-no-gen-print-comments "
[Enter Exit comments]
Category=10
Description="<html>Generate Enter/Exit comments around inlined copybooks</html>"
ValueDefault=1
Enabled=true
EditorType=boolean
TrueFalse="-gen-enter-exit-copy-comments|-no-gen-enter-exit-copy-comments"
[Preserve line IDs]
Category=11
Description="<html>Preserve original Line IDs (cols 1-6, 73-80)</html>"
ValueDefault=1
Enabled=true
EditorType=boolean
TrueFalse="-gen-line-id-comments|-no-gen-line-id-comments"
[Put text 73-80]
CallName="-gen-73to80-fmt="
Category=11
Description="<html>Put text of this format into columns 73 to 80</html>"
EditorType=string
Enabled=false
ValueDefault=""
[Start number 73-80]
CallName="-gen-73to80-start="
Category=11
Description="<html>Start value for number put into columns 73 to 80</html>"
EditorType=numeric
Enabled=true
MaxVal=99
MinVal=1
ValueDefault=1
[Step number 73-80]
CallName="-gen-73to80-step="
Category=11
Description="<html>Step for number put into columns 73 to 80</html>"
EditorType=numeric
Enabled=true
MaxVal=99
MinVal=1
ValueDefault=1
[Convert comments]
CallName="-gen-mark-conv="
Category=11
Description="<html>Add comment in columns 73 and up that show that line was changed or generated</html>"
EditorType=string
Enabled=false
ValueDefault=""
|