I have assembler program that performs some sort of character conversions.
Input parameters that I need to pass it:
Type Digit Attribute
char 2
char 1
char 1
num 3 binary
char 501
char 501
char 1
COBOL calls to this Assembler:
in WORKING-STORAGE...
05 WK-P1.
10 WK-RC PIC X(0002).
10 WK-KBN PIC X(0001).
10 FILLER PIC X(0001).
10 WK-NUMBER PIC 9(0003) COMP.
05 WK-P2.
10 WK-BEFORE PIC X(0510).
05 WK-P3.
10 WK-AFTER PIC X(0510).
05 WK-P4.
10 WK-CANNOT-CODE PIC X(0002).
10 WK-RC PIC X(0002).
10 WK-KBN PIC X(0001).
10 FILLER PIC X(0001).
10 WK-NUMBER PIC 9(0003) COMP.
05 WK-P2.
10 WK-BEFORE PIC X(0510).
05 WK-P3.
10 WK-AFTER PIC X(0510).
05 WK-P4.
10 WK-CANNOT-CODE PIC X(0002).
in PROCEDURE...
CALL WK-PGMNAME USING WK-P1
WK-P2
WK-P3
WK-P4
WK-P2
WK-P3
WK-P4