Error in prepare phase SHDINST_DB_PREP on SQL 20005.
Dear All,
We are currently in the Prepare phase of the upgrade of our SAP systems and have come up against the following security issue.
We are running upgrades to ERP2005. The current database version is SQL Server 2005 with Windows 2003 SP1 where the CHECK_POLICY option is activated by default.
During the SHDINST_DB_PREP phase of prepare the system was unable to create the shadow user because the password was not complex enough.
Apparently the CHECK_POLICY option of SQL Server 2005 is not explicitly deactivated in the upgrade script.
We do not want to disable our Windows password policies but would like to know how to include the CHECK_POLICY option in the scripts for this phases so that we can create the user.
Has anyone experienced this problem and know of a solution??
I have already posted a message to SAP about this issue and am still awaiting a response
Owen.
This issue has been resolved:
For those of you who might be confronted with this issue: this is how its done:
Open the file for msstemps.mss in the directory put\bin.
Replac the lines in this file
if (not exists(select name from syslogins where name = '<shadow>'))
exec sp_addlogin '<shadow>', '<password>', '<db>'
through following lines
if ((@@microsoftversion / 65536) / 256 = 9)
begin
if not exists (select * from master.dbo.syslogins where name =
'<shadow>')
create login <shadow> with
password = '<password>',
default_database = <db>,
check_expiration = off,
check_policy = off
end
else begin
if (not exists(select name from syslogins where name = '<shadow>'))
exec sp_addlogin '<shadow>', '<password>', '<db>'
save the file and repeat the phase.
SAP is aware of this issue and wille be releasing a fix for this shortly.
Similar Messages
-
Error encountered in phase SHDINST_DB_PREP - EHP1 upgrade using EHPI.
Hi Experts,
I am currently in the configuration phase of Enterprise Portal upgrade from 700 to EHP1 then i got this error in phase SHDNST_DB_PREP, I am using OS platform Windows Server 2003; here is the message:
On the EHPi GUI:
Decide how you want to continue
Checks after phase PREP_INSTALL/SHDINST_DB_PREP were negative!
Last error code set: Process 'brconnect' exited with 5, see 'D:\EHPI\abap\log\SHDUSRCRE.LOG' for detai
Trouble Ticket Generation
A trouble ticket and an archive with all relevant log files have been generated. Trouble ticket: "D:\EHPI\abap\log\SAPehpi_troubleticket.log" Log archive: "D:\EHPI\abap\log\SAPehpi_troubleticket_logs.sar"
Choose Action:
Repeat phase SHDNST_DB_PREP to continue at the point it stopped.
Restart the current module from the beginning
Exit this program
for SHDUSRCRE.LOG:
SAPehpi> Starting subprocess brconnect with id 13588 at 20100816143027
Environment: CLASSPATH=C:\oracle\CUSDEV01\102\jdbc\lib\ojdbc14.jar;
Environment: JAVA_HOME=C:\j2sdk1.4.2_13-x64
Environment: NLS_LANG=AMERICAN_AMERICA.UTF8
Environment: ORACLE_HOME=C:\oracle\EP1\102
Environment: ORACLE_SID=EP1
Environment: PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
Environment: Path=E:\oracle\CUSPRD01\102\bin;C:\oracle\CUSDEV01\102\bin;C:\oracle\EP1\102\BIN;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Dell\SysMgt\oma\bin;C:\usr\sap\EP1\SYS\exe\uc\NTAMD64;C:\Program Files (x86)\Dell\SysMgt\oma\bin
Environment: auth_shadow_upgrade=0
Environment: dbms_type=ora
Environment: dbs_ora_schema=SAPEP1
Environment: dbs_ora_tnsname=EP1
BR0801I BRCONNECT 7.00 (42)
BR0280I BRCONNECT time stamp: 2010-08-16 14.30.28
BR0301E SQL error -28003 at location crown_main-1, SQL statement:
'/* BRCONNECT */ CREATE USER "SAPEP1SHD" IDENTIFIED BY "kXZvHmKI.42aB"'
ORA-28003: password verification for the specified password failed
ORA-20003: Password should contain at least one \
digit, one character and one punctuation
BR1336I Creating database owner SAPEP1SHD failed
BR0280I BRCONNECT time stamp: 2010-08-16 14.30.28
BR0804I BRCONNECT terminated with errors
Process with ID 15076 terminated with status 5
Did you encounter this error? How can i solve it?
Thanks a lot!
Regards,
TonyHello Experts,
I already solved the issue, just creating the user manually at command promp,
the problem is that the password that SAP generated was not compatible or not acceptble to the system that is why i manually created the user:
SQL> CREATE USER SAPEP1SHD IDENTIFIED BY kXZvHmKI_42aB; - > correct one
SQL> CREATE USER SAPEP1SHD IDENTIFIED BY kXZvHmKI.42aB; - > incorrect; generated by the system
Thanks & Regards,
Tony -
Error in PREPARE with MS-SQL Server
I'm doing a upgrade to ECC 6.0 SR2. I'm following the instructions of Upgrade Guide SAP ECC 6.0
SR2.
My Operating System is Windows 2003 Server, database is MS-SQL Server and SAP system source is R3
4.7 Ext 200 non-Unicode
I updated SAPup and included the correction fix in the upgrade root directory (\usr\sap\put\).
The environment variables for all users are:
dbms_type=MSS
mssql_dbname=R37
mssql_schema=r37
mssql_server=<myServer>
The Default Database for users <Server>/R37adm and r37 is R37. The default schema for both users is
r37. Both users are owners of the database.
The default profile have the following parameters (the last line is a blank):
SAPSYSTEMNAME = R37
SAPDBHOST = <myServer>
rdisp/mshost = <myServer>
rdisp/accept_remote_trace_level = 0
rdisp/sna_gateway = <myServer>
rdisp/sna_gw_service = sapgw00
rdisp/bufrefmode = sendoff,exeauto
ms/server_port_0 = PROT=HTTP, PORT=8100
dbms/type = mss
dbs/mss/server = <myServer>
dbs/mss/schema = r37
dbs/mss/dbname = R37
I'm running the PREPARE and shows an error when running the script MSSCONCHECK.SQL.
The error in MSSCONCHECK.LOG is:
Msg 208, Level 16, State 1, Server <myServer>, Line 2
Invalid object name 'SVERS'.
The MSSCONCHECK.OUT is:
SAPup> Starting subprocess osql with id 2828 at 20081011141236
EXECUTING osql -S <myServer> -E -d -i e:\usr\sap\put\bin\MSSCONCHECK.SQL -o
e:\usr\sap\put\log\MSSCONCHECK.LOG -h-1 "-w 100" -n
Environment: dbms_type=MSS
Environment: JAVA_HOME=C:\j2sdk1.4.2_12
Environment: Path=C:\Program Files\Windows Resource
Kits\Tools\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Microsoft SQL
Server\90\Tools\binn\;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files\Microsoft
SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;E:\usr\sap\R37\SYS\exe\run\
Environment: PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
The MSSCONCHECK.SQL is:
setuser 'r37'
select VERSION from SVERS
go
Any idea?Hi Ganesh Gambhir,
In SE16-SVERS I have "620".
If I execute in command-line:
osql -E -S <myserver> -Q "select VERSION from R37.r37.SVERS" -n
It's shown:
VERSION
620
(1 row affected)
Any other combination shows the same error:
Msg 208, Level 16, State 1, Server <myServer>, Line 2
Invalid object name 'SVERS'.
I cann't continue with the PREPARE, after this error is closed.
Thanks for your reply. Any other idea? -
Error at initial screens of the PREPARE phase
Hi all,
I have started the UA server and started the prepare phase.
It asked me to mount the DVDs. I have mounted the below softwares
1. KERNEL Upgrade
2. Upgrade Export
3. Upgrade Master
4. Languages EN, DE
5. Languages ES,..
6. Languages FR..etc.
Then the next screen pops saying:
Please enter up to 24 mount points for CDs.
Enter at least the mount point for the CD titled "Upgrade Master CD/DVD"
? MOUNT POINT 19 =
? MOUNT POINT 20 =
? MOUNT POINT 21 =
? MOUNT POINT 22 =
? MOUNT POINT 23 =
? MOUNT POINT 24 =
Waiting for input since Dec 12, 2007 3:32:58 PM
> MOUNT POINT 02 = /tmp/software/UpKernel700/NW_2004s_SR2_Kernel_HP_UX__SOLARIS
> MOUNT POINT 22 =
> MOUNT POINT 18 =
> MOUNT POINT 09 =
> MOUNT POINT 08 =
> MOUNT POINT 14 =
> MOUNT POINT 21 =
> MOUNT POINT 17 =
> MOUNT POINT 05 = /tmp/software/UpLangES/SAP_ERP_2005_SR2_Languages
> MOUNT POINT 19 =
> MOUNT POINT 12 =
> MOUNT POINT 15 =
> MOUNT POINT 07 =
> MOUNT POINT 06 = /tmp/software/UpLangFR/SAP_ERP_2005_SR2_Languages
> MOUNT POINT 20 =
> MOUNT POINT 16 =
> MOUNT POINT 10 =
> MOUNT POINT 03 = /tmp/software/UpExport/51032274
> MOUNT POINT 13 =
> MOUNT POINT 01 = /tmp/software/UpMaster/SAP_ERP_2005_SR2_Upgrade_Master
> MOUNT POINT 24 =
> MOUNT POINT 23 =
> MOUNT POINT 11 =
> MOUNT POINT 04 = /tmp/software/UpLangEN/SAP_ERP_2005_SR2_Languages
Reading data from "Upgrade Master CD/DVD"...
Extracting archive "/tmp/software/UpMaster/SAP_ERP_2005_SR2_Upgrade_Master/UMN_HPUX_IA64/DBINDEP/CTRL7000.SAR" to "/usr/sap/put" ...
Archive /tmp/software/UpMaster/SAP_ERP_2005_SR2_Upgrade_Master/UMN_HPUX_IA64/DBINDEP/CTRL7000.SAR successfully unpacked to /usr/sap/put.
Extracting archive "/tmp/software/UpMaster/SAP_ERP_2005_SR2_Upgrade_Master/UMN_HPUX_IA64/DBINDEP/CTRL700X.SAR" to "/usr/sap/put" ...
Archive /tmp/software/UpMaster/SAP_ERP_2005_SR2_Upgrade_Master/UMN_HPUX_IA64/DBINDEP/CTRL700X.SAR successfully unpacked to /usr/sap/put.
Extracting archive "/tmp/software/UpMaster/SAP_ERP_2005_SR2_Upgrade_Master/UMN_HPUX_IA64/ORA/UPTOOLS.SAR" to "/usr/sap/put" ...
Archive /tmp/software/UpMaster/SAP_ERP_2005_SR2_Upgrade_Master/UMN_HPUX_IA64/ORA/UPTOOLS.SAR successfully unpacked to /usr/sap/put.
Extracting archive "/tmp/software/UpMaster/SAP_ERP_2005_SR2_Upgrade_Master/UMN_HPUX_IA64/ORA/PREEXE.SAR" to "/usr/sap/put" ...
Archive /tmp/software/UpMaster/SAP_ERP_2005_SR2_Upgrade_Master/UMN_HPUX_IA64/ORA/PREEXE.SAR successfully unpacked to /usr/sap/put.
Extracting archive "/tmp/software/UpMaster/SAP_ERP_2005_SR2_Upgrade_Master/UMN_HPUX_IA64/ORA/PRETOOLS.SAR" to "/usr/sap/put" ...
Archive /tmp/software/UpMaster/SAP_ERP_2005_SR2_Upgrade_Master/UMN_HPUX_IA64/ORA/PRETOOLS.SAR successfully unpacked to /usr/sap/put.
Welcome to the SAP upgrade control program.
Important information for this upgrade is included
in the upgrade Note and further Notes mentioned therein.
Refer to the upgrade manual for the number of this note.
It is advisable to obtain this Note before starting any process
since it also contains important information about preparing
the upgrade.
It is essential that you get a current version of this Note
before starting the upgrade with SAPup. It contains a keyword
which is necessary to start the upgrade procedure.
Please look into the SAP Service Marketplace or, if not available,
use the form in your packet to request the upgrade Note.
? continue
? cancel
Waiting for input since Dec 12, 2007 5:14:13 PM
> continue
SAP UPGRADE CONTROL PROGRAM
================================
This is SAPup version 7.00/2 upgrade to release
600 of EA-APPL
600 of EA-DFPS
600 of EA-FINSERV
600 of EA-GLTRADE
600 of EA-HR
400 of EA-IPPE
600 of EA-PS
600 of EA-RETAIL
600 of ECC-DIMP
600 of ERECRUIT
600 of FI-CA
600 of FI-CAX
600 of FINBASIS
600 of INSURANCE
600 of IS-CWM
600 of IS-H
600 of IS-M
600 of IS-OIL
600 of IS-PS-CA
600 of IS-UT
600 of LSOFE
2005_1_700 of PI_BASIS
700 of SAP_ABA
700 of SAP_AP
600 of SAP_APPL
700 of SAP_BASIS
700 of SAP_BW
600 of SAP_HR
600 of SEM-BW
2005_1_700 of ST-PI
Target SAP system is DV2, ORACLE database
? continue
? cancel
Waiting for input since Dec 12, 2007 5:14:51 PM
> continue
ERROR: PREPARE has not been completed successfully.
Correct the problems reported by PREPARE otherwise
you cannot start the upgrade.
? continue
? cancel
For no reason I got the above Error Message. I have checked there is no error mentioned in any log for the /usr/sap/put/ directory.
I have checked the environmental variables also
Can anyone help
Regards
SenthilThanks all,
This step fails before it creates a checks.log file at all.
The issue is solved now.
I just gave full permission for the kernel files /sapmnt/<SID>/exe
chmod -R exe
and then started the prepare it worked.
Regards
Senthil -
Hi All ,
We are facing error in preprocessing phase of upgrade to EHP 7 ,Let me know if anyone can help us in this critical situation
System details:Oracle 11gr2,Linux x86-64 ,
Below is the error :
During the phase MAIN_SHDIMP/SUBMOD_SHD2_RUN/RFCDEST_CREATE_S2OX in
Pre-processing of the SUM we are facing below error.
1 ETQ233 Calling function module "FUNCTION_EXISTS" by RFC
2 ETQ373 parameter "FUNCNAME" = "RFC_DESTINATION_CREATE"
1 ETQ234 Call of function module "FUNCTION_EXISTS" by RFC succeeded
4 ETQ010 Date & Time: 20140912043336
1 ETQ359 RFC Login to: System="XXX", AsHost="sapXXXpas" Nr="12",
GwHost="sapa10pas", GwService="sapgwZZ"
2 ETQ232 RFC Login succeeded
4 ETQ010 Date & Time: 20140912043336
1 ETQ233 Calling function module "RFC_DESTINATION_CREATE" by RFC
2 ETQ373 parameter "DESTINATION_NAME" = "SAP_UPGRADE_ORIG_SYSTEM"
2 ETQ373 parameter "USER" = "DDIC"
2 ETQ373 parameter "HOST" = "sapXXXpas"
2 ETQ373 parameter "SYSTEMNR" = "11"
2 ETQ373 parameter "CHECK" = "X"
1EETQ235 Call of function module "RFC_DESTINATION_CREATE" by RFC failed
(error-status "3")
2EETQ360 RFC of "RFC_DESTINATION_CREATE" failed:
2EETQ361 code/exception : 3
2EETQ362 key : CALL_FUNCTION_NO_DEST
2EETQ399 RFC destination SAP_UPGRADE_ORIG_SYSTEM does not exist.
Regards
Bharat
Mob No: 91 9008804153Hi Reagan ,
The issue was taken to SAP development security team :::Below is the weird issue ::
Firstly ,for the authorizations to work correctly, all authorization tables must be in a consistent state as below :
ust04, ust10c, ust10s, ust12, usrbf2, usrbf3.
If we want to maintain authorizations, also usr04, usr10, usr12 are required.
But here , a mismatch of tables usrbf2 and usrbf3 in 2 instances are the reason for the stuck in the upgrade :::
SQL> select count(*) from sapsr3.USRBF2 where MANDT = '000' and BNAME =
'DDIC';
COUNT(*)
2997
SQL> select count(*) from sapsr3.USRBF3 where MANDT = '000' and BNAME =
'DDIC';
COUNT(*)
1
SQL>
SQL> select count(*) from sapsr3shd.USRBF2 where MANDT = '000' and
BNAME =
'DDIC';
COUNT(*)
673
SQL> select count(*) from sapsr3shd.USRBF3 where MANDT = '000' and
BNAME =
'DDIC';
COUNT(*)
1
This issue was resolved by SAP and then upgrade went fine ,This is not an issue with password of DDIC !!!!!
Regards
Ram -
Support Pack upgrade error in Import Phase
Hello,
Currently I am upgrading SCM system with Support pack level 12 to 20 . When i am applying Basis 12 to 20. I got an error in Import_Proper phase.
Could you please help me on this? I tried and still searching solution for this..But no luck...
Os is : AIX and
Log File: /usr/sap/trans/log/SAPIB70013.xxx
Main import
Transport request : SAPKB70013
System : xxxx
tp path : tp
Version and release: 372.04.71 700
child process 934006 terminated -> setting rc=12 for this import portion
sap_dext called with msgnr 1:
db call info -
function: db_report_interface
fcode: CLOSE_LINE_MODE
tabname: SOURCE
len (char): 40
key: CL_OBJECT_COLLECTION==========CT
retcode: 1
SQL error -913 accessing : [IBM][CLI Driver][DB2] DSNT408I SQLCODE = -913, ER
child process 1212554 terminated -> setting rc=12 for this import portion
sap_dext called with msgnr 1:
db call info -
function: db_report_interface
fcode: CLOSE_LINE_MODE
tabname: SOURCE
len (char): 40
key: CL_WDR_APPLICATION_WINDOW=====CT
retcode: 1
SQL error -913 accessing : [IBM][CLI Driver][DB2] DSNT408I SQLCODE = -913, ER
child process 1171520 terminated -> setting rc=12 for this import portion
sap_dext called with msgnr 1:
db call info -
function: db_report_interface
fcode: CLOSE_LINE_MODE
tabname: SOURCE
len (char): 40
key: CL_WDY_MD_EVENT_SOURCE========CI
retcode: 1
SQL error -913 accessing : [IBM][CLI Driver][DB2] DSNT408I SQLCODE = -913, ER
child process 1331412 terminated -> setting rc=12 for this import portion
sap_dext called with msgnr 1:
db call info -
function: db_xrtab
fcode: RT_MI_LOAD
tabname: ECSCR_DATA
len (char): 106
key: EC_TEST_DATA 00000000P10 IECATTDEFAULT
retcode: 1
SQL error -904 accessing : [IBM][CLI Driver][DB2] DSNT408I SQLCODE = -904, ER
insert / update sequence failed due to an error in DBI.
maybe there's a concurrent process which inserted this table entry at the same time.
insert / update sequence failed due to an error in DBI.
maybe there's a concurrent process which inserted this table entry at the same time.
child process 1310922 terminated -> setting rc=12 for this import portion
sap_dext called with msgnr 1:
db call info -
function: db_xrtab
fcode: RT_MI_END
tabname: WDY_APP_PROPERTY
len (char): 64
key: DEMO_UIEL_DROPDOWN_BY_IDX DEMO_VIEW
retcode: 1
SQL error -904 accessing : [IBM][CLI Driver][DB2] DSNT408I SQLCODE = -904, ER
import portion 018446 - 999999 not imported because the child processes died for unknown reason
child process 1310924 terminated -> setting rc=12 for this import portion
sap_dext called with msgnr 1:
db call info -
function: db_report_interface
fcode: CLOSE_LINE_MODE
tabname: SOURCE
len (char): 40
key: CL_WDY_MD_OUTGOING_EVENT======CT
retcode: 1
SQL error -913 accessing : [IBM][CLI Driver][DB2] DSNT408I SQLCODE = -913, ER
child process 1286192 terminated -> setting rc=12 for this import portion
sap_dext called with msgnr 1:
db call info -
function: db_xrtab
fcode: RT_MI_LOAD
tabname: ECSCR_DATA
len (char): 106
key: EC_TEST_DATA 00000000P10 IECATTDEFAULT
retcode: 1
SQL error -904 accessing : [IBM][CLI Driver][DB2] DSNT408I SQLCODE = -904, ER
import portion 009158 - 018411 not imported because the child processes died for unknown reason
import portion 018412 - 018527 not imported because the child processes died for unknown reason
import portion 018528 - 999999 not imported because the child processes died for unknown reason
sap_dext called with msgnr 1:
db call info -
function: db_xrtab
fcode: RT_MI_LOAD
tabname: ECSCR_DATA
len (char): 106
key: EC_TEST_DATA 00000000P10 IECATTDEFAULT
retcode: 1
SQL error -904 accessing : [IBM][CLI Driver][DB2] DSNT408I SQLCODE = -904, ER
Main import
End date and time : 20100909034914
Ended with return code: ===> 12 <===
| ######################################
Thanks and Regards,
Sankar
SAP BASIS ConsultantHi,
Thanks for you reply. I restarted import but no luck still. I activated some object also not working. when i call SPAM it is not going to the SPAM pager. Showing dump...
Runtime Errors CALL_FUNCTION_NOT_FOUND
Except. CX_SY_DYN_CALL_ILLEGAL_FUNC
Date and Time 10.09.2010 09:41:37
Short text
Function module "POSS_UIREQ_OPT_SUBMIT" not found.
What happened?
The function module "POSS_UIREQ_OPT_SUBMIT" is called,
but cannot be found in the library.
Error in the ABAP Application Program
The current ABAP program "SAPLSTXC" had to be terminated because it has
come across a statement that unfortunately cannot be executed.
Error analysis
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_DYN_CALL_ILLEGAL_FUNC', was
not caught in
procedure "OPEN_FORM" "(FUNCTION)", nor was it propagated by a RAISING clause.
Since the caller of the procedure could not have anticipated that the
exception would occur, the current program is terminated.
The reason for the exception is:
The program "SAPLSTXC" contains the CALL FUNCTION statement.
The name of the function module to be called is "POSS_UIREQ_OPT_SUBMIT".
No function module exists with the name "POSS_UIREQ_OPT_SUBMIT".
All function modules are listed in the Function Library (SE37).
Possible reasons:
a) Wrong name specified. Pay particular attenti
upper/lower case and underscores ("_").
or
b) Transport error
c) In the case of an enqueue/dequeue module,
the lock object may not have been activated
(ABAP/4 Dictionary).
When i tried to check function module it is not there..
Could you please help on this?
Regards,
Sankar Basis Consultant -
ERROR: ORACLE prepare error: ORA-00936: missing expression
Hello,
I am required to run "pass-through" Oracle SQL, to extract data from tables into SAS for processing and manipulation. My code (attached) reads and writes (executes) but with zero records to test first. I cannot get past the Prepare Error.
The query is very much like other queries that seem to work, but I cannot get past this prepare error. I have no other access to individauls with adequate knowledge of PL SQL, and as a last stop hoped others in the forum could quickly spot the source of errror.
Thanks very much in advance for any assistance.
Jeff
1 ;*';*";*/;quit;run;
2 OPTIONS PAGENO=MIN;
3 %LET _CLIENTTASKLABEL=%NRBQUOTE(rx_biplr_v3_2);
4 %LET _EGTASKLABEL=%NRBQUOTE(rx_biplr_v3_2);
5 %LET _CLIENTPROJECTNAME=%NRBQUOTE();
6 %LET _SASPROGRAMFILE=;
7
8 ODS _ALL_ CLOSE;
NOTE: Some of your options or statements may not be supported with the Activex or Java series of devices. Graph defaults for these
drivers may be different from other SAS/GRAPH device drivers. For further information, please contact Technical Support.
9 OPTIONS DEV=ACTIVEX;
10 FILENAME EGHTML TEMP;
NOTE: Writing HTML(EGHTML) Body file: EGHTML
11 ODS HTML(ID=EGHTML) FILE=EGHTML ENCODING='utf-8' STYLE=EGDefault
11 ! STYLESHEET=(URL="file:///C:/Program%20Files/SAS/Shared%20Files/BIClientStyles/EGDefault.css")
11 ! ATTRIBUTES=("CODEBASE"="http://www2.sas.com/codebase/graph/v91/sasgraph.exe") NOGTITLE NOGFOOTNOTE GPATH=&sasworklocation
11 ! ;
12
13 %gaccessible;
14 /********************************************************/
15 * RX_BIPLR_V3.SAS ;
16 /********************************************************/
17
18 dm 'log;clear;out;clear';
19 options linesize =120;
20 Option obs=0 NoReplace;
21
22 ****************************************************************************************;
23 *Date Programmer Reviewed By WHAT WAS DONE;
24 *----- -------------- ------------ -----------------------------------------;
25 *2005 David Boyd Program creation for test population;
26 *;
27 *02/06/2006 Ivon Jones Modified to include total population;
28 *;
29 *07/20/2006 Ivon Jones Identified data elements for exclusion;
30 * or inclusion for consolidation with ;
31 * Robin's report;
32 *;
33 *08/18/2006 Ivon Jones Updated the Specific Therapeutic Classes;
34 * 10-2009 J Shaf - modified to extract actual or potential Bipolar Dx from UBH and Medical Claims;
35 ****************************************************************************************;
36
37
38
39 *%let allclmorgn = ('M','A') ; /* all claims origin code */
40 %let begdate='01SEP2009'd;
41 %let enddate='30SEP2009'd;
42 %let q = %str(%') ;
43
44
45 data _null_ ;
46 call symput('fdos',put(intnx('month',"&begdate"d,-27,'beginning'), date9.) ) ;
47 call symput('ldos',put(intnx('month',"&enddate"d,-0,'ending'), date9.) ) ;
48 run ;
NOTE: DATA statement used (Total process time):
real time 0.00 seconds
2 The SAS System 11:44 Friday, October 30, 2009
cpu time 0.01 seconds
49
50
51
52 **************************************************************;
53 * ??Use the data _null_ step to create a macro variable for the ;
54 * year and month based on the ldos macro variable in the data ;
55 * step above?? ;
56 **************************************************************;
57
58
59 data _null_ ;
60 if month("&ldos"d) < 10
61 then call symput('yr_mo',compress(year("&ldos"d) || '0' || month("&ldos"d) ) ) ;
62 else call symput('yr_mo',compress(year("&ldos"d) || month("&ldos"d) ) ) ;
63 run ;
NOTE: Numeric values have been converted to character values at the places given by: (Line):(Column).
61:39 61:64 62:39 62:57
NOTE: DATA statement used (Total process time):
real time 0.00 seconds
cpu time 0.00 seconds
64
65 *%put &biplr_dx;
66 %put &begdate ;
'01SEP2009'd
67 %put &enddate ;
'30SEP2009'd
68 %put &fdos ;
01JUN2007
69 %put &ldos ;
30SEP2009
70 %put &q ;
71
72
73 libname biplr'/home/jshafi01/projects/adhoc/biplr_dprsn/data';
NOTE: Libref BIPLR was successfully assigned as follows:
Engine: V9
Physical Name: /home/jshafi01/projects/adhoc/biplr_dprsn/data
74 libname rosdwp oracle user="&oracle_user." pass="&oracle_pass." buffsize=32767 path='rosdwp';
NOTE: Libref ROSDWP was successfully assigned as follows:
Engine: ORACLE
Physical Name: rosdwp
75
76 data work.biplr_up_v1;
77 attrib mbr_id length=$26;
78 set biplr.biplr_ubh_med_v1;
79 run;
NOTE: There were 0 observations read from the data set BIPLR.BIPLR_UBH_MED_V1.
NOTE: The data set WORK.BIPLR_UP_V1 has 0 observations and 1 variables.
NOTE: DATA statement used (Total process time):
real time 0.01 seconds
3 The SAS System 11:44 Friday, October 30, 2009
cpu time 0.00 seconds
80
81 proc contents;
82 run;
NOTE: PROCEDURE CONTENTS used (Total process time):
real time 0.03 seconds
cpu time 0.03 seconds
83
84 proc datasets
85 library = rosdwp nolist;
86 delete biplr_up_v1;
87 quit;
NOTE: Deleting ROSDWP.BIPLR_UP_V1 (memtype=DATA).
NOTE: PROCEDURE DATASETS used (Total process time):
real time 3.74 seconds
cpu time 0.03 seconds
88
89 proc datasets
90 library=work nolist;
91 copy out = rosdwp move;
92 select biplr_up_v1 ;
93 quit;
NOTE: Moving WORK.BIPLR_UP_V1 to ROSDWP.BIPLR_UP_V1 (memtype=DATA).
NOTE: SAS variable labels, formats, and lengths are not written to DBMS tables.
NOTE: There were 0 observations read from the data set WORK.BIPLR_UP_V1.
NOTE: The data set ROSDWP.BIPLR_UP_V1 has 0 observations and 1 variables.
NOTE: PROCEDURE DATASETS used (Total process time):
real time 0.32 seconds
cpu time 0.04 seconds
94
95
96
97 *****************************************************************************;
98
99 *execute(commit) by rosdwp
100 ******************************************************************************;
101
102
103 proc SQL noprint ;
104 connect to oracle as rosdwp (user="&oracle_user." password="&oracle_pass" buffsize=32767 path='rosdwp'
104 ! preserve_comments);
105 execute(alter session set nls_date_format = 'ddmonyyyy') by rosdwp;
106 CREATE table biplr_rx as
107 SELECT
108 mrb_id,
109 pcp_spc,
110 rx_date,
4 The SAS System 11:44 Friday, October 30, 2009
111 brand,
112 generic,
113 ahfs_cd,
114 ahfs_dsc,
115 lbl,
116 strngth,
117 unt,
118 spc_tx_cls_cd,
119 spc_tx_cls_dsc,
120 gcn,
121 rx_num,
122 rx_ingrd,
123 rx_paid,
124 rx_cnt,
125 rx_qty,
126 rx_day
127 FROM connection to rosdwp
128 (SELECT
129 mid.UNIQ_MBR_ID as mrb_id,
130 pd.PRVDR_SPCLTY_DESC as pcp_spc,
131 pcf.LAST_SRVC_DT as rx_date,
132 dd.BRAND_NAME as brand,
133 dd.GNRC_NAME as generic,
134 dd.AHFS_THRPTC_CLS_CD as ahfs_cd,
135 dd.AHFS_THRPTC_CLS_DESC as ahfs_dsc,
136 dd.LABEL_NAME as lbl,
137 dd.STRNGTH_NUM as strngth,
138 dd.STRNGTH_UNIT_DESC as unt,
139 dd.SPECF_THRPTC_CLS_CD as spc_tx_cls_cd,
140 dd.SPECF_THRPTC_CLS_DESC as spc_tx_cls_dsc,
141 dd.GCN_NUM as gcn,
142 pcf.PRSCRPTN_NUM as rx_num,
143 SUM(pcf.INGRDNT_AMT) as rx_ingrd,
144 SUM(pcf.PD_AMT) as rx_paid,
145 SUM(pcf.UNIT_SRVC_CNT) as rx_cnt,
146 SUM(pcf.DSPNSD_QTY) as rx_qty,
147 SUM(pcf.DAY_SUPLY_CNT) as rx_day
148 FROM
149 PHRMCY_CLM_FACT pcf,
150 MBR_ID_DMNSN mid,
151 DRUG_DMNSN dd,
152 PRVDR_DMNSN pd,
153 biplr_up_v1
154 WHERE
155 (
156 (biplr_up_v1.mbr_id = MBR_ID_DMNSN.UNIQ_MBR_ID) And
157 (PHRMCY_CLM_FACT.FINL_CLM_KEY = PHRMCY_FINL_CLM_DMNSN.FINL_CLM_KEY) AND
158 (PHRMCY_CLM_FACT.MBR_KEY = MBR_ID_DMNSN.MBR_KEY) And
159 (PHRMCY_CLM_FACT.BNFT_KEY = MBR_BNFT_DMNSN.BNFT_KEY) And
160 (PHRMCY_CLM_FACT.DRUG_KEY = DRUG_DMNSN.DRUG_KEY) And
161 (PHRMCY_FINL_CLM_DMNSN.CLM_ORGN_CD IN ('M','A')) AND
162 (PHRMCY_CLM_FACT.LAST_SRVC_DT BETWEEN between &q.&fdos.&q and &q.&ldos.&q)
163 )
164 Group By
165 mid.UNIQ_MBR_ID ,
166 pd.PRVDR_SPCLTY_DESC ,
167 pcf.LAST_SRVC_DT ,
168 dd.BRAND_NAME ,
5 The SAS System 11:44 Friday, October 30, 2009
169 dd.GNRC_NAME ,
170 dd.AHFS_THRPTC_CLS_CD ,
171 dd.AHFS_THRPTC_CLS_DESC ,
172 dd.LABEL_NAME ,
173 dd.STRNGTH_NUM ,
174 dd.STRNGTH_UNIT_DESC ,
175 dd.SPECF_THRPTC_CLS_CD ,
176 dd.SPECF_THRPTC_CLS_DESC ,
177 dd.GCN_NUM ,
178 pcf.PRSCRPTN_NUM
179 );
ERROR: ORACLE prepare error: ORA-00936: missing expression. SQL statement: SELECT mid.UNIQ_MBR_ID as mrb_id,
pd.PRVDR_SPCLTY_DESC as pcp_spc, pcf.LAST_SRVC_DT as rx_date, dd.BRAND_NAME as brand, dd.GNRC_NAME as generic,
dd.AHFS_THRPTC_CLS_CD as ahfs_cd, dd.AHFS_THRPTC_CLS_DESC as ahfs_dsc, dd.LABEL_NAME as lbl, dd.STRNGTH_NUM as
strngth, dd.STRNGTH_UNIT_DESC as unt, dd.SPECF_THRPTC_CLS_CD as spc_tx_cls_cd, dd.SPECF_THRPTC_CLS_DESC as
spc_tx_cls_dsc, dd.GCN_NUM as gcn, pcf.PRSCRPTN_NUM as rx_num, SUM(pcf.INGRDNT_AMT) as rx_ingrd, SUM(pcf.PD_AMT)
as rx_paid, SUM(pcf.UNIT_SRVC_CNT) as rx_cnt, SUM(pcf.DSPNSD_QTY) as rx_qty, SUM(pcf.DAY_SUPLY_CNT) as rx_day
FROM PHRMCY_CLM_FACT pcf, MBR_ID_DMNSN mid, DRUG_DMNSN dd, PRVDR_DMNSN pd, biplr_up_v1 WHERE (
(biplr_up_v1.mbr_id = MBR_ID_DMNSN.UNIQ_MBR_ID) And (PHRMCY_CLM_FACT.FINL_CLM_KEY =
PHRMCY_FINL_CLM_DMNSN.FINL_CLM_KEY) AND (PHRMCY_CLM_FACT.MBR_KEY = MBR_ID_DMNSN.MBR_KEY) And
(PHRMCY_CLM_FACT.BNFT_KEY = MBR_BNFT_DMNSN.BNFT_KEY) And (PHRMCY_CLM_FACT.DRUG_KEY = DRUG_DMNSN.DRUG_KEY) And
(PHRMCY_FINL_CLM_DMNSN.CLM_ORGN_CD IN ('M','A')) AND (PHRMCY_CLM_FACT.LAST_SRVC_DT BETWEEN between '01JUN2007'
and '30SEP2009') ) Group By mid.UNIQ_MBR_ID , pd.PRVDR_SPCLTY_DESC , pcf.LAST_SRVC_DT , dd.BRAND_NAME ,
dd.GNRC_NAME , dd.AHFS_THRPTC_CLS_CD , dd.AHFS_THRPTC_CLS_DESC , dd.LABEL_NAME , dd.STRNGTH_NUM ,
dd.STRNGTH_UNIT_DESC , dd.SPECF_THRPTC_CLS_CD , dd.SPECF_THRPTC_CLS_DESC , dd.GCN_NUM , pcf.PRSCRPTN_NUM.
NOTE: PROC SQL set option NOEXEC and will continue to check the syntax of statements.
180 execute (drop table biplr_up_v1) by rosdwp;
NOTE: Statement not executed due to NOEXEC option.
181 disconnect from rosdwp;
NOTE: Statement not executed due to NOEXEC option.
182 quit;
NOTE: The SAS System stopped processing this step because of errors.
NOTE: PROCEDURE SQL used (Total process time):
real time 0.14 seconds
cpu time 0.03 seconds
183
184Hello Again ,
Wish Oracle was a bit more informative. Am using a SAS Institute Product called Enterprise Guide. A "hot fix" was installed to address an issue that the product appears unable to save the latest version of edited code changes (hence " BETWEEN between" remaining even after a prior edit). In any case, with the change, am now receiving this error:
" ERROR: ORACLE prepare error: ORA-00904: "PHRMCY_CLM_FACT"."LAST_SRVC_DT": invalid identifier". (Log file appears below)
-The error remains, regardless of whether one uses "pass through" code to pass the date range to Oracle (which looks ok from the log output below I believe), or if I hard code the date range into the PL SQL query itself.
-The Prepare error always appears at end of the inner SELECT.
-The Prepare error remains, with or without the GROUP BY clause.
Is there anything else here I am missing? Someone suggested a reserve word - but from other ANSI SQL versions, I do not see that is the case. I have consulted SAS Tech Support and SAS List Serve at University of GA. but nothing definitive from these sources. Have requested facility to be able to run Oracle directly, outside this SAS Institute product - in process.
Any suggestions are greatly appreciated. Thanks to everyone very much.
Jeff
14 /********************************************************/
15 * RX_BIPLR_V3.SAS ;
16 /********************************************************/
17
18 dm 'log;clear;out;clear';
19 options linesize =120;
20 Option obs=0 NoReplace;
21
22 ****************************************************************************************;
23 *Date Programmer Reviewed By WHAT WAS DONE;
24 *----- -------------- ------------ -----------------------------------------;
25 *2005 D. Boyd Program creation for test population;
26 *;
27 *02/06/2006 I. Jones Modified to include total population;
28 *;
29 *07/20/2006 I. Jones Identified data elements for exclusion;
30 * or inclusion for consolidation with ;
31 * Robin's report;
32 *;
33 *08/18/2006 I Jones Updated the Specific Therapeutic Classes;
34 * 10-2009 J Shaf - modified to extract actual or potential Bipolar Dx from UBH and Medical Claims;
35 ****************************************************************************************;
36
37
38
39 *%let allclmorgn = ('M','A') ; /* all claims origin code */
40 %let begdate='01SEP2009'd;
41 %let enddate='30SEP2009'd;
42 %let q = %str(%') ;
43
44
45 data null ;
46 call symput('fdos',put(intnx('month',"&begdate"d,-27,'beginning'), date9.) ) ;
47 call symput('ldos',put(intnx('month',"&enddate"d,-0,'ending'), date9.) ) ;
48 run ;
2 The SAS System 12:46 Monday, November 2, 2009
NOTE: DATA statement used (Total process time):
real time 0.00 seconds
cpu time 0.00 seconds
49
50
51
52 **************************************************************;
53 * ??Use the data null step to create a macro variable for the ;
54 * year and month based on the ldos macro variable in the data ;
55 * step above?? ;
56 **************************************************************;
57
58
59 data null ;
60 if month("&ldos"d) < 10
61 then call symput('yr_mo',compress(year("&ldos"d) || '0' || month("&ldos"d) ) ) ;
62 else call symput('yr_mo',compress(year("&ldos"d) || month("&ldos"d) ) ) ;
63 run ;
NOTE: Numeric values have been converted to character values at the places given by: (Line):(Column).
61:39 61:64 62:39 62:57
NOTE: DATA statement used (Total process time):
real time 0.00 seconds
cpu time 0.01 seconds
64
65 *%put &biplr_dx;
66 %put &begdate ;
'01SEP2009'd
67 %put &enddate ;
'30SEP2009'd
68 %put &fdos ;
01JUN2007
69 %put &ldos ;
30SEP2009
70 %put &q ;
71
72
73 libname biplr'/home/jshafi01/projects/adhoc/biplr_dprsn/data';
NOTE: Libref BIPLR was successfully assigned as follows:
Engine: V9
Physical Name: /home/jshafi01/projects/adhoc/biplr_dprsn/data
74 libname rosdwp oracle user="&oracle_user." pass="&oracle_pass." buffsize=32767 path='rosdwp';
NOTE: Libref ROSDWP was successfully assigned as follows:
Engine: ORACLE
Physical Name: rosdwp
75
76 data work.biplr_up_v1;
77 attrib mbr_id length=$26;
78 set biplr.biplr_ubh_med_v1;
79 run;
NOTE: There were 0 observations read from the data set BIPLR.BIPLR_UBH_MED_V1.
NOTE: The data set WORK.BIPLR_UP_V1 has 0 observations and 1 variables.
NOTE: DATA statement used (Total process time):
real time 0.00 seconds
cpu time 0.01 seconds
80
81 proc contents;
82 run;
NOTE: PROCEDURE CONTENTS used (Total process time):
real time 0.02 seconds
cpu time 0.02 seconds
83
84 proc datasets
85 library = rosdwp nolist;
86 delete biplr_up_v1;
87 quit;
NOTE: Deleting ROSDWP.BIPLR_UP_V1 (memtype=DATA).
NOTE: PROCEDURE DATASETS used (Total process time):
real time 0.61 seconds
cpu time 0.01 seconds
88
89 proc datasets
90 library=work nolist;
91 copy out = rosdwp move;
92 select biplr_up_v1 ;
93 quit;
NOTE: Moving WORK.BIPLR_UP_V1 to ROSDWP.BIPLR_UP_V1 (memtype=DATA).
NOTE: SAS variable labels, formats, and lengths are not written to DBMS tables.
NOTE: There were 0 observations read from the data set WORK.BIPLR_UP_V1.
NOTE: The data set ROSDWP.BIPLR_UP_V1 has 0 observations and 1 variables.
NOTE: PROCEDURE DATASETS used (Total process time):
real time 0.15 seconds
cpu time 0.04 seconds
94
95
96
97 *****************************************************************************;
98
99 *execute(commit) by rosdwp
100 ******************************************************************************;
101
102
103 proc SQL noprint ;
104 connect to oracle as rosdwp (user="&oracle_user." password="&oracle_pass" buffsize=32767 path='rosdwp'
104 ! preserve_comments);
105 execute(alter session set nls_date_format = 'ddmonyyyy') by rosdwp;
106 CREATE table biplr_rx as
107 SELECT
108 mrb_id,
109 uniq_mbr_id,
110 pcp_spc,
111 rx_date,
112 brand,
113 generic,
114 ahfs_cd,
115 ahfs_dsc,
116 lbl,
117 strngth,
118 unt,
119 spc_tx_cls_cd,
120 spc_tx_cls_dsc,
121 gcn,
122 rx_num,
123 rx_ingrd,
124 rx_paid,
125 rx_cnt,
126 rx_qty,
127 rx_day
128 FROM connection to rosdwp
129 (SELECT
130 mid.UNIQ_MBR_ID as uniq_mrb_id,
131 blpr.mrb_id.mbr_id,
132 pd.PRVDR_SPCLTY_DESC as pcp_spc,
133 pcf.LAST_SRVC_DT as rx_date,
134 dd.BRAND_NAME as brand,
135 dd.GNRC_NAME as generic,
136 dd.AHFS_THRPTC_CLS_CD as ahfs_cd,
137 dd.AHFS_THRPTC_CLS_DESC as ahfs_dsc,
138 dd.LABEL_NAME as lbl,
139 dd.STRNGTH_NUM as strngth,
140 dd.STRNGTH_UNIT_DESC as unt,
141 dd.SPECF_THRPTC_CLS_CD as spc_tx_cls_cd,
142 dd.SPECF_THRPTC_CLS_DESC as spc_tx_cls_dsc,
143 dd.GCN_NUM as gcn,
144 pcf.PRSCRPTN_NUM as rx_num,
145 SUM(pcf.INGRDNT_AMT) as rx_ingrd,
146 SUM(pcf.PD_AMT) as rx_paid,
147 SUM(pcf.UNIT_SRVC_CNT) as rx_cnt,
148 SUM(pcf.DSPNSD_QTY) as rx_qty,
149 SUM(pcf.DAY_SUPLY_CNT) as rx_day
150 FROM
151 PHRMCY_CLM_FACT pcf,
152 MBR_ID_DMNSN mid,
153 DRUG_DMNSN dd,
154 PRVDR_DMNSN pd,
155 BIPLR_UP_V1 blpr
156 WHERE
157 (BIPLR_UP_V1.mbr_id = MBR_ID_DMNSN.UNIQ_MBR_ID) And
158 (PHRMCY_CLM_FACT.FINL_CLM_KEY = PHRMCY_FINL_CLM_DMNSN.FINL_CLM_KEY) AND
159 (PHRMCY_CLM_FACT.MBR_KEY = MBR_ID_DMNSN.MBR_KEY) And
160 (PHRMCY_CLM_FACT.BNFT_KEY = MBR_BNFT_DMNSN.BNFT_KEY) And
161 (PHRMCY_CLM_FACT.DRUG_KEY = DRUG_DMNSN.DRUG_KEY) And
162 (PHRMCY_FINL_CLM_DMNSN.CLM_ORGN_CD IN ('M','A')) AND
163 (PHRMCY_CLM_FACT.LAST_SRVC_DT BETWEEN &q.&fdos.&q and &q.&ldos.&q)
164 );
ERROR: ORACLE prepare error: ORA-00904: "PHRMCY_CLM_FACT"."LAST_SRVC_DT": invalid identifier. SQL statement: SELECT
mid.UNIQ_MBR_ID as uniq_mrb_id, blpr.mrb_id.mbr_id, pd.PRVDR_SPCLTY_DESC as pcp_spc, pcf.LAST_SRVC_DT as
rx_date, dd.BRAND_NAME as brand, dd.GNRC_NAME as generic, dd.AHFS_THRPTC_CLS_CD as ahfs_cd,
dd.AHFS_THRPTC_CLS_DESC as ahfs_dsc, dd.LABEL_NAME as lbl, dd.STRNGTH_NUM as strngth, dd.STRNGTH_UNIT_DESC as
unt, dd.SPECF_THRPTC_CLS_CD as spc_tx_cls_cd, dd.SPECF_THRPTC_CLS_DESC as spc_tx_cls_dsc, dd.GCN_NUM as gcn,
pcf.PRSCRPTN_NUM as rx_num, SUM(pcf.INGRDNT_AMT) as rx_ingrd, SUM(pcf.PD_AMT) as rx_paid, SUM(pcf.UNIT_SRVC_CNT)
as rx_cnt, SUM(pcf.DSPNSD_QTY) as rx_qty, SUM(pcf.DAY_SUPLY_CNT) as rx_day FROM PHRMCY_CLM_FACT pcf,
MBR_ID_DMNSN mid, DRUG_DMNSN dd, PRVDR_DMNSN pd, BIPLR_UP_V1 blpr WHERE (BIPLR_UP_V1.mbr_id =
MBR_ID_DMNSN.UNIQ_MBR_ID) And (PHRMCY_CLM_FACT.FINL_CLM_KEY = PHRMCY_FINL_CLM_DMNSN.FINL_CLM_KEY) AND
(PHRMCY_CLM_FACT.MBR_KEY = MBR_ID_DMNSN.MBR_KEY) And (PHRMCY_CLM_FACT.BNFT_KEY = MBR_BNFT_DMNSN.BNFT_KEY) And
(PHRMCY_CLM_FACT.DRUG_KEY = DRUG_DMNSN.DRUG_KEY) And (PHRMCY_FINL_CLM_DMNSN.CLM_ORGN_CD IN ('M','A')) AND
(PHRMCY_CLM_FACT.LAST_SRVC_DT BETWEEN '01JUN2007' and '30SEP2009').
NOTE: PROC SQL set option NOEXEC and will continue to check the syntax of statements.
165 execute (drop table biplr_up_v1) by rosdwp;
NOTE: Statement not executed due to NOEXEC option.
166 disconnect from rosdwp;
NOTE: Statement not executed due to NOEXEC option.
167 quit;
NOTE: The SAS System stopped processing this step because of errors.
NOTE: PROCEDURE SQL used (Total process time):
real time 0.24 seconds
cpu time 0.02 seconds
168
Edited by: user12142482 on Nov 2, 2009 4:02 PM -
I have created a execut sql task -
In that, i have a created a 'empidvar' variable of string type and put sqlstatement = 'select distinct empid from emp'
Resultset=resultname=0 and variablename=empidvar
I have added data flow task of ole db type and I put this sql statement under sql command - exec emp_sp @empidvar=?
I am getting an error.
[OLE DB Source [1]] Error: A rowset based on the SQL command was not returned by the OLE DB provider.
[SSIS.Pipeline] Error: component "OLE DB Source" (1) failed the pre-execute phase and returned error code 0xC02092B4.shouldnt setting be Result
Set=Full Resultset as your query returns a resultset? also i think variable to be mapped should be of object type.
Then for data flow task also you need to put it inside a ForEachLoop based on ADO.NET recordset and map your earlier variable inside it so as to iterate for every value the sql task returns.
Also if using SP in oledb source make sure you read this
http://consultingblogs.emc.com/jamiethomson/archive/2006/12/20/SSIS_3A00_-Using-stored-procedures-inside-an-OLE-DB-Source-component.aspx
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs -
SOLMAN_SETUP/ preparation phase 5.1 configure web dispatcher config failed.
Hello
Based on SAP Solution manager 7.1. SPS 11 Fresh install, SOLMAN_SETUP/ preparation phase 5.1 configure web dispatcher config failed.
Error message:
L3 - Failed to reach test WS through System Settings (ICM/HTTPURLLOC):
http://vip.myfqdn.fr:80
L2 - Test WS can be reached through ICM:
http://hostname.myfqdn.fr:8000
SOAP:1.023 SRT: Processing error in Internet Communication Framework: ("ICF Error when receiving the response: ICM_HTTP_CONNECTION_FAILED")
Solman is located in a DMZ, http/https are configurated in table
HTTPURLOC and load balancer is used to publish http and https url and port redirection
instead of native url « hostname » + default port (80xx / 443xx)
• In DMZ for url
http://hostname.myfqdn.fr:8000/ManagedSetupWS/Config1?style=document
system answer is OK
• In LAN via Load balancer url return KO message
http://vip.myfqdn.fr:8000/ManagedSetupWS/Config1?style=document
Any help will be appreciate.
Regards
EricHi All,
I have resolved the issue with re-setting the password of SM_INTERN_WS & SM_EXTERN_WS.
from step 1.
with no-dispatcher configuration..
Regrads,
Gagandeep Singh -
Error in Prepare upgrading ECC6 to EHP4
I'm receiving this error message during prepare phase while upgrading from ECC6 to EHP4 using the EHP Installer. Please help with this. Thanks in advance.
ERROR: Unable to generate addon queue due to missing addons or support packages.
Missing Support Package(s):
(ECC-DIMP)
KhaSunny,
The support packages exist in the download and EPS/IN directories. There are additional error messages where it says "The Enhancement Package Stack does not fit to the current system."
ERROR: Unable to generate addon queue due to missing addons or support packages.
Missing Support Package(s):
(ECC-DIMP)
The Enhancement Package Stack does not fit to the current system.
Thanks,
Kha -
Experts,
I am getting SPAM error in SPAM_CHK_INI phase..The message came to update the SPAM level to latest.I did for the latest one for SPAM in 4.7 620 version..but after running PREPARE phase throwing error...I am attaching the log..Please help..I have a fixed timeline and have to complete the upograde within 1 day..I will rewrad for your kind effort..Current SPAM is 6.20/0036..
>> 16:30:30 PREPARE: START OF PHASE SPAM_CHK_INI
ERROR: Calling function module 'spda_get_spam_version'
failed. Error code 3.
? continue
? cancel
Waiting for input since Jan 14, 2009 4:30:30 PM
SEVERE ERROR(S) OCCURRED IN SPAM_CHK_INI !!!
? exit
? retry
Regards,
Chinmaya..Hi,
SPAM latest version available in SWDC in 32 only.
Just apply the SPAM patch and restart the PREPARE phase, it should get succeeded, I have done it many times.
Regards
KT -
Error in TP_ACTION_CP2STRIG phase ERP 6 EHP4
Hi all,
I have a error in TP_ACTION_CP2STRIG phase, please check the error..
SAPEBBQ701.GE3
3 ETW685Xstart copying of "R3TRTABUKSML" ...
4 ETW000 Mon Jul 26 09:36:14
2010 104301412 359.495280
4 ETW000 OCIStmtExecute() failed with
-1=OCI_ERROR 26 359.495306
4 ETW000 SQL error
942: 17 359.495323
***4 ETW000 **LOG BZA=>table KSML~ does not**
*exist on database *
4
ETW000
69 359.495392
2EETW000 sap_dext called with msgnr "2":
2EETW000 -
db call info -
2EETW000 function: db_xrtab
2EETW000 fcode: RT_INSERT
2EETW000 tabname: KSML~
2EETW000 len (char): 182
2EETW000 key: 00099999900000010000
99999493990000000000100 00000000 000
2EETW000 retcode: 2
2EETP200 Export with errors, request will not be imported
1 ETP150 MAIN EXPORT
1 ETP110 end date and time : "20100726093614"
1 ETP111 exit code : "12"
1 ETP199 ######################################
4 EPU202XEND OF SECTION BEING ANALYZED
Thank you
RogérioHi,
I used the latest version of R3trans but the problem not solved.
I used the SAPEHP Inst with the patch 32 but the problem not solved.
In outhers ERP system with EHP 4 the table KSML~ not exist.
The OSS with SAP opened.
Thank you.
Rogério -
SEVERE ERROR in Upgrade Phase ADDON_SPEC2
I`m trying to upgrade R/3 Release 4.6C to SAP ECC 6.0 SR3 (7.0) Abap:
Unix - Oracle.
I found no errors in log files.
I have successfully completed all the PREPARE PHASES.
Source System:
SAP release: R/3 Release 4.6C
DB version: 10.2.0.2
S.O. version: HP-UX B.11.23 U ia64
Kernel: 46D_Ext
Target System:
SAP release: ECC 6.0 R/3 (7.0)
DB version: 10.2.0.2
S.O. version: HP-UX B.11.23 U ia64
Please help,
Regards,
Erickmore SAPup.log
UPGRADEPHASE ADDON_SPEC2
...started at 20090219124818
Phase log file: 'ADDONSPEC2.LOG'
..finished at 20090219124818 with SEVERE ERROR(S).
...begin dialogue at 20090219124818
...end dialogue at 20090219135001
..answered at 20090219135001.
-> decided to exit.
more ADDONSPEC2.SAV
#---- MASKING file ADDONSPEC2.LOG from /usr/sap/put/log
#---- TIME: 20090219124818
1 ETQ201XEntering upgrade-phase "ADDON_SPEC2" ("20090218183020")
2 ETQ367 Connect variables are set for standard instance access
4 ETQ399 System-nr = '01', GwService = 'sapgw01'
4 ETQ399 Environment variables:
4 ETQ399 dbs_ora_schema=SAPSP1
4 ETQ399 auth_shadow_upgrade=0
ADDONSPEC2.SAV: END
more ADDONSPEC2.LOG
1 ETQ201XEntering upgrade-phase "ADDON_SPEC2" ("20090219124818")
2 ETQ367 Connect variables are set for standard instance access
4 ETQ399 System-nr = '01', GwService = 'sapgw01'
4 ETQ399 Environment variables:
4 ETQ399 dbs_ora_schema=SAPSP1
4 ETQ399 auth_shadow_upgrade=0
Some idea,
Erick -
Error getting while adding BI patch (SQL error 1089 accessing)
Dear Experts ,
here i faced one problem while adding BI patch to newely installed system
the error is at phase import_proper below are shown error log
/usr/sap/trans/log/SAPI-704IFINBICONT.LBD
ERROR LOG
Start import R3TRFUGR/POSDW/CONVERSION_XML ...
1 entry for TADIR updated (R3TRFUGR/POSDW/CONVERSION_XML ).
2 entries from TFTIT deleted (pname /POSDW/SAPLCONVERSION_XML)
7 entries from FUPARAREF deleted (pname /POSDW/SAPLCONVERSION_XML)
2 entries from ENLFDIR deleted (pname /POSDW/SAPLCONVERSION_XML)
2 entries from TFDIR deleted (pname /POSDW/SAPLCONVERSION_XML)
dev trc ,00000 Fri Oct 1 10:28:27 2010 -649694573 88072.488603
dev trc ,00000 OCI-call failed with -1=OCI_ERROR 44 88072.488647
dev trc ,00000 SQL error 1089: 'ORA-01089: immediate shutdown in progress - no operations are permitted'
50 88072.488697
http://dbsloci. ,00000 *** ERROR => Error 1089 in stmt_fetch() from oci_execute_stmt(), orpc=0
59 88072.488756
http://dbsloci. ,00000 *** ERROR => ORA-1089 occurred when executing SQL stmt (parse error offset=0)
50 88072.488806
dev trc ,00000 sc_p=0x110f364a8,no=27,idc_p=0x110f4ece0,con=0,act=1,slen=68,smax=256,#vars=1,stmt=0x111799cc0,table=D010INC
57 88072.488863
dev trc ,00000 SELECT MASTER FROM D010INC WHERE INCLUDE = :A0 ORDER BY MASTER;
47 88072.488910
dev trc ,00000 sc_p=0x110f364a8,no=27,idc_p=0x110f4ece0,con=0,act=1,slen=68,smax=256,#vars=1,stmt=0x111799cc0,table=D010INC
113 88072.489023
dev trc ,00000 prep=0,lit=0,nsql=0,lobret=0,#exec=972,dbcnt=0,upsh_p=(nil),ocistmth_p=0x11179a658
50 88072.489073
dev trc ,00000 IN : cols=1,rmax=1,xcnt=0,rpc=0,rowi=0,rtot=0,upto=4294967295,rsize=80,vmax=32,bound=1,iobuf_p=0x111083a40,v
69 88072.489142
dev trc ,00000 lobs=0,lmax=0,lpcnt=0,larr=(nil),lcurr_p=(nil),rret=0
46 88072.489188
dev trc ,00000 OUT: cols=1,rmax=792,xcnt=792,rpc=0,rowi=0,rtot=0,upto=4294967295,rsize=80,vmax=32,bound=1,iobuf_p=0x111225e
54 88072.489242
dev trc ,00000 lobs=0,lmax=0,lpcnt=0,larr=(nil),lcurr_p=(nil),rret=0
46 88072.489288
dev trc ,00000 SELECT MASTER FROM D010INC WHERE INCLUDE = :A0 ORDER BY MASTER;
46 88072.489334
dbrepo ,06599 ***LOG BY4=>sql error 1089 performing FET on table D010INC dbrepo#4 @ 6599
72 88072.489406
dbrepo ,06599 ***LOG BY0=>ORA-01089: immediate shutdown in progress - no operations are permitted dbrepo#4 @ 6599
50 88072.489456
sap_dext called with msgnr 1:
db call info
function: db_report_interface
fcode: READ_MASTERS
tabname: SOURCE
len (char): 40
key: /POSDW/LCONVERSION_XML$01
retcode: 1
SQL error 1089 accessing : ORA-01089: immediate shutdown in progress - no ope
Main import
End date and time : 20101001102827
Ended with return code: ===> 12 <===
please clarefy me how can i solve this my issue
RegardsDear Smathi,
Based on the error, Error 1089 in stmt_fetch, can you please check this error message with your database
administrator? Please have a look at note #551.
Regards,
Shimon Zafrir -
Error during upgrade phase JOB_RSUPGCUA_SHD
Hi Everyone,
We are in the process of completing a combined ERP 6.0 Upgrade / Unicode Conversion. Our starting release is ECC 5.0 (ABAP only) and we are running Oracle 10.2.0.2 on AIX 5.3.
We are receiving the following error in phase JOB_RSUPGCUA_SHD:
1 ETQ201XEntering upgrade-phase "JOB_RSUPGCUA_SHD" ("20080812163717")
2 ETQ366 Connect variables are set for shadow instance access
4 ETQ399 System-nr = '56', GwService = 'sapgw56'
4 ETQ399 Environment variables:
4 ETQ399 dbs_ora_schema=SAPR3
4 ETQ399 auth_shadow_upgrade=1
4 ETQ260 Starting batchjob "RSUPGCUAGEN111"
4 ETQ010 Date & Time: 20080812163717
4 ETQ260 Starting batchjob "RSUPGCUAGEN111"
4 ETQ230 Starting RFC Login to: System = "ENP", GwHost = "aix12j1", GwService = "sapgw56"
4 ETQ359 RFC Login to: System="ENP", Nr="56", GwHost="aix12j1", GwService="sapgw56"
4 ETQ232 RFC Login succeeded
4 ETQ233 Calling function module "SUBST_START_BATCHJOB" by RFC
2EETQ235 Call of function module "SUBST_START_BATCHJOB" by RFC failed (error-status "10")
2EETQ261 Start of batchjob "RSUPGCUAGEN111" failed
1EETQ203 Upgrade phase "JOB_RSUPGCUA_SHD" aborted with errors ("20080812163717")
We originally had some issues with the shadow system not starting in phase START_SHDI_FIRST. The source of the problem was the value of paramter ipc/shm_psize_40 in the instance profile of the shadow system. When we ran "sappfpar check" on the profile, the output indicated that the paramter was too small. We backed up the profile, increased the parameter to the value "sappfpar check" recommended and then stopped the shadow system via "SAPup stopshd." We then repeated the phase. The shadow instance was started successfully and the upgrade proceeded with subsequent phases.
We encountered the error above several phases later. The shadow instance is started and I am able to login with user DDIC. As detailed in the error message above, function module SUBST_START_BATCHJOB is aborting with error code 10. Based on what I can interpret from source code of the function module, this seems to indicate that there is a problem with the program values. The SM21 log indicates that "Program name RSUPGCUAGEN111 is invalid."
What do we need to do to get past this error?
Thanks in advance for any assistance,
Tommyefor our case it was that the shadow instance was not completely stsarted, some processes were down, cause the ipc pool 40 was too small, i found the error in the killed work processes.
Probleme resolved as susch. i hope it will help someone.
Regards
Maybe you are looking for
-
Not getting all my mail on the iphone
Last week my iphone stopped receiving my email. There are some messages there, but not all. All of them are from yesterday and I can tell you that I have about 20 unread messages in my account, but only 6 are there (all from yesterday). I can send em
-
LDAP + SSL + tomcat- Please help!
Please help I searched the whole site, i m new to JNDI, Security and E-directory, all I got was confusion, and lots of exception. Here's my problem, I trying to run a web application on tomcat web server. I have a login.html, for users to login to my
-
i am trying to call using iphone 5 and i pod touch but i am facing a problem . the problem is that there are doisturbing sounds in both of them
-
Another Person Failing to Get Started Needs Help
Hi there, Here at OHSU we just got the necessary information to start to connect to our iTunes site. I am using the Shell script to which I have appended the .cgi extension so that my web server knows what to do with it (itunesu.cgi). I also compiled
-
Associating selection criteria w/One-to-Many (1-M) indirect queries
I have classes with one or more private, 1-M relationships to other classes. The mappings in the parent obejcts are set to use transparent indirection, and we gain a lot of performance by not retrieving the "child" records until an event occurs which