| Cevela about COBOL | COBOL language - Home - Site Map - About Cevela - MX COBOL <prev next> |
60-1
copy LitX-1 replacing
replac-spec*
Word-2 by Word-3
Lit-2 Lit-3
==Text-2== ==Text-3== 02-1
...
.
|
MX-1
ufo {"C-string-1" COBOL-operand-2 ["C-string-3"]} ... [#a0#]
ufd
|
ufo-a.cb
000000 working-storage section.
1 P pic x(255) value space.
1 L pic 9999 comp.
*
procedure division.
UFD "#include <string.h>" #0a#.
UFO " " *L " " "= argc;".
UFO "strcpy(" P ",argv[1]);".
*
exhibit named P.
|
@echo off
rem ufo-b.cmd
echo.
ufo-a.exe "param-1 ... param-n (max 255 characters)"
pause
|
MF-1
exec cics
html
java
"statements in external language with COBOL operands"
...
end-exec
|
MX-1
bldind dat-name* idx-name* 0/D rec-l* key-pos* key-l*
|
mxc [-a] [-b] [-c] [-g] [-p] [-s] [-t] [-v] [-oname]
[source.cb...] [program.c...] [modul...] [library...]
-a .. executable program animation - in DOS only
-b .. cobol compilation only
-c .. no linking
-g .. cobol compilation listing to source.g
-p .. compilation with optimalisation
-s .. to save source.c and source.d (C-language and C-include)
-t .. large program source.cb compilation
-v .. cobol program without start-address
-oname .. executable program name
|