>From your current ACEE? http://www.ibm.com/support/knowledgecenter/SSLTBW_2.1.0/com.ibm.zos.v2r1.ichb200/ich2b2_ACEE_and_related_control_blocks.htm
52 (34) ADDRESS 4 ACEETRMP Address that points to the terminal ID. The field is zero for non-terminal users. Charles -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Janet Graff Sent: Wednesday, October 12, 2016 1:58 PM To: [email protected] Subject: Changing the primary AUTHID using RACROUTE I have an application and I want to change the the userid. I have the RACF macros coded but I'm having trouble coming up with the source of TERMID. Where do I get the TERMID? The code in question looks like this: MODESET MODE=SUP LA R7,RACFWORK MVC RACRWORK,RACRLIST MVC USERLEN,8 MVC USERID,=CL8'MYUSER ' MVC PSWLEN,8 MVC PASSWD,=CL8'XXXXXXXX' MVC MYACEE,=F'0' MVC MYTERM,=CL8' ' <==== clearly I need a value here LA R5,USERLEN LA R6,PSWLEN LA R8,MYACEE LA R9,MYTERM RACROUTE REQUEST=VERIFY,WORKA=(R7),SYSTEM=YES,PASSCHK=YES, X ENVIR=CREATE,USERID=(R5),PASSWRD=(R6),ACEE=(R8), X TERMID=(R9), X RELEASE=1.9.2,MF=(E,RACRWORK) ST R15,RC ... MVC RACRWORK,RACRLIS2 LA R8,MYACEE RACROUTE REQUEST=VERIFY,WORKA=(R7),SYSTEM=YES,PASSCHK=NO, X ENVIR=CHANGE,ACEE=(R8), X RELEASE=1.9.2,MF=(E,RACRWORK) ST R15,RC MODESET MODE=PROB The error I'm getting is this ICH408I JOB(JIGRACF ) STEP(RUN ) 790 LOGON/JOB INITIATION - USER AT TERMINAL NOT RACF-DEFINED Which clearly says I need to provide a TERMID (or equivalent) on the ENVIR=CREATE. Where do I get the TERMID? Also I suspect I might be archaic by using RELEASE=1.9.2, is there a more appropriate value for this decade? Janet ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
