Hello Guys,
we all know that if we want to execute a program, we need to use JCL, JCL can be below:
//XXX JOB ...
//...
//STEP1 EXEC PGM=ABC
//FILEIN DD DSN=DS1, DISP=XXX
//FILEOUT DD DSN=DS2, DISP=XXX
//SYSIN DD *
...
/*
and we know we also can execute a program using CALL in COBOL, and the FILEIN, FILEOUT, SYSIN in COBOL are something that are used to be
input-output files, so my question is, Can we call ABC and configure it with FILEIN, FILEOUT AND SYSIN in COBOL to make it run?
Many thanks all