MITHARG
Would you like to react to this message? Create an account in a few clicks or log in to continue.

JCL to call COBOL program in SYSIN

Go down

JCL to call COBOL program in SYSIN Empty JCL to call COBOL program in SYSIN

Post  kasthuri Sun Jan 27, 2013 5:09 pm

All,

Is there a way we can call COBOL program full from JCL SYSIN.

I was trying to do something like this.

Code:
//STEP1 EXEC IGYWCG
//SYSPRINT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//SYSIN DD *
IDENTIFICATION DIVISION.
PROGRAM-ID. ADDPGM.
ENVIRONMENT DIVISION.
DATA DIVISION.
WORKING-STORAGE SECTION.
77 NUM1 PIC 9(3) VALUE ZEROS.
77 NUM2 PIC 9(3) VALUE ZEROS.
77 RESU PIC 9(4) VALUE ZEROS.
PROCEDURE DIVISION.
MAIN-PARA.
DISPLAY 'ENTER THE NUMBER ONE VALUE'.
STOP RUN.



code' d
Please let me know whether it is possible.

kasthuri

Posts : 212
Join date : 2013-01-27

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum