Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Manipulating contents of memory

Status
Not open for further replies.

TomKane

Programmer
Jul 24, 2001
1,018
AU
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top