Artificial intelligent assistant

COBOLのCALL文のコンパイル方法 vagrantcentos6.5 opencobol1.0 cobol CALL cobc -x --free < MAIN.cobSUB.cob $ cobc -x --free MAIN.cob $ cobc -x --free SUB.cob > SUB.cob:10: Error: Executable program requested but PROCEDURE/ENTRY has USING clause SUB.cob IDENTIFICATION DIVISION. PROGRAM-ID. UTIL. DATA DIVISION. LINKAGE SECTION. 01 LS-STUDENT-ID PIC 9(4). 01 LS-STUDENT-NAME PIC A(15). PROCEDURE DIVISION USING LS-STUDENT-ID, LS-STUDENT-NAME. DISPLAY 'In Called Program'. MOVE 1111 TO LS-STUDENT-ID. EXIT PROGRAM.

**** `OpenCOBOL``SUB``MAIN`

`OpenCOBOL`


cobc -x --free MAIN.cob SUB.cob





$ ./MAIN
In Called Program
Student Id : 1111
Student Name : Tim

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy cc1f2e039b52da87ca2909f7a0de7188