Skip to main content

Hi,

We are facing issues while animating the COBOL programs using Net Express. Please see the below details and please refer the attached document for more information.

While executing the jobs in our application using the executable files (.DLL& .EXE etc.), the jobs ran without any errors.  During the jobs execution process, we have data base calls where Cobol will fetch the information from data base (SQLSERVER/DB2). There were no issues while fetching the information using exe files. 

However when we tried to Debug the Cobol programs by using Micro Focus Net Express Animation process, we found issues while retrieving the data from the data base. There was no data base errors (SQL code is zero after executing the SQL statement) after the data base calls, however the numeric data fields after the data base calls having the illegal data. Please see the below detailed information about the problem. 

Detailed information about the issue: 

We have an issue with the data retrieval from the data base while animating the Cobol in windows environment using Net Express. Some of the numeric fields having the non-numeric data after the data base call and that’s causing the problem while moving the data base retrieved value to local data variables. We have also verified the data in data base and the data showing correctly with numeric info. This issue is stopping us to proceed further with the animation of Cobol programs in windows environment. 

For e.g. while retrieving the data from site parameter table (SITE-PARM) for “DEFAULT FED TAX EXEMPT CT” code, we are getting the illegal data in SITE-PARAMETER-NUM field after the GU – Get Unique record call (as shown below). 

However the data base having proper value in this field as shown below. We are not sure why we are getting the non-numeric data after the GU call. Would you please suggest us if you have any idea about this error, that should help us to proceed further. Please let us know if you need more details. 

Thanks & Regards,

Gopal

 

Issue_5F00_Details.docx   

Hi,

We are facing issues while animating the COBOL programs using Net Express. Please see the below details and please refer the attached document for more information.

While executing the jobs in our application using the executable files (.DLL& .EXE etc.), the jobs ran without any errors.  During the jobs execution process, we have data base calls where Cobol will fetch the information from data base (SQLSERVER/DB2). There were no issues while fetching the information using exe files. 

However when we tried to Debug the Cobol programs by using Micro Focus Net Express Animation process, we found issues while retrieving the data from the data base. There was no data base errors (SQL code is zero after executing the SQL statement) after the data base calls, however the numeric data fields after the data base calls having the illegal data. Please see the below detailed information about the problem. 

Detailed information about the issue: 

We have an issue with the data retrieval from the data base while animating the Cobol in windows environment using Net Express. Some of the numeric fields having the non-numeric data after the data base call and that’s causing the problem while moving the data base retrieved value to local data variables. We have also verified the data in data base and the data showing correctly with numeric info. This issue is stopping us to proceed further with the animation of Cobol programs in windows environment. 

For e.g. while retrieving the data from site parameter table (SITE-PARM) for “DEFAULT FED TAX EXEMPT CT” code, we are getting the illegal data in SITE-PARAMETER-NUM field after the GU – Get Unique record call (as shown below). 

However the data base having proper value in this field as shown below. We are not sure why we are getting the non-numeric data after the GU call. Would you please suggest us if you have any idea about this error, that should help us to proceed further. Please let us know if you need more details. 

Thanks & Regards,

Gopal

 

Issue_5F00_Details.docx   

It would be better to report these types of problems to Customer Care as a support incident instead of posting them on this forum, especially since this problem is keeping you from moving forward.

Since you mention when running as .exe/.dll it does not receive the invalid numeric data error and it does when you are debugging then I am assuming that perhaps you are not debugging using the .exe/.dll format but are instead using .int, is this a correct assumption?

My guess is that the invalid data error is always occurring but is not being reported when using exe/.dll because the check directive is not turned on by default, whereas it is when compiling to .int.

You can test this easily by compiling under debug and setting the nocheck directive or starting your application using the -F run-time switch.

Do you know what the actual values are that are being stored in the numeric fields after the fetch is done? If you examine the data item and then display its content in hex, what are the sequence of bytes being stored and how is the host variable defined?

Hi,

We are facing issues while animating the COBOL programs using Net Express. Please see the below details and please refer the attached document for more information.

While executing the jobs in our application using the executable files (.DLL& .EXE etc.), the jobs ran without any errors.  During the jobs execution process, we have data base calls where Cobol will fetch the information from data base (SQLSERVER/DB2). There were no issues while fetching the information using exe files. 

However when we tried to Debug the Cobol programs by using Micro Focus Net Express Animation process, we found issues while retrieving the data from the data base. There was no data base errors (SQL code is zero after executing the SQL statement) after the data base calls, however the numeric data fields after the data base calls having the illegal data. Please see the below detailed information about the problem. 

Detailed information about the issue: 

We have an issue with the data retrieval from the data base while animating the Cobol in windows environment using Net Express. Some of the numeric fields having the non-numeric data after the data base call and that’s causing the problem while moving the data base retrieved value to local data variables. We have also verified the data in data base and the data showing correctly with numeric info. This issue is stopping us to proceed further with the animation of Cobol programs in windows environment. 

For e.g. while retrieving the data from site parameter table (SITE-PARM) for “DEFAULT FED TAX EXEMPT CT” code, we are getting the illegal data in SITE-PARAMETER-NUM field after the GU – Get Unique record call (as shown below). 

However the data base having proper value in this field as shown below. We are not sure why we are getting the non-numeric data after the GU call. Would you please suggest us if you have any idea about this error, that should help us to proceed further. Please let us know if you need more details. 

Thanks & Regards,

Gopal

 

Issue_5F00_Details.docx   

Thanks for reply Chris. As you correctly said, I am using .int files for Cobol debugging. I will try your suggestions and will share you the results.

Regards,
Gopal