|
|
| Author |
Message |
mf_karthik
New User
Joined: 26 Jul 2005 Posts: 18
|
|
|
|
hi all,
i need to retrieve the cics logon userid and password for validation purpose in my cobol program,is there any way to retreive ??
please let me know. |
|
| Back to top |
|
 |
References
|
Posted: Fri Feb 29, 2008 11:23 am Post subject: Re: Retreiving CICS userid and password into the program |
 |
|
|
 |
CICS Guy
Senior Member
Joined: 18 Jul 2007 Posts: 1142 Location: At my desk
|
|
|
|
| After signon, no..... |
|
| Back to top |
|
 |
Bill O'Boyle
Active User
Joined: 14 Jan 2008 Posts: 270 Location: Orlando, FL, USA
|
|
|
|
If you knew the terminal-id that the user signed-on to, then you could obtain the userid via an INQUIRE TERMINAL command.
However, obtaining the user's password is highly irregular and perhaps, a violation of rules defined by your Security group.
I can understand the userid capture, but the password? I think you need to speak to someone at your site regarding this subject.
Perhaps you were misinformed (or misunderstood) the requirements?
Regards,
Bill |
|
| Back to top |
|
 |
Craq Giegerich
Senior Member
Joined: 19 May 2007 Posts: 970 Location: Virginia, USA
|
|
|
|
| The user should have been validated when he logged on. I don't think any security group would allow you access to the passwords (which wouldn't be readable anyway). |
|
| Back to top |
|
 |
rpuhlman
Active User
Joined: 11 Jun 2007 Posts: 70 Location: Columbus, Ohio
|
|
|
|
You can retrieve the userid:
| Code: |
EXEC CICS ASSIGN
USERID(WS-USERID)
END-EXEC. |
Where WS-USERID is defined in working storage as PIC X(08). |
|
| Back to top |
|
 |
|
|