Problem interface having only target datastore without source
Hi,
I have created an interface,there is no source my target is oracle table.
This table is having columns like..
current_date,load_cycle_id etc.
For current date in mapping i wrote 'select sysdate from dual' or 'sysdate'
For load_cycle_id = database sequence is mapped like
<schemaname>.<seq_name>.nextval
But it is not working properly,
In the operator select query doesn't have the from clause table value because of this it is resulting in an error.I manually added dual in that it is working.
plz let me know how to create interface without source datastore and necessary setting required.
<schemaname>.<seq_name>.currval it is also not working,it is giving error like
"not defined in this session"
plz let me know how to solve these problems
Thanks,
Jai
and in one more interface if i want to use current value of the sequence i wrote
I have created file_id_seq in database.
In my first interface i have only target datastore.I have two fileds,like
Load_cycle_id: Mapping--> <schema>.<seq_name>.nextval
log_date : Mapping--> sysdate
when I saw the query generated by the Odi in operator description tab
selec ..
from <table name is missing>
in from clause i manually added dual ,and restarted the session then it was done.
Its problem with query generated by the ODI.
I changed in mappin as "select sysdate from dual" like that still i didn't get.
After loading this interface by manually editing ,I created one more interface,
in that one more filed is there which requires current value of the sequence used in above interface.In mapping i wrote <schema>.<seq_name>.curr_val Its resulting in an error like "sequence current value is not defined in this current session"
plz help me
Jai
Similar Messages
-
Hi all,
Can we demodulate the signal recieved at DAQ card without using any hardware interface(by only using labview)? if yes then how? please give brief idea.
Regards,
AmitThere is probably a way to do it, but it it may be easier to use an X-series board for the job. They support a new counter capability for count reset on a digital edge without needing to be configured in encoder position mode. I am not sure exactly how that feature's been implemented however, so maybe it won't make things easier after all.
The plan based on the hoped-for behavior:
1. Configure an X-series counter for pulse generation based on "ticks" of your clock channel.
2. Set both initial delay and low time to the critical # of ticks.
3. Configure for count reset on a digital edge (if possible in pulse generation mode)
4. Configure the count reset value to be the critical # (or possibly 1 less, if possible in pulse generation mode)
5. If you want the output to remain high indefinitely, configure the counter task to use its own output as a
pause trigger, and pause while high.
The way pulse generation works is to preload a # of "low time" ticks into the count register. Then every source edge will decrement the count. When the count reaches terminal count (0), the counter's output is toggled (or can be configured to pulse). The register is then loaded with the # of "high time" ticks and the process continues.
You would be perpetually interrupting the count-down process as long as you got your triggers in time. The count would keep getting reset to the # of low counts, keep decrementing toward 0 without reaching it, and so on. If ever you did reach 0, the output state would toggle high, then the high state would prevent subsequent clock signals from decrementing the count.
You can conceivably do a similar thing with a 6601, but I'm pretty sure you'd need 2 counters working together to get it working.
-Kevin P -
Is there a fix yet for the no sound problem with lion on the iMac without having to restart every time I switch the computer on?
Try booting in Safe Mode by holding the the shift key immediately after powering on your system. Safe boot mode will for a directory check of your startup volume, then load only the required kernal extensions (kext files), and deletes some cache files. Once the system boots into Safe Mode you can simply restart the system to see whether the issue has been resolved.
If you still have the issue try resetting the SMC by shutting down the system and disconnecting the power cord for ~15 seconds, then reconnecting the power cord. Next, reset the parameter RAM (PRAM) by holding down the option-option-P-R keys after powering ON the system. Wait until the iMac restarts twice, then let the system boot normally. -
Bei aktalisierung erfolgt das download, nach ende Download kommt Fehlermeldung fehler beim Download (Installation nicht möglich, Versuchen Sie es später noch einmal.
Kennt jemand das Problem, was kann ich tun?
Harald Bässle
Emailaddresse: [email protected]Hello,
I installed the newest Application Manager some updates seems to be installed now but extension manager CS5 5.0 update is not successful > error code U43M1D207. What I must do?
I this the right way t answer?
Whating for reply
Thanks
Harald
Von: R_Kelly
Gesendet: Freitag, 29. August 2014 03:41
An: Harald Bässler
Betreff: I installed First time Photoshop CS5 on my new PC (operation system windows 8.1, 64 bit). Sie prpram runs without problems so far, only the update is not possible.
I installed First time Photoshop CS5 on my new PC (operation system windows 8.1, 64 bit). Sie prpram runs without problems so far, only the update is not possible.
created by R_Kelly <https://forums.adobe.com/people/R_Kelly> in Photoshop for Beginners - View the full discussion <https://forums.adobe.com/message/6683157#6683157> -
HI
I have a strange problem concerning group call pickup in lync 2013.the pickup calls on snom 710 having only a second delay, but in lync client it having about 5-7 second
Anybody out there having similar problems with call pickup Groups?Hi,
Did you meet any other call delay when you using Lync?
As the issue happen for Lync desktop client, it can be performance issue. Please check if there is any error message from FE Server when the issue happen.
Also please check if you have updated Lync Server to the latest version, if not, update it and then test again.
Best Regards,
Eason Huang
Eason Huang
TechNet Community Support -
Why there is no datatype which only stores date (without time part)
Hi All,
Is there any specific reason for not having a data type which only stores date (without time part) in ORACLE - I am asking this because DATE (without time) is a very frequently used data type in any application.
Thanks.884476 wrote:
Then why ORACLE is allowing to have scale and precision in a NUMBER data type. If I want to store an integer there is no harm in storin it just as NUMBER. But I habe option to give something like NUMBER(10). But in DATE, the time part is mandatory.a) because there's no need for seperate DATE and DATETIME datatatypes, and b) the time part is not 'mandatory'.
SQL> create table mytable (x date);
Table created.
SQL> insert into mytable (x) values (to_date('01/01/1980','DD/MM/YYYY'));
1 row created.
SQL>The DATE datatype contains the Time as well, to make it flexible... a single datatype that can do both things without the need for any conversion between datatypes (either explicitly or implicitly).
Yes, many application need to have fields on the screen that just show a date, such as a date of birth as you say, but that's simply a display issue, and any application interface will allow for a date format to be specified for displaying the data from the database, so in terms of such "Date only" dates, you would simply use a format mask that ignores the time portion.
There's absolutely no issue with the fact that it's just a single datatype... it causes no problems... it's perfectly flexible at being used for just dates or for dates and times... so why such a concern? -
Use 60GB iPod with laptop having only USB 1 ports?
I'd like to buy a 60GB iPod for use with a Compaq laptop having only USB I ports and no firewire. Is this possible? I know that the documentation mentions only the use of USB II. Is there a work-around? I
There are also USB2.0 PCMIA cards out there that should work unless someone has had some problems with that. As with any important computer where you have important documents, you should back up at least 1 or 2 times a month to once a week in my opinion. I have Iomega USB2.0 HDD (80 GB) that I back up my lap top to. It is really critical that you do so or you will find yourself without important family photos (we have almost 5 years worth of digital photos on our computers). I hope that also helps.
-
Hi there, my internet is crashing everytime I use my macbook pro/safari it happens roughly every 2 mins, it can happen on any website.
I am not technical at all and I am at a total loss of where to start with this. I did a bit of research on the internet but no luck in finding any
help.
Basically I am not sure if it is a modem of safari problem. I have no problems when using my HP on without windows explorer on the internet.
I am working wireless ADSL 2 - Bigpond - 2 Wire 2701 HGV-W and a macbook pro purchased around 5 months ago. Since the purchase date
I have had problems with internet.
Safari brings up a page you are not connected to the internet. I then look at the modem and DSL and internet lights are both flickering and or/off.
They then re-set themselves. I then have to re-set preferences on safari and quit and restart.
I have also tried using with cable into mac and modem and no difference.
I can only figure that maybe Safari is not compatible with the modem? could this be the case?
Thanks for reading and any assistance would be appreciated.
FiThere's an Apple help page on the DNS problem - at http://support.apple.com/kb/TS3408
The first thing to try is changing your DNS settings - and for that you need to open System Preferences, then the
Network section.
In Network - click on Advanced - then the DNS tab
under DNS servers - use the + button to enter two extra lines
either these, from google dns
8.8.8.8
8.8.4.4
or from OpenDNS
208.67.222.222
208.67.220.220
then click OK & then 'Apply'
You would need to do that seperately for the Cable (Ethernet) settings and Wireless (Airport) -
my computer has some serious problems, my iphoto only shows only shows thumb size pics when I try to open them, i tried to rebuild my files from folders that had the pics in them. originally all the photos had a large delta with a question mark. also I can't back up the library file because its not there. I went to time machune and tried to find the file but I can't find it or I am looking in the wrong place. I also lost my Idvd file, only have broken chain showing.
Details please
What version of iPhoto and of the OS?
i tried to rebuild my files from folders that had the pics in them.
Exactly what did you do and how did you do it? this ay be the cause of your issue but without details we can n=ony guess
my iphoto only shows only shows thumb size pics when I try to open them,
where do you see htis? In the iPhoto window? what does "try to pen them" exactly mean?
originally all the photos had a large delta with a question mark.
Ok - this usually has a simple solution - do you still have a copy of the library that has this problem?
also I can't back up the library file because its not there.
This makes no sense at all - all of your previous statements indicate that you do have an iPhoto library but have some problems with it
By default your iPHoto library is located in your Pictures folder and is named iPhtoo library - if tha tis not the case the you have moved or renamed it and only you know what you did until you tell us the details
I went to time machune and tried to find the file but I can't find it or I am looking in the wrong place.
Again unless you actually share what and how you are doing thing but continue to simply state abstract problems it is no possible to assist you - details on using Time Machine are here -- http://support.apple.com/kb/HT1427?viewlocale=en_US&locale=en_US -- and -- http://pondini.org/TM/FAQ.html ---
I also lost my Idvd file, only have broken chain showing.
This would be better addressed in the iDVD forum - but again unlesss yu share detailed information no one can assist
LN -
Strange email problem; it started only loading unread emails, but from 3 months ago. It is now loading new emails too, but no emails in the past month, read or unread. It's gmail, set up through the phone, I've restarted restored and updated firmware, deleted the account, anything I could think of, but it's just not accurately downloading the most recent emails.
The answer is very simple: You were not the original owner of the phone. Target sold you a phone that had been returned. You can verify the date of the original sale here: Apple - Support - Check Your Service and Support Coverage. I suspect you will find that the warranty expiration date is not one year from the date that you bought it.
-
Syntax for Merge statement to insert into target and update source
Hello All,
I want to use Merge statement to insert records when not matched in my target and update records in source when matched. Is it possible to do using Merge statement.
create table a (aa number)
create table b (bb number)
alter table a add flg char(1)
merge b as target
using a as source
on (target.bb = source.aa)
when matched then
update set source.flg = 'Y'
WHEN NOT MATCHED THEN
insert (target.bb)
values
(source.aa)
Thanks.Hi,
I have no idea about the version of DB, else some new features with respect version can be specified - just for informaitve purpose and to post across the verison of DB in future posts.
Coming to your issue and requirement.
if you check the syntax and functionality , then its on Merge on target base only - with respect to Update (matched o columns) and insert (for unmatched columns). Source - as the term is clear. It might not work out on source table.
- Pavan Kumar N
- ORACLE OCP - 9i/10g
https://www.oracleinternals.blogspot.com -
Hello All,
Trust you are doing well.
Believe this is the good time to connect with you all get some advice on the below mentioned scenario:
Material (XXXXXX) is discontinued at source location (Plant specific material status: 90) but the same material
(XXXXXX) is still used in destination location (plant specific material status: 60). Here heuristic run @ destination location is creating the purchase requisition without source plant.
Here the customer expectation is that “SNP should not create the order, since the material is discontinued in source plant”
Could you please advise?
Regards,
PrabinHi Prabin,
You can change the SNP profile to NO PLANNING automatically and exclude the target location from the SNP run. Maybe you can try using Badi: SMOD_APOCF005.
This is what I would do:
1- Do not exclude the status 90 in the iModel.
2- Then when you change the status in order to discontinue a material at the source location you will be changing the status from 60 to 90 and you will CIF this modification to APO. At this time, I would use the BAdI: SMOD_APOCF005 to identify this situation. You will need to add a code in order to identify what are the possible target plants of your source plant and you will need to change the SNP Profile at the target location.. look for a BAPI for this...
Take a look of this document to see an example code of SMOD_APOCF005:
APO SNP - Master Data Automation
Kind Regards,
Mariano -
EJB 3 Problem: "Collections having FK in secondary table"
Hi,
working with EJB 3 first time, i have to develop my entites by a DB scheme. It is very complex and now I have the problem using composite FK / PK in many tables, so that a refenrenced key has as the same time both properties: FK / PK.
Example: +3 Tables: Mxx:={M_ID as PK},
Lxx:={M_ID as PK / FK from Mxx},
Zxx:={M_ID as PK/FK from Lxx}+
I have built Mxx.java, Lxx.java with @EmbeddedId from LxxPK.java (works) and the problem table Zxx.java with @EmbeddedId from ZxxPK.java which includes a reference key and same time primary key from Lxx.
How can I solve the problem of "having FK in secondary table"?
THX for your help!I will specify my problem a little more:
I have an Entity named zuordnung_module_lv_ma this references an Entity lehrveranstaltungen.
In zuordnung_module_lv_ma :
@OneToMany
@JoinColumn(...)
public Collection<lehrveranstaltungen> lv = new ArrayList...
For more detailed information look at this:
my only problem is the table zuordnung_module_lv_ma
SQL:
create table BLOECKE
BLOCKID integer not null,
WOCHENTAG integer,
ZEIT_VON datetime,
ZEIT_BIS datetime,
LOGISCHGELOESCHT char not null,
constraint PK_BLOECKE primary key (BLOCKID)
create table CURRICULA
CURRICULUMKUERZEL varchar not null,
CURRICULUMBEZ varchar,
CURRICULUMID integer not null,
IDVERANTWORTLICHERSTUDIENDEKAN integer,
LOGISCHEGELOESCHT char not null,
constraint PK_CURRICULA primary key (CURRICULUMID)
create table LEHRVERANSTALTUNGEN
MODUL_ID integer not null,
LV_ID integer not null,
SWS double not null,
ART_LV char not null,
LOGISCHGELOESCHT char not null,
MAXTEILNEHMER integer not null,
constraint PK_LEHRVERANSTALTUNGEN primary key (MODUL_ID, LV_ID, ART_LV)
create table MITARBEITER
MA_ID integer not null,
TITEL varchar,
NACHNAME varchar not null,
VORNAME varchar not null,
AUFGELAUFENESWS integer,
LETZTESFORSCHUNGSFREISEMESTER varchar,
BEGINNANSTELLUNG date,
ENDEANSTELLUNG date,
MA_KUERZEL varchar not null,
GEBURTSDATUM date,
LOGISCHGELOESCHT char not null,
MA_KATEGORIE_ID integer,
constraint PK_MITARBEITER primary key (MA_ID)
create table MITARBEITERKATEGORIE
MA_KATEGORIE_ID integer not null,
MA_KATEGORIE_BEZ varchar not null,
constraint PK_MITARBEITERKATEGORIE primary key (MA_KATEGORIE_ID)
create table MODULE
MODUL_ID integer not null,
MODULKUERZEL varchar not null,
IDMODULVERANTWORLTICHER integer not null,
IDSTVMODULVERANTWORTLICHER integer,
CURRICULUMID integer,
ID_MODULGRUPPE varchar,
MODULNAME varchar,
PFLICHTFACH binary,
SEMESTER integer,
CREDITPOINTS integer,
LOGISCHGELOESCHT char not null,
constraint PK_MODULE primary key (MODUL_ID)
create table MODULGRUPPEN
CURRICULUMID integer not null,
ID_MODULGRUPPE varchar not null,
MODULGRUPPENBEZ varchar,
LOGISCHGELOESCHT char not null,
constraint PK_MODULGRUPPEN primary key (CURRICULUMID, ID_MODULGRUPPE)
create table ZUORDNUNG_MODUL_CURRICULUM
MODUL_ID integer not null,
CURRICULUMID integer not null,
LOGISCHGELOESCHT char not null,
constraint PK_ZUORDNUNG_MODUL_CURRICULUM primary key (MODUL_ID, CURRICULUMID)
create table ZUORDNUNG_MODUL_LV_MA_SEMINAR_EXEMPLAR
MODUL_ID integer not null,
LV_ID integer not null,
ART_LV char not null,
SEMESTER varchar not null,
MA_ID integer not null,
WOCHE_G_U char not null,
BLOCKID integer not null,
EXEMPLAR varchar not null,
LOGISCHGELOESCHT char not null,
constraint PK_ZUORDNUNG_MODUL_LV_MA_SEMIN primary key (MODUL_ID, LV_ID, ART_LV, SEMESTER, MA_ID, WOCHE_G_U, BLOCKID, EXEMPLAR)
alter table CURRICULA
add constraint FK_CURRICUL_ZURODNUNG_MITARBEI foreign key (IDVERANTWORTLICHERSTUDIENDEKAN)
references MITARBEITER (MA_ID)
on update restrict
on delete restrict;
alter table LEHRVERANSTALTUNGEN
add constraint FK_LEHRVERA_ZURODNUNG_MODULE foreign key (MODUL_ID)
references MODULE (MODUL_ID)
on update restrict
on delete restrict;
alter table MITARBEITER
add constraint FK_MITARBEI_ZUORDNUNG_MITARBEI foreign key (MA_KATEGORIE_ID)
references MITARBEITERKATEGORIE (MA_KATEGORIE_ID)
on update restrict
on delete restrict;
alter table MODULE
add constraint FK_MODULE_ZUORDNUNG_MITARBEI foreign key (IDMODULVERANTWORLTICHER)
references MITARBEITER (MA_ID)
on update restrict
on delete restrict;
alter table MODULE
add constraint FK_MODULE_ZUORDNUNG_MODULGRU foreign key (CURRICULUMID, ID_MODULGRUPPE)
references MODULGRUPPEN (CURRICULUMID, ID_MODULGRUPPE)
on update restrict
on delete restrict;
alter table MODULGRUPPEN
add constraint FK_MODULGRU_ZUORDUNG__CURRICUL foreign key (CURRICULUMID)
references CURRICULA (CURRICULUMID)
on update restrict
on delete restrict;
alter table ZUORDNUNG_MODUL_CURRICULUM
add constraint FK_ZUORDNUN_ZUORDNUNG_CURRICUL foreign key (CURRICULUMID)
references CURRICULA (CURRICULUMID)
on update restrict
on delete restrict;
alter table ZUORDNUNG_MODUL_CURRICULUM
add constraint FK_ZUORDNUN_ZUORDNUNG_MODULE foreign key (MODUL_ID)
references MODULE (MODUL_ID)
on update restrict
on delete restrict;
alter table ZUORDNUNG_MODUL_LV_MA_SEMINAR_EXEMPLAR
add constraint FK_ZUORDNUN_ZUORDNUNG_BLOECKE foreign key (BLOCKID)
references BLOECKE (BLOCKID)
on update restrict
on delete restrict;
alter table ZUORDNUNG_MODUL_LV_MA_SEMINAR_EXEMPLAR
add constraint FK_ZUORDNUN_ZURODNUNG_LEHRVERA foreign key (MODUL_ID, LV_ID, ART_LV)
references LEHRVERANSTALTUNGEN (MODUL_ID, LV_ID, ART_LV)
on update restrict
on delete restrict;
alter table ZUORDNUNG_MODUL_LV_MA_SEMINAR_EXEMPLAR
add constraint FK_ZUORDNUN_ZURODNUNG_MITARBEI foreign key (MA_ID)
references MITARBEITER (MA_ID)
on update restrict
on delete restrict;
THX for prospective comments! -
Dynamically deciding the target directory without ESR objects
Hi Experts,
I have come across File to File scenario(NFS) where I have to serve 2 purpose in one scenario using single receiver communication channel as the client have more than 40 plants.
1. I need to copy the file from source directory to target directory without creating the mapping objects.
2. based on source file name the target directory path will be the 'target directory + First 4 character of source file name i.e.(Plant name)'.
I am able to achieve the First requirement, can any one tell me how to achieve Second requirement.
Thanks in advance.
Ragards,
GopiHi Inaki Villa/ Anupam Ghosh,
Thanks for your previous reply. I was busy with some other WS related task.
I have gone through the thread which uses java code to dynamically set the Target Directory.
'Dynamic file name for pass-through scenario - Process Integration - SCN Wiki'.
But the mentioned JAR files are not available on our clients PI System (PI 7.0) I tried by importing the required JAR files from other system but it was giving some error. So I decided to go with ABAP Mapping and I am quite successful in setting the target directory. I am able to view the Target Directory and Target File name in 'DynamicConfiguration' in SXMB_MONI.
But it is not over writing the 'Target Directory' path mentioned in Receiver Communication Channel.
Could you please help me in this? Do I need to set anything else?
Regards,
Gopi -
The following warning is displayed when going through the following:
Database instance (target type)
Oracle Database > Monitoring > All Metrics
"Agent has disabled full monitoring of this target. Only target Status is being monitored."
Triggered by the following:
Summary
Due to 5 hung threads, the target is having all collections disabled
Internal Event Name
CollectionsDisabled:HungThreads
Event Type
Target Monitoring Disruption
Category
Unclassified
Following actions executed to attempt resolution:
+ Database has been bounced, error is resolved
+ Clearstate agent
+ re-enable all collections manually: Metric and Collection Settings > collection schedule column; enable
+ Bounce agent
OMS Version: 12.1.0.4.0
Agent Version: 12.1.0.4.0
Anybody have any ideas on how to clear this error?emctl clearstate agent TARGETNAME,TARGETTYPE
emctl status agent scheduler
emctl status agent target <Instance_name>,oracle_database
emctl status agent dbconnections
Try to colelct the particulare metric
emctl control agent runCollection TARGETNAME:TARGETTYPE COLLECTIONITEM
Finally, Observer the error message any on the log
agent_inst/sysman/log/gcagent.log
Maybe you are looking for
-
DST issue with 7940/7960 on CUCM 8.6.2
Hi Guys, In the last 19 October, in any city of Brazil started of date summer time (DST), and the IP Phone models 7940/7960 not changed the time automatically. After restart physical or logical the IP Phone stay the correct time. 7940 Firmware de apl
-
Is pga is being used in Parallel process
HI is pga is being used in parallel processing. if yes then increasing the size of pga can increase performance thank
-
Test Scripts for Process Chains
Hi Gurus, Can anybody send me the sample test scripts or the available links for process chains to my mail Id. [email protected] I will assign full points. Thanks in adance. Maruthi.
-
Please help
-
After computer would not boot and could not be repaired, I reformatted the HDD, reinstalled Vista plus all service packs and updates, recovered files from Microsoft backup and installed new copy of Firefox 3.6. Firefox will not run. I have deleted al