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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can I capture an application name with SQL???

Status
Not open for further replies.

hopper

Programmer
Dec 5, 2000
27
US
I'm new to DB2 so if this is obvious please forgive me...

I have several .NET application that will be accessing our DB2 v7 mainframe database (more specifically a view). I have the authorized application names stored in another table. I need to see if it is possible to capture the calling application name using SQL. Something like this:

SELECT AppName FROM tblAuthorizedApps WHERE AppName = <???>

where <???> is some sort of system variable that holds the calling application name.

Is something like this possible or am I just dreaming?

Thanks,

Scott
 
Thank you, that helps very much!!!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top