Hello,
I have a query re: C and would be grateful for any advice you might have on the matter.
We have a DOS based legacy accounting system that has been developed in a mixture of COBOL, Assembler and C. The Menu Security System has been developed in C and, as you would expect, it requires a user id and password to allow access to the functionality within.
In order to be able to automate certain functions we have(with their permission) a programmers utility from the supplier, which allows us to bypass the security system.
This utility works fine - the only thing is that it 'defaults' to a specific data set and this default cannot be changed in a conventional way, whereas the security system actually prompts the user for the data set.
We know that the field which determines the data set is held in memory in a TSR, and we know it's position length, and field type (114, 2, Numeric).
The security system is able to manipulate this value so I'm thinking that we should be able to put together a little C program to set the branch prior to running the main app.
So my question is : Is there anyone out there who would know how to manipulate memory in this way?
Thank you,
Tom
I have a query re: C and would be grateful for any advice you might have on the matter.
We have a DOS based legacy accounting system that has been developed in a mixture of COBOL, Assembler and C. The Menu Security System has been developed in C and, as you would expect, it requires a user id and password to allow access to the functionality within.
In order to be able to automate certain functions we have(with their permission) a programmers utility from the supplier, which allows us to bypass the security system.
This utility works fine - the only thing is that it 'defaults' to a specific data set and this default cannot be changed in a conventional way, whereas the security system actually prompts the user for the data set.
We know that the field which determines the data set is held in memory in a TSR, and we know it's position length, and field type (114, 2, Numeric).
The security system is able to manipulate this value so I'm thinking that we should be able to put together a little C program to set the branch prior to running the main app.
So my question is : Is there anyone out there who would know how to manipulate memory in this way?
Thank you,
Tom