I’m using profound (rich display file) and trying to get the Current user name out of the program status data structure from position see below, but neither of them works, in stead of, am getting the HTTP server name: QTMHHTTP1 any idea why?
D SDS
D PgmUser 358 367a
D PgmUser2 254 263a
ProfoundUI (Current User Name)
-
- Profound User
- Posts: 34
- Joined: Fri Dec 27, 2013 5:30 pm
- First Name: Roberto
- Last Name: Jiron
- Company Name: Sinclair
- City: Utah
- State / Province: Utah
- Zip / Postal Code: 84102
- Country: United States
- Contact:
-
- New User
- Posts: 7
- Joined: Fri May 24, 2013 10:48 am
- First Name: Amar
- Last Name: Kumar
- Company Name: Alfa Insurance
- Phone: 6153122729
- State / Province: Tennessee
- Country: United States
- Contact:
Re: ProfoundUI (Current User Name)
The current user can be obtained from the SDS positions 358 367
-
- Profound User
- Posts: 34
- Joined: Fri Dec 27, 2013 5:30 pm
- First Name: Roberto
- Last Name: Jiron
- Company Name: Sinclair
- City: Utah
- State / Province: Utah
- Zip / Postal Code: 84102
- Country: United States
- Contact:
Re: ProfoundUI (Current User Name)
That’s what I doing, but am getting just the server name
- Brian
- Profound Logic Staff Member
- Posts: 286
- Joined: Thu Apr 14, 2011 10:23 am
- First Name: Brian
- Last Name: May
- Company Name: Profound Logic Software
- Contact:
Re: ProfoundUI (Current User Name)
Is this program running annonymously?
-
- Profound User
- Posts: 34
- Joined: Fri Dec 27, 2013 5:30 pm
- First Name: Roberto
- Last Name: Jiron
- Company Name: Sinclair
- City: Utah
- State / Province: Utah
- Zip / Postal Code: 84102
- Country: United States
- Contact:
Re: ProfoundUI (Current User Name)
Yes, is running annonymously
- Brian
- Profound Logic Staff Member
- Posts: 286
- Joined: Thu Apr 14, 2011 10:23 am
- First Name: Brian
- Last Name: May
- Company Name: Profound Logic Software
- Contact:
Re: ProfoundUI (Current User Name)
In the case of an anonymous program, the user does not log in to the server. Therefore the job runs as the default CGI user profile, which is normally QTMHHTP1.
-
- Profound User
- Posts: 34
- Joined: Fri Dec 27, 2013 5:30 pm
- First Name: Roberto
- Last Name: Jiron
- Company Name: Sinclair
- City: Utah
- State / Province: Utah
- Zip / Postal Code: 84102
- Country: United States
- Contact:
Re: ProfoundUI (Current User Name)
Great!! That’s what I wanted to know. Thank you so much !!!.
Who is online
Users browsing this forum: Google [Bot] and 7 guests