Is it possible to pass variables from MVS JCL to a DB2 cobol program. Below are the variables that I am setting and the run parameter for the program. If there is another way, I would be interested in that as well. Thanks!
//PO SET PO=12050320
//JV SET JV=030017
//SYSTSIN DD *
DSN SYSTEM(DB83)
RUN PROGRAM(NTSPP11) PLAN(NTSPDPB0) PARM('REPRINT ,&PO,&JV')
END
//PO SET PO=12050320
//JV SET JV=030017
//SYSTSIN DD *
DSN SYSTEM(DB83)
RUN PROGRAM(NTSPP11) PLAN(NTSPDPB0) PARM('REPRINT ,&PO,&JV')
END