on 02-14-2007 11:21 AM
Hi
I am busy doing a homogenous system copy from my prd system to a new 4th system (for Migration possibilities). I know that at the end of my db copy it will prompt ,me to provide the ddic password. My source system ddic user id (prd) at the moment is locked. I intend backuping up the prd sytem tonight, but i need to reset user ddic first, as whatever gets backed up will come across.
Does anyone know how to reset the uflag paramter of ddic in client 000.
I have only two users in client 000 i.e ddic and sap* and i cant do anythign with sap* as it has no profiles attached to it.(security issue) I know how to do the unlock of the user in oracle i.e
Oracle
Update USR02 set UFLAG=0 where BNAME='DDIC' and MANDT=000.
Can anyone help on the as400 side.
I had a similar issue.
Turned out there was a code page mismatch.
before I started my SQL session I ran
CHGJOB CCSID(500)
and the SQL worked fine. My default code page had been 65535.
Hope this helps
Matt
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Matt,
not only YOURs is 65535 ... unfortunately IBM is using this by default for all NON-SAP users :-((
=> You should always use sidofr/adm or chgjob => 500
Regards
Volker Gueldenpfennig, consolut.gmbh
http://www.consolut.de - http://www.4soi.de - http://www.easymarketplace.de
Hi
I apppreciate the feedback. but it does not like the command. It cgives us the ffg error:
Keyword SET not expected. Valid tokens: ADD DROP ALTER
CHECK UNIQUE FOREIGN PRIMARY CONSTRAINT.
Is it possible to try this on your as400
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Morga,
it works perfectly fine for me...
It is a pure syntax error, so make sure that you don't have invalid characters in your command. Please send me a screen shot of the statement in SQLUTIL.
Also, you can find an excellent SQL reference at the IBM InfoCenter
http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp?topic=/db2/rbafzmst02.htm
Best regards,
Dorothea
Message was edited by:
Dorothea Rink
Hi Dorothea
Thanks for that info. I do have sqlutil on my system. Would you perhaps know how to use this command i.e to update the field (uflag) from 64 to 0
(From lock to unlock)
Would it be almost the same as below (not sure)
sqlutil Update USR02 set UFLAG=0 where BNAME='DDIC' and MANDT=000.
Much appreciated
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Morga,
If I understand correctly, you just need help how to issue SQL commands natively on the iSeries, is that right?
If so, that's how you'd proceed:
Sign on to the machine via green screen as user <sid>OFR and then type STRSQL. You'll then get as screen that allows you to enter the SQL statement like you suggested it for Oracle.
STRSQL is a product which does not come for free. So, if you do not have that installed, you could use SQLUTIL. SQLUTIL is free, but not per default on the system. (Search for library QGPTOOLS.)
In case you don't have it, read SAP note 68732 for more information of how to get it.
Hope that helps.
Best regards,
Dorothea
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.