[Migrated content. Thread originally posted on 04 April 2011]
Hi Folks,Were trying to delopy for the first time a simple .net managed application to run under the COBOL 2010 runtime.
I believe my issue is that the DD's in COBOL program are not being set. Were using a bat file to execute the program(shown at bottom). We are getting this error on the first OPEN. Is setting a DD even possible under a managed application via a bat file ? Any or coments are welcome.
Thanks
Dave
Unhandled Exception: COBOLFileHandlingException
'' : 9/004 (ANS74)
4 Illegal file name
at Void SP70._MF_PERFORM_SP70_3(MicroFocus.COBOL.Program.RunUnitThread _MF_THR
EAD_ID)
at Int32 SP70.SP70()
at Int32 SP70._MF_ENTRY()
EM SP70 JOB:
set path=C:\\Program Files (x86)\\Micro Focus\\COBOL 2010 Runtime\\bin
set TK="E:\\MFCFiles\\OSMIS_DATA\\PTK.I10"
REM Input Files:
set ISP61="E:\\JOBS\\SP60\\PSP61P01.R44s"
set ISP62="E:\\JOBS\\SP60\\PSP62P01.R44s"
set ISP63="E:\\JOBS\\SP60\\PSP63P01.R44s"
REM Output Files:
set sp70r="E:\\JOBS\\SP70\\SP70R.txt"
set out3="E:\\JOBS\\SP70\\OUT3.txt"
set RDI20A="E:\\JOBS\\SP70\\RDI20A.txt"
set RDI20B="E:\\JOBS\\SP70\\RDI20B.txt"
set RDI20c="E:\\JOBS\\SP70\\RDI20c.txt"
E:\\MFCFiles\\OSMIS_PGMEXE\\sp70Prj




