View previous topic :: View next topic |
Author |
Message |
Sreejith Intermediate
Joined: 02 Dec 2002 Posts: 155 Topics: 25 Location: N.Ireland
|
Posted: Mon Jul 17, 2006 7:14 am Post subject: Changing mainframe password via COBOL |
|
|
Does anyone know a way to change mainframe password using a cobol program.
The only solution so far I know is by submitting a JCL with USER and PASSWORD parms from COBOL.
Is there any callable RACF Service which can be called from COBOL to change the password..
Thanks
Sreejith |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Mon Jul 17, 2006 7:31 am Post subject: |
|
|
Sreejith,
May be a REXX exec can do the Job.
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
 |
Sreejith Intermediate
Joined: 02 Dec 2002 Posts: 155 Topics: 25 Location: N.Ireland
|
Posted: Mon Jul 17, 2006 7:46 am Post subject: |
|
|
Kolusu,
thanks for the reply. I need a COBOL solution as it needs to be done via an IMS online screen. I will check whether we got a REXX compiler so that I can create a load module of REXX something like below and call it from cobol
Code: |
/* REXX */
ADDRESS TSO "PASSWORD USER(abcdefg) PASSWORD(oldpswrd newpswrd)"
|
Thanks
Sreejith |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
|
Back to top |
|
 |
bauer Intermediate
Joined: 10 Oct 2003 Posts: 317 Topics: 50 Location: Germany
|
Posted: Mon Jul 17, 2006 8:21 am Post subject: |
|
|
Hi,
are talking about a CICS program?
If so, uses EXEC CICS command !
regards
bauer |
|
Back to top |
|
 |
Sreejith Intermediate
Joined: 02 Dec 2002 Posts: 155 Topics: 25 Location: N.Ireland
|
Posted: Mon Jul 17, 2006 8:44 am Post subject: |
|
|
Kolusu,
Thanks for the pointer..
bauer
No. I have IMS DC here
Thanks
Sreejith |
|
Back to top |
|
 |
Cogito-Ergo-Sum Advanced
Joined: 15 Dec 2002 Posts: 637 Topics: 43 Location: Bengaluru, INDIA
|
Posted: Fri Jul 21, 2006 1:29 pm Post subject: |
|
|
Sreejith,
Callable compiled REXX code ? Well, I do not know. Can it be defined to IMS region 'easily' ?
You can go the long route, though. Since, you can invoke a REXX exec via IDCAMS and you can call IDCAMS thru" COBOL, you can try an approach which involves calling a COBOL program that calls IDCAMS. _________________ ALL opinions are welcome.
Debugging tip:
When you have eliminated all which is impossible, then whatever remains, however improbable, must be the truth.
-- Sherlock Holmes. |
|
Back to top |
|
 |
Sreejith Intermediate
Joined: 02 Dec 2002 Posts: 155 Topics: 25 Location: N.Ireland
|
Posted: Mon Jul 24, 2006 7:11 am Post subject: |
|
|
Cogito-Ergo-Sum
I guess it is possible to move the REXX load module to IMS load lib and call it. But when I discussed this with one of my team mate he raised a question whether IMS online can address TSO address space.. Looks like a valid point. I haven't tried anything yet.
thanks
Sreejith |
|
Back to top |
|
 |
|
|