When I using Visual Cobol IDE to run Cobol program in Windows, program 'll run same as in Mainframe or not ?
If not, please show me how to Cobol program run same as in Mainframe ?
Thank you for answering me. Base on your answer, I understand that :
1. If I want to run a Cobol program in windows but need it returns the same result as when running on the Mainframe, there is no other way to run on Mainframe Emulator such as Hercules, ... Is it right ?
2. There are some cases where it is not necessary to run on the Mainframe Emulator, still returning the same results as when running on the Mainframe Emulator. Is it right ? If right, which are the cases that can return correct result (such as simply arithmetic calculation, ....) and which are the cases that can return incorrect results (?, ...) ?
Note : I want to know to just run some test case on Mainframe Emulator when necessary , for saving efforts.
Please support me !
Dear Mr. Michael_Wojcik,
Thank you for anwsering me.
For more details, I would like to present more : my case is i've got some Cobol files ( cbl, cpy). These files are in one of big program which is running in mainframe, but now i need to migrate these files to JAVA (run on windows and linux) and compare 2 output (cobol in Visual Cobol IDE, JAVA) to make sure the migration is correct.
My Cobol files are VS Coboll II - release 4 and not using mainframe APIs and facilities.
So, base on your answer, I think that, can run in windows/linux (without mainframe and mainframe simulator), still return correctly values.
Do you think so ?