FireStarter1
Programmer
It may confuse people a bit, but read carefully.
I am a Cobol Programmer developing an application on the Mainframe. My project is formatting records in a file that is going to be FTPed to Workstation. There was an application that was doing everything on the workstation but right now as it is getting migrated to Mainframe I need to do the same.
This may be a worst case scenario programmers are going to face in another 2 years, the applications which is developed in C++ was developed by a German company. Right now what we have is only a part of their documentation which is ofcourse is in German and no source code is available.
I have figured out what the application is doing by a data viewer which supplied by the German company except for one field. Which is declared as a Double. I COBOL this is declared as a COMP-2 but the viewer shows it as different. Here are details.
This is the actual value I am passing into the COMP-2 variable: 93128765
This is stored in the variable as this value: -.41104670346953626E 69
This is the value the viewer is showing up: -1.76575968696798E+260 when it should have shown up 93128765. Can anyone tell me how to get the right values in the viewer.
If you need more info please e-mail me at FIRESTARTER@mainframer.net
Thanks.
I am a Cobol Programmer developing an application on the Mainframe. My project is formatting records in a file that is going to be FTPed to Workstation. There was an application that was doing everything on the workstation but right now as it is getting migrated to Mainframe I need to do the same.
This may be a worst case scenario programmers are going to face in another 2 years, the applications which is developed in C++ was developed by a German company. Right now what we have is only a part of their documentation which is ofcourse is in German and no source code is available.
I have figured out what the application is doing by a data viewer which supplied by the German company except for one field. Which is declared as a Double. I COBOL this is declared as a COMP-2 but the viewer shows it as different. Here are details.
This is the actual value I am passing into the COMP-2 variable: 93128765
This is stored in the variable as this value: -.41104670346953626E 69
This is the value the viewer is showing up: -1.76575968696798E+260 when it should have shown up 93128765. Can anyone tell me how to get the right values in the viewer.
If you need more info please e-mail me at FIRESTARTER@mainframer.net
Thanks.