| Cevela about COBOL | COBOL language - Home - Site Map - About Cevela - MX COBOL <prev next> |
MX-1
call "ICHEXA" using Dat-1 [Dat-2]
Num-2
|
MX-1
call "ICMOVEX" using Dat-1 Dat-2 [Dat-3]
Num-3
|
MX-1
call "ICMVC" using DatX-1 Dat-2 DatX-3 Dat-4 Dat-5
Num-2 Num-4 Num-5
|
MX-1
call "ICPACKB" DatX-8 DatX-1
|
Ex-a
000000*
working-storage section.
77 B pic x(8).
77 X pic x.
procedure division.
call "ICPACKB" using B X.
|
MX-1
call "ICUNPKB" DatX-1 DatX-8
|
Ex-a
000000*
working-storage section.
77 X pic x.
77 B pic x(8).
procedure division.
call "ICUNPKB" using X B.
|
MX-1
call "ICUGETV" using Dat-1 [Dat-2]
Num-2
|
MX-1
call "ICUFREE" using Dat-1
|
MX-1
call "ICVIRG" using Dat-1 [Dat-2] DatX-3 "READ"
Num-2 LitX-3 "UPDATE"
"WRITE"
"APPEND"
|
MX-1
call "ICVIRF" using Dat-1 [Dat-2]
Num-2
|
MX-1
call "ICSORT" using Dat-1 [Dat-2]
Num-2
Ind-2
|
Ex-a
000000*
working-storage section.
1 TAB.
2 F pic 99.
2 TXT pic x(20) occurs 10
ascending TXT indexed I depending F.
procedure division.
call "ICSORT" using TXT F.
|
MX-1
call "ICVOLNY" using DatX-1 Dat9-2 Dat9-3
|
MX-1
call "ICTIMEB"
|
Ex-a
000000*
working-storage section.
1 SEC pic 9(8).
procedure division.
call "ICTIMEB".
move tally to SEC.
exhibit named SEC.
stop " ".
call "ICTIMEB".
move tally to SEC.
exhibit named SEC.
stop " ".
|
MX-1
call "ICGEN"
|
Ex-a
000000*
working-storage section.
1 GEN pic 9(8).
procedure division.
call "ICGEN".
move tally to GEN.
exhibit named GEN.
call "ICGEN".
move tally to GEN.
exhibit named GEN.
stop " ".
|
MX-1
call "ICF.." using Dat9-1 Dat9-2
Lit9-1
|