I need a code for backup from oracle forms 10.1.2.3g
Please if any body can help me that what code will I use to get a backup of my db from forms, I am using 10.1.2.3 version of forms with 10g db.
Thank you.
Hina
Hello,
Backing up a database is not the work of an Oracle Forms user. It has to be done by a Database administrator. There are several ways to backup a DB, cold or hot, with export/import, by copying the datafiles, ...
None of this methods have any relation with Oracle Forms, so have to be launched as external programs.
If the client has those utilities installed locally, you should use the Webutil Client_Host() built-in to start them.
Francois
Similar Messages
-
Need to Call VB DLL from Oracle forms 6i. Please help.
Dear Friends,
I am having a DLL which is created in VB. DLL having one function, that function having some IN parameters and it will return Char or Number.
Please tell me how to call, send IN Parameter and Get out value.
Advance Thanks.
Best Regards,
S.Mariappan.I am using ORA_FFI to register the library sucessfully, but getting error "PDE-DFF004 Can't find function clstest.ShowPopup in library C:\temp\testdll.dll", when register the function.
Has anyone successfully call a VB DLL using ORA_FFI.
Thanks.
-- Register the library
dll_handle := ora_ffi.load_library('C:\temp\','testdll.dll');
-- Register the function and parameters
test_handle := ora_ffi.register_function(dll_handle, 'clstest.ShowPopup', ora_ffi.C_STD);
ora_ffi.register_return(test_handle, ora_ffi.C_INT); -
How to open .cmdrw file from Oracle Forms 10g
Hi,
We need to call *.cmdrw* file from Oracle forms 10g. Is there any way to call *.cmdrw* file from Oracle forms 10g?
Thanks for the help.
Viishnu NekkantiIn case you want to open a .cmdrw with its associated application you can use the following procedure:
webutil_host.NonBlocking( 'rundll32 url.dll,FileProtocolHandler ' || client_filename );This works for every file where a program has been associated to its file extension. (Adobe Reader for *.pdf, Microsoft Word for *.doc, Microsoft Excel for *.xls and so on)
Regards
Markus -
Migrating from Oracle forms 4.5 to 9i
Please tell me if i can directly migrate from forms 4.5 to 9i?
If i migrate first to 6 and then to 9i when do i web enable my form?
What are the steps should i follow for migration from Oracle forms 4.5 to 9i?Strictly speaking we only certify the upgrade from 6i to 9i, however, the technical details of going from 4.5 directly to 9i are the same and in many cases should work as going from 6i to 9i.
Regards
Grant ROnald
Forms Product Management -
Need a code for finding prime no.s from 0 to 100.
Hi,
i need a code for finding prime no.s from 0 to 100.
Please help me out.
Regards,
Santosh Kotra.hai santosh,
here is an example program to find the prime number...........
EXAMPLE:
DATA: BEGIN OF primes OCCURS 0,
number TYPE i,
exp TYPE i,
END OF primes.
DATA: w_mult TYPE i,
w_limi TYPE i,
w_prem TYPE i.
DATA: w_outp TYPE text132.
DATA: w_rtime TYPE i,
w_stime TYPE p DECIMALS 3.
DEFINE add_part.
sy-fdpos = strlen( &1 ) + 1.
&1+sy-fdpos(*) = &2.
condense &1.
END-OF-DEFINITION.
PARAMETERS: p_numb TYPE i, "number to check
p_fact TYPE c AS CHECKBOX, "display components
p_nbpr TYPE c AS CHECKBOX. "nb of primes
START-OF-SELECTION.
GET RUN TIME FIELD w_rtime.
IF p_nbpr IS INITIAL OR p_numb LE 12000.
PERFORM eratostene USING p_numb.
add_part w_outp p_numb.
READ TABLE primes WITH KEY number = p_numb.
IF sy-subrc = 0.
add_part w_outp 'is prime'.
ELSE.
IF p_fact IS INITIAL.
add_part w_outp 'is not prime'.
ELSE.
add_part w_outp '='.
w_limi = p_numb.
LOOP AT primes WHERE exp GT 0.
CHECK primes-number LE w_limi.
IF w_prem GT 0.
add_part w_outp '*'.
ENDIF.
IF primes-exp GT 1.
add_part w_outp '('.
add_part w_outp primes-number.
add_part w_outp '^'.
add_part w_outp primes-exp.
add_part w_outp ')'.
ELSE.
add_part w_outp primes-number.
ENDIF.
w_limi = w_limi / ( primes-number ** primes-exp ).
IF w_limi = 1.
EXIT.
ENDIF.
w_prem = 1.
ENDLOOP.
ENDIF.
ENDIF.
WRITE: / w_outp.
IF NOT p_nbpr IS INITIAL.
DESCRIBE TABLE primes LINES sy-tmaxl.
CLEAR: w_outp.
add_part w_outp 'Number of primes:'.
add_part w_outp sy-tmaxl.
WRITE: / w_outp.
SKIP.
LOOP AT primes.
WRITE: / primes-number.
ENDLOOP.
ENDIF.
ELSE.
PERFORM factors.
ENDIF.
GET RUN TIME FIELD w_rtime.
w_stime = w_rtime / 1000000.
SKIP.
CLEAR: w_outp.
add_part w_outp 'Calculation time:'.
add_part w_outp w_stime.
WRITE: / w_outp.
FORM eratostene *
FORM eratostene USING in_number TYPE i.
DATA: BEGIN OF no_primes OCCURS 0,
number TYPE i,
END OF no_primes.
DATA: cnum TYPE i,
dnum TYPE i,
limi TYPE i,
mult TYPE i,
puis TYPE i,
cmod TYPE i.
IF NOT ( p_fact IS INITIAL AND p_nbpr IS INITIAL ).
limi = in_number.
ELSE.
limi = sqrt( in_number ).
ENDIF.
cnum = 2.
WHILE cnum LE limi.
READ TABLE no_primes WITH KEY number = cnum.
IF sy-subrc NE 0.
primes-number = cnum.
mult = 2.
puis = 1.
dnum = mult * cnum.
WHILE dnum LE in_number.
READ TABLE no_primes WITH KEY number = dnum.
IF sy-subrc NE 0.
no_primes-number = dnum.
APPEND no_primes.
ENDIF.
IF NOT p_fact IS INITIAL.
cmod = dnum MOD ( cnum ** puis ).
IF cmod = 0.
cmod = in_number MOD ( cnum ** puis ).
IF cmod = 0.
primes-exp = puis.
puis = puis + 1.
ENDIF.
ENDIF.
ENDIF.
mult = mult + 1.
dnum = mult * cnum.
ENDWHILE.
APPEND primes.
CLEAR: primes.
ENDIF.
cnum = cnum + 1.
ENDWHILE.
ENDFORM.
FORM factors *
FORM factors.
DATA: ex_factors TYPE string,
mod TYPE i,
still TYPE f,
factor TYPE i,
exponent TYPE i,
square TYPE f,
fac_string TYPE text40,
exp_string TYPE text40.
IF p_numb LE 3.
ex_factors = p_numb.
ELSE.
factor = 2.
still = p_numb.
DO.
CLEAR: exponent.
mod = still MOD factor.
WHILE mod = 0.
exponent = exponent + 1.
still = still div factor.
mod = still MOD factor.
ENDWHILE.
IF exponent EQ 1.
fac_string = factor.
CONCATENATE ex_factors '*' fac_string
INTO ex_factors
SEPARATED BY space.
CONDENSE ex_factors.
ELSEIF exponent GT 1.
fac_string = factor.
exp_string = exponent.
CONCATENATE ex_factors '* (' fac_string
'^' exp_string ')'
INTO ex_factors
SEPARATED BY space.
CONDENSE ex_factors.
ENDIF.
factor = factor + 1.
square = factor ** 2.
IF square GT still.
EXIT.
ENDIF.
ENDDO.
IF still GT 1.
CATCH SYSTEM-EXCEPTIONS convt_overflow = 1.
fac_string = factor = still.
ENDCATCH.
IF sy-subrc NE 0.
fac_string = still.
ENDIF.
CONCATENATE ex_factors '*' fac_string
INTO ex_factors
SEPARATED BY space.
CONDENSE ex_factors.
ENDIF.
SHIFT ex_factors UP TO '*'.
SHIFT ex_factors BY 2 PLACES.
ENDIF.
WRITE: / p_numb RIGHT-JUSTIFIED.
IF ex_factors CA '*^'.
WRITE: '=', ex_factors.
ELSE.
WRITE: 'is prime'.
ENDIF.
ENDFORM.
HOPE THIS WILL BE HELPFULL.
regards
praba. -
I Need Java code for following Algorithm
* I Need Java code for following algorithm. Kindly any one help.
1. Read the contents (ideas and its corresponding scores) from two files named as 'a' and 'b'.
2. Stored the file 'a' contents in array a[].
3. Stored the file 'b' contents in array b[].
4. compare both files like
if(a.equals(b[j])
Writing the common idea and add the score from file 'a' and 'b'.
else
write the uncommon idea and its score..
For example :
Form Agents.txt
action,65
architecture,85
eco-,15
essay,30
form,85
form,85
link,40
tangent,25
Form Agents1.txt
Black holes,69
essay,78
Herewith i have above mentioned two files named as Form Agents and Form Agents1.
Form Agents has eight fields
Form Agents1 has two fields
--> 'essay' is common in two files, so store the idea 'essay' and add the score from Form Agents score is '30' and Form Agents1 has 78 (essay 108).
Finally it stores idea in another file with uncommon fields also.
Please help us.We have tried with following code.
But we cant add the scores.
For Example:
Form Agents.txt --> has "essay,30"
Form Agents1.txt --> has "essay,78"
Result is: essay,108
Finally it stores idea in another file with uncommon fields also.
So Any one pls correct the following code.
try
DataOutputStream o1=new DataOutputStream(new
FileOutputStream("C:\\Interfaces\\interfaces\\temp\\BlackBoard\\My Design
World\\Project\\Material\\art\\System Agents\\Form Agents\\CandidateResponses\\Form
Agents.txt"));
//Reading the contents of the files
BufferedReader br= new BufferedReader(new InputStreamReader(new
FileInputStream("C:\\Interfaces\\interfaces\\temp\\BlackBoard\\My Design
World\\Project\\Material\\art\\System Agents\\Form Agents\\Ideological\\Form
Agents.txt")));
BufferedReader br1= new BufferedReader(new InputStreamReader(new
FileInputStream("C:\\Interfaces\\interfaces\\temp\\BlackBoard\\My Design
World\\Project\\Material\\art\\System Agents\\Form Agents\\Related\\Form
Agents.txt")));
while((s=br.readLine())!=null)
s1+=s+"\n";
while((s2=br1.readLine())!=null)
s3+=s2+"\n";
int numTokens = 0;
StringTokenizer st = new StringTokenizer(s1);
String[] a = new String[10000];
String[] br_n=new String[10000];
int i=0;
while (st.hasMoreTokens())
s2 = st.nextToken();
a=s2.substring(0,s2.length()-3);
s6=s2.substring(s2.length()-2);
br_n[i]=s6;
i++;
numTokens++;
int numTokens1 = 0;
StringTokenizer st1 = new StringTokenizer (s3);
String[] b = new String[10000];
String[] br1_n=new String[1000];
int j=0;
while (st1.hasMoreTokens())
s4 = st1.nextToken();
b[j]=s4.substring(0,s4.length()-3);
s7=s4.substring(s4.length()-2);
br1_n[j]=s7;
j++;
numTokens1++;
int x=0;
for(int m=0;m<a.length;m++)
for(int n=0;n<b.length;n++)
if(a[m].equalsIgnoreCase(b[n])){
int sc=Integer.parseInt(br_n[m]);
int sc1=Integer.parseInt(br1_n[n]);
int score=sc+sc1;
o.writeBytes(a[m]+","+score+"\n");
break;
else
o.writeBytes(a[m]+","+br_n[m]+"\n");
break;
}catch(Exception e){} -
Need a code for Customer exit for extractor 0WBS_ELEMT_ATTR
Hi Guys,
I need a code for following requirement.
I have appended some fields to standard extractor 0WBS_ELEMT_ATTR which normally takes data from PRPS table. But the new fields will be getting data from PRTE and PROJ table. with common keys. Following is my code which is not working. Please help me out, I am not good in abap. Please note some lines are commented.
Thanks,
H
CODE:::::
form 0wbs_elemt_attr tables i_t_data structure biw_prps.
data: it_wbs_prps like biw_prps occurs 0.
data wa_prps like it_wbs_prps.
data: begin of it_wbs_prps occurs 0,
PSPNR like prps-pspnr,
POSID like prps-posid,
PBUKR like prps-PBUKR,
IZWEK like prps-IZWEK,
USR10 like prps-USR10,
USR00 like prps-USR00,
USR02 like prps-USR02,
OBJNR like prps-OBJNR,
end of it_wbs_prps.
data wa_prps like it_wbs_prps.
data: begin of it_wbs_prps1 occurs 0,
PSPNR like prps-pspnr,
POSID like prps-posid,
end of it_wbs_prps1.
data wa_prps1 like it_wbs_prps1.
data: begin of it_wbs_prte occurs 0,
posnr like prte-posnr,
PSTRT like prte-PSTRT,
PENDE like prte-PENDE,
ESTRT like prte-ESTRT,
EENDE like prte-EENDE,
ISTRT like prte-ISTRT,
IENDE like prte-IENDE,
end of it_wbs_prte.
data wa_prte like it_wbs_prte.
data: begin of it_wbs_proj occurs 0,
PSPNR like proj-pspnr,
PLFAZ like proj-plfaz,
PLSEZ like proj-plsez,
end of it_wbs_proj.
data wa_proj like it_wbs_proj.
refresh: it_wbs_prte, it_wbs_proj.
*it_wbs_jest.
if i_t_data[] is not initial.
Get data from PRPS WBS Master Data
select pspnr posid PBUKR IZWEK USR10 USR00 USR02 objnr
into corresponding fields of table it_wbs_prps
from prps
for all entries in i_t_data
where POSID = i_t_data-POSID.
sort it_wbs_prps by posid.
Get data from PRPS1 WBS Master Data
select pspnr posid
into corresponding fields of table it_wbs_prps1
from prps
for all entries in i_t_data
where POSID = i_t_data-POSID.
sort it_wbs_prps1 by posid.
Get data from PRTE Scheduling Data for Project Item
if it_wbs_prps1[] is not initial.
select posnr PSTRT PENDE ESTRT EENDE ISTRT IENDE
into corresponding fields of table it_wbs_prte
from prte
for all entries in it_wbs_prps1
where posnr = it_wbs_prps1-pspnr.
sort it_wbs_prte by posnr.
endif.
Get data from PROJ Project Master Data
if it_wbs_prps1[] is not initial.
select pspnr PLFAZ PLSEZ
into corresponding fields of table it_wbs_proj
from proj
for all entries in it_wbs_prps
where pspnr = it_wbs_proj-pspnr.
sort it_wbs_proj by pspnr.
endif.
loop at i_t_data.
clear: wa_prps1, wa_prte, wa_proj.
read table it_wbs_prps into wa_prps with key
posid = i_t_data-posid binary search.
read table it_wbs_prte into wa_prte with key
posnr = wa_prps1-pspnr.
read table it_wbs_proj into wa_proj with key
pspnr = it_wbs_proj-pspnr.
i_t_data-zzPBUKR = wa_prps-pbukr.
i_t_data-zzIZWEK = wa_prps-IZWEK.
i_t_data-zzUSR10 = wa_prps-USR10.
i_t_data-zzUSR00 = wa_prps-USR00.
i_t_data-zzUSR02 = wa_prps-USR02.
i_t_data-zzPSTRT = wa_prte-PSTRT.
i_t_data-zzPENDE = wa_prte-PENDE.
i_t_data-zzESTRT = wa_prte-ESTRT.
i_t_data-zzEENDE = wa_prte-EENDE.
i_t_data-zzISTRT = wa_prte-ISTRT.
i_t_data-zzIENDE = wa_prte-IENDE.
i_t_data-zzPLFAZ = wa_proj-PLFAZ.
i_t_data-zzPLSEZ = wa_proj-PLSEZ.
modify i_t_data.
endloop.
endif.
endform. " 0wbs_elemt_attrHi,
it_wbs_prps1 .
If you are going to use this internal table to check for a null condition, shouldn't you first assign the data package to it?
For example, it_wbs_prps1 = i_t_data[].
Because you are now using it_wbs_prps1 to select data from a table and it doesn't have any data.
Please check.
-RMP
Edit : Please ignore this. I didn't see that you are actually filling the internal table. Sorry!
Edited by: RMP on Oct 18, 2010 12:16 PM -
I need ready code for a simple paint program today
hi all I need ready code for a simple paint program today for me ics projct
plz give me a halp on this give me what you have with you and it is so good if it look like this :
Design a GUI based drawing Java application that works like a simple paint program
1-There should be a number of buttons for choosing different shapes to draw. For example, there should be a button for rectangle. If user presses the rectangle button, then he can draw a rectangle using mouse. Similarly, there should be a button for each shape(rectangle, circle, ellipse, and line etc.
2-The shapes can be filled with different colors.
3-There should be option of moving .
4- There should also be three menus including File, Shape, and Color menu.
i. File menu can have menu items New and Exit. If user selects New, the drawing area will be cleared and all shapes will be erased.
ii. Shape menu will serve the same purpose as of feature 2 described above. It will have menu items for drawing all the different shapes. For example, there will be menu item for rectangle; so user can draw a rectangle by selecting the menu item for rectangle.
iii. Color menu will serve the same purpose as of feature 3 described above. It will have menu items for all the colors which are shown in color buttons. The user can select a color from this menu and then click inside a shape to fill it with the selected color.Read the Swing tutorial. There are sections on how to use menus and painting and all other kinds of stuff you need to do this homework assignment. Nobody here is going to write the code for you:
http://java.sun.com/docs/books/tutorial/uiswing/TOC.html -
I need a code for verifiing my emailadress. How do get a new one ?
Photoshop Elements 12
Share
Try to send email directly from Photoshop elements
The program ask for a code to verifiing my emailadress
I need a code for verifiing my emailadress. How do get a new one ?Check your email. The screen capture says that they sent one to the email address listed.
-
Help! I need to restore a backup from my computer to my iphone, on the iphone screen the date I want to restore my backup from doesn't show up. I found the folder on my computer but it doesn't show up on itunes, how do i get a backup restored from my computer?
Hi there,
I would recommend taking a look at the article below for more information on how to restore from an iTunes backup.
iOS: How to back up and restore your content
http://support.apple.com/kb/ht1766
-Griff W. -
Passing a value for date parameter from Oracle Forms to BIP
Hi
I have created a report with the following SQL query:
select
d_tables.d_seq,
to_date(d_tables.d_created) creation_date,
d_tables.d_created_by created_by,
d_tables.d_pk,
d_tables.table_name,
d_tables.comments
from
d_tables, d_applications
where
d_tables.d_ppk = d_applications.d_pk
and to_date(d_tables.d_created) >= nvl(:P_CRE_DATE_FROM, to_date(d_tables.d_created))
and to_date(d_tables.d_created) <= nvl(:P_CRE_DATE_TO, to_date(d_tables.d_created))
The parameters P_CRE_DATE_FROM and P_CRE_DATE_TO have been set up as date in BI Publisher with format dd-MMM-yyyy
The report works fine when launched in BI Publisher.
I want to call this report from Oracle Forms and I'm trying to pass the values for both the parameters. However, the report does not generate output based on values passed.
Does it have to do with datatype? Does anyone know a solution for this?
Kind regards,
AparnaThanks for your suggestion. I am already referring to the whitepaper and have integrated Forms with BI Publisher. The parameter passing is working fine for a varchar2 type of parameter. However, for a date type, there seems to be some problem.
-
I have redemption codes for FCP from my university - how many machines can I install on?
Do you have these codes because this will be your app? Or is this a "loan" from the school to install on your machine? Do you use your own Apple ID to redeem the code and install the app?
If it is your app, then you may install it on as many Macs as you own or have in your control. -
I need php code for copy paste our all histroy of browser in a text page.
I need php code for copy paste our all histroy of browser in a text page can any one send me the code please.
You can use an application like GarageSale for doing this....
http://www.macupdate.com/info.php/id/16035/garagesale -
Why I need a code for rent a film and where ist the code? (I dont have a card)
Why I need a code for rent a film and where ist the code? (I dont have a card)
it's unclear what you mean
you say you dont have a card which I guess is you don't have a creditcard
in which case the other option is to pay by a giftcard which include a code which you put in
because to rent you have to pay otherwise it's not really renting -
Need T.Code for "Classify G/L Accounts for Document Splitting"
Hi All,
I need the T.Code Document Splitting "Classify G/L Accounts for Document Splitting"
Menu Path is:
IMG-Fin. A/c- General Ledger A/c- Business transaction - Document Splitting - Classify G/L Accounts for Document Splitting
Thanks & Regards,
Mohan.Need T.Code for "Define Document Splitting characteristics for G/L Accounting and
Define Document Splitting method
Maybe you are looking for
-
I need to sync my old iPhone to a new iTunes but need to keep the data?
Hi, I have got a new computer, and so obviosuly have had to download a new verison of iTunes to go with it, however, I now cant sync my iPhone (which was linked previously to an iTunes account on my old computer) without it wanting to erase allll my
-
Please Help: website domain name question(s)
First let me get this out in the open: I'm not computer savvy and I'll probably end up using fancy technical computing terms inappropriately. For this, I apologize. Okay, I have a relatively simple goal (at least I hope it's simple). All I want is fo
-
Location of start up chime file
At work I have an HP Tablet. I want to change the start up tone to the Mac Chime. Where is this file located on my iMac? Or, if I can't get to it, is a file online anywhere.
-
How can I track my mac with a serial number
How do I track my mac with a serial number. My computer was stolen and the find my mac wasn't enabled?
-
Debug RMI - Service with Sun One Studio
Hi, I'm trying to debug an rmi - service with sun one studio 4u1 (win nt 4.0). To do so I start the rmid daemon via rmid -J-Xdebug -J-Xnoagent -J-Djava.compiler=NONE -J-Xrunjdwp:transport=dt_shmem,server=y,address=dime,suspend=n -J-Djava.security.pol