Based on the simultaneous program host: ask your comments
Hi allWe record as concurrent programs shell scripting in Oracle EBS as shown in the Note: 147455.1, 266268.1 etc.
Some parameters of entry to these scripts are used by Oracle EBS to prog_name, req_id, login_id userid etc. and that is why we should use them for our own use.
According to Note: 266268.1
As of Oracle Applications 11.5.9, the order of DEFAULT settings is as:
FCP_REQID = FCP_LOGIN 154870 = "APPS /...» "FCP_USERID = 1109 FCP_USERNAME = 'CELESTINA '.
FCP_PRINTER = "noprint" FCP_SAVE_OUT = FCP_NUM_COPIES Y = 0 < /i >
However, if I include the following line in my shell script
echo $1 < /b > < b >
then applications user name and password is displayed in plain text, the concurrent request log file (my version of the EBS is 11.5.10.2).
Would like to know your comments on the aspects of security.
Thank you
Ousseni
Hello
Please see if (Note: 377858.1 - use encrypt to prevent Apps Pwd being displayed in Log/Sql Script) and (Note: 1015582.102 - USERID/PASSWD printed in newspapers by operating a host program) help.
Thank you
Hussein
Tags: Oracle Applications
Similar Questions
-
Installer for the simultaneous program defined with the parameters - Script SQL
I wrote a very simple sql script and I want to save it as a simultaneous Oracle program. I have included a parameter field in the sql script to allow the entry of a value to determine the number of days prior to the script. The script runs correctly in SQL * Plus, but when I try to record it as a competitor Oracle program I get the following errors below:
Although when I save this as a simultaneous program and set the configuration setting and run the simultaneous program and enter the number in the parameter field, work ends with an ERROR with the following:This works in SQL* PLUS SELECT emp_id, amount FROM tblSalaries WHERE hire_date > SYSDATE-&Days; Enter value for Days: 7 old 3: hire_date > SYSDATE-&Days new 3: hire_date > SYSDATE-7 And it provides my results....
If I put single quotes around '& days', in line 3, I get a different error:Enter value for Days: EXEC FND_CONC_STAT.COLLECT; hire_date > SYSDATE-EXEC FND_CONC_STAT.COLLECT; and * ERROR at line 3: ORA-00933: SQL command not properly ended
Do you know what could be the problem?ERROR at line 3: ORA-01722: invalid number
Thanks for the review!You can try one of these approaches-
1. replace '& days' in your script with "& 1"- or-".
2. Add the following to your script at the beginning
Days := &1;
PL see the developer's Guide Application for your specific version http://www.oracle.com/technology/documentation/applications.html EBS
HTH
Srini -
I recorded my new password to download Lightroom; the installation program then asked my password and rejected the password with that I just signed up. Any suggestions?
Could you please try the computer administrator password here.
Kind regards
Hervé Khare
-
Oracle Apps-details of the simultaneous program schedule
Which table I can find the details of the simultaneous program schedule.
NB: -.
I know that select RESUBMIT_TIME, RESUBMIT_INTERVAL from FND_CONCURRENT_REQUESTS,
RESUBMIT_TIME, RESUBMIT_INTERVAL will be the details of the schedule.
But the table fnd_concurrent_requests is get purged periodically, how can I find the Masters details of scheduling of the competitor.
Thanks in advance,
Arya mutima.This gives a whirlwind...
Kind regards
JonSELECT req.request_id
, decode (prg.user_concurrent_program_name, 'Report Set', ' report:' | req.description, prg.user_concurrent_program_name) AS the name
argument_text as parameters
req.resubmit_interval
, nvl2 (req.resubmit_interval, "Periodically", nvl2 (req.release_class_id, "the specific days", "Once")) AS schedule_type
, decode (nvl2 (req.resubmit_interval, "Periodically", nvl2 (req.release_class_id, "the specific days", "Once")),)
"Periodically", "every" | Req.resubmit_interval | ' ' || Lower (Req.resubmit_interval_unit_code) | 'from ' | Lower (Req.resubmit_interval_type_code) | "from the previous run,"
'Once', ' to:' | '. TO_CHAR (req.requested_start_date, ' HH24 DD-MON-RR '), ' each: ' | Annex CRC.class_info)
fus.user_name as owner
, to_char (requested_start_date, "HH24:MI:SS MON-DD-YYYY) as next_submission
Of
PRG apps.fnd_concurrent_programs_tl
apps.fnd_concurrent_requests req
apps.fnd_user was
apps.fnd_conc_release_classes crc
WHERE 1 = 1
AND prg.application_id = req.program_application_id
AND prg.concurrent_program_id = req.concurrent_program_id
AND req.requested_by = fus.user_id
AND req.phase_code = 'P '.
AND req.requested_start_date > sysdate
AND prg.language = 'en '.
AND crc.release_class_id (+) = req.release_class_id
AND crc.application_id (+) = req.release_class_app_id
ORDER BY name -
Oracle Apps: Simultaneous program: host: program state WARNING of return
Hello
Is there a way we can send the ALERT status for the host in simultaneous program (shell script) function in Oracle applications.
Exit 0 <-success
Output 1 <-error
Output 2 <-returns ALWAYS State as ERROR
Thank you.Yes, put something like the following in your shell script to define the status of implementation in custody:
MYSTATUS ='sqlplus-s $1 SET FIELD FEEDBACK OFF PAGESIZE 0
declare
l_result boolean;
number of l_session_id;
Start
fnd_global. INITIALIZE (l_session_id, null, null, null, null,-1, null, null, null, null, $4, null, null, null, null, null, null,-1);
l_result: = fnd_concurrent.set_completion_status ('WARNING', 'Log file review for more details.');
commit;
end;
/
"exit";
!`Kind regards
Gareth -
Error on the definition of the stored procedure in the simultaneous program
Hello
I created a stored procedure and wanted it attached to the concurrent program. The purpose of this stored procedure when you run it in simultaneous program, the system retrieves the data from the csv file downloaded from the server, then it will insert in the tables of SO / the Interface API. Below, the error occurred.
* Starts * 18 April 2012 18:18:42
Error ORACLE 6550 in FDPSTP
Cause: FDPSTP failed due to the ORA-06550: line 1, column 7:
PLS-00306: wrong number or types of arguments in the call to 'SPKO1 '.
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
Steps I did to set the stored proc
< < simultaneous executable program > >
Executable: RDRAGON_SO_IMPORT
Short name: RDRAGON_SO_IMPORT
Application: Order management
Method of execution: PL/SQL, stored procedure
Run file name: SPKO1
< < concurrent program - set > >
Program: RDRAGON SO IMPORT
Short name: RDRAGON_SO_IMPORT
Application: Order management
Name of executable: RDRAGON_SO_IMPORT
Method: PL/SQL, stored procedure
Format: text
No set
-Here are my stored procedure-
CREATE OR REPLACE PROCEDURE APPS. SPKO1 IS
FH UTL_FILE. TYPE_DE_FICHIER;
v_line VARCHAR2 (32767).
v_source_id NUMBER (10);
v_created_by NUMBER (10);
v_creation_date DATE;
v_org_id NUMBER (10);
v_orig_sys_docref VARCHAR2 (50);
V_Customer VARCHAR2 (360);
v_customer_prev VARCHAR2 (360);
v_sold_to_org NUMBER (10);
v_orig_line_ref NUMBER (10);
v_item_code VARCHAR2 (2000);
v_ordered_qty NUMBER (10);
v_selling_price NUMBER (10);
v_count NUMBER (10);
v_stat NUMBER;
/******************************************************************************
NAME: SPKO
PURPOSE:
REVISIONS:
Worm Date Description of the author
--------- ---------- --------------- ------------------------------------
1.0 16/04/2012 administrator 1. Created this procedure.
NOTES:
Keywords to replace automatically available Auto:
Object name: SPKO
SYSDATE: 16/04/2012
Date and time: 16/04/2012, 17:55:42 and 16/04/2012 17:55:42
Username: admin (set in Options of TOAD, editor of the procedure)
Name of the table: (defined in the dialog box "New PL/SQL object")
******************************************************************************/
BEGIN
v_source_id: = 6;
v_created_by: = - 1;
v_org_id: = 204;
v_customer_prev: = null;
v_orig_line_ref: = 0;
v_stat: = 0;
SELECT header_id in (DE) v_orig_sys_docref
Select header_id
of OE_ORDER_HEADERS_ALL
creation_date desc order
) WHERE ROWNUM = 1;
FH: = UTL_FILE. FOPEN ('XXANDDIR2', 'myfile1.csv', 'R', 32767);
< < file_read_lines > >
LOOP
BEGIN
UTL_FILE. GET_LINE (fh, v_line);
V_Customer: = LTRIM (RTRIM (REGEXP_SUBSTR (v_line, "[^,] +' 1, 1") ',' "') ','" ');
v_creation_date: = LTRIM (RTRIM (REGEXP_SUBSTR (v_line, "[^,] +' 1, 2") ',' "') ','" ');
v_item_code: = LTRIM (RTRIM (REGEXP_SUBSTR (v_line, "[^,] +' 1, 3") ',' "') ','" ');
v_ordered_qty: = LTRIM (RTRIM (REGEXP_SUBSTR (v_line, "[^,] +' 1, 4") ',' "') ','" ');
v_selling_price: = LTRIM (RTRIM (REGEXP_SUBSTR (v_line, "[^,] +' 1, 5") ',' "') ','" ');
v_orig_line_ref: = (v_orig_line_ref + 1);
If v_stat = 0 then
v_orig_sys_docref: = (v_orig_sys_docref + 1);
end if;
SELECT hca.cust_account_id from v_sold_to_org
OF hz_cust_accounts AOB.
HP hz_parties
WHERE hca.party_id = hp.party_id
AND hca.request_id is null
AND hp.party_name = v_customer;
If v_stat = 0 then
INSERT INTO OE_HEADERS_IFACE_ALL)
order_source_id,
orig_sys_document_ref,
org_id,
CREATION_DATE,
created_by,
last_update_date,
last_updated_by,
operation_code,
sold_to_org_id,
booked_flag)
VALUES)
v_source_id,
('TEST' | v_orig_sys_docref).
v_org_id,
v_creation_date,
v_created_by,
v_creation_date,
v_created_by,
"INSERT."
v_sold_to_org,
'Y') ;
commit;
end if;
INSERT INTO OE_LINES_IFACE_ALL)
order_source_id,
orig_sys_document_ref,
orig_sys_line_ref,
inventory_item,
org_id,
ordered_quantity,
unit_selling_price,
unit_list_price,
CREATION_DATE,
created_by,
last_update_date,
last_updated_by,
operation_code)
VALUES)
v_source_id,
('TEST' | v_orig_sys_docref).
v_orig_line_ref,
v_item_code,
v_org_id,
v_ordered_qty,
v_selling_price,
v_selling_price,
v_creation_date,
v_created_by,
v_creation_date,
v_created_by,
"INSERT");
commit;
v_customer_prev: = v_customer;
If v_customer_prev = v_customer then
v_stat: = 1;
on the other
v_stat: = 0;
end if;
-DBMS_OUTPUT. Put_line ('Col1: ' | v_source_id |', Col2: ' | v_creation_date |', Col3: ' | v_created_by |', Col4: ' | v_updated_date |', Col5: ' | v_updated_by);
EXCEPTION
WHEN NO_DATA_FOUND THEN
OUTPUT file_read_lines;
END;
END LOOP;
SELECT count (*) in the OE_HEADERS_IFACE_ALL v_count;
DBMS_OUTPUT. Put_line (' record Total inserted successfully: ' | v_count);
UTL_FILE. FCLOSE (FH);
END SPKO1;
/
But when I run the stored procedure using TOAD his work.
Help, please. This is my first time to attach the stored procedure in the concurrent program.
Thank you very much.
Kind regards
Diane
Published by: peopsquik08 on April 18, 2012 03:58as clive_t solier
>
You must explicitly reference the settings out
>Try
DECLARE VFILE VARCHAR2(32767); V_SOURCE_ID NUMBER; -- ERRBUF VARCHAR2(200); RETCODE NUMBER; BEGIN VFILE := 'myfile1.csv'; V_SOURCE_ID := 6; --APPS.OMORDERLOADER.SPKO1 ( VFILE, V_SOURCE_ID ); --COMMIT; APPS.OMORDERLOADER.SPKO1( ERRBUF => ERRBUF, RETCODE => RETCODE, VFILE => VFILE, V_SOURCE_ID => V_SOURCE_ID ); END;
but the code above to test your proc
to run concurrent SQL, you can use fnd_submit.submit_program
-
Hello
Could you suggest me a logic on the below:
============================================
I've written a procedure/package (program main competitor).
In this (procedure above), I have to call a child simultaneous program 5 times (these 5 programs must run in parallel).
That is to say... I'll call him through FND_REQUEST. SUBMIT_REQUEST.
1 Conc socekt child will be setting = 1
.
. Simillarly
.
5th child Conc socekt will be setting = 5
I thought I had TO LOOP 1.5 and then call FND_REQUEST. SUBMIT_REQUEST.
Exactly how call.
Could you thow some thoughts.
Database: 10g
Thank yousomething
declare v_request_id number; begin for i in 1 .. 5 loop v_request_id := fnd_request.submit_request(application =>
, program => , description => NULL, start_time => NULL, sub_request => FALSE, argument1 => i); if v_request_id > 0 then fnd_file.put_line(fnd_file.log, 'successfully submitted'); commit; else fnd_file.put_line(fnd_file.log, 'not submitted'); rollback; end if; end loop; end; -
The simultaneous program based on the different parameter values.
The PO report runs as a concurrent program, but this should launch another program to run after his execution based on his number of purchase order as a parameter to the next competitor program.
When executing this report IN., it must check for mail electronic vendor id and sends the output of this report to the respective suppliers.
Any help would be appreciated.
A very urgent need.
Thank you
Atul
Published by: Atul July 11, 2011 16:10Cause: FDPSTP failed due to the ORA-29280: invalid directory path
ORA-06512: at "SYS." UTL_FILE.Search MOS for "ORA-29280: invalid directory path" and "UTL_FILE" and go through the docs.
Thank you
Hussein -
Hello
In my report, I use "OE_ORDER_HEADERS_V" seen in my dataset query. This view is specific operating unit (OR) so I use "USER_EXIT" forwards the report commands and after triggers report correctly.
Despite decisions above two configurations when I ran my simultaneous front end program get a blank report.
Please help solve this.
Thank you
Sandeep.G
Hi all
Solved the problem!
Reason: I write custom report (XXKES) application where I diddn t verified my profile (mo: operational unit).
who is 912.
And my responsibility to the OM is in 204 OR so, it is resolved by changing the profile OR my custom to 204 application.
Then you do this custom App. Make sure that your other applications of coordination also have same OU profile.
Concerning
Sandeep.G
-
Can someone explain the simultaneous program "Purge idle Sessions".
A bit of my environment:
E-Business R12
Oracle Enterprise DB 10.2.0.4.0
Split Architecture components:
Server 1 / DB Node (Redhat 5.5 32-bit)
2 server / applications node
Throughout the day I have to run the top on my apps server command to identify the runaway form sessions that use 100% cpu. I run a kill-9 on them. I wonder if demand for "Purge idle Sessions" doing something in the same direction?Please see (advice and requests for Session Timeout [402674.1 ID] troubleshooting forms), under '3. Confirm that the good ICX_SESSION is updated. "he explains what this concurrent program. You can also search site MOS Icxdltmp.sql which is called by this concurrent program.
Thank you
Hussein -
Error in what concerns while calling the simultaneous OFA program
Hi all
I call the concurrent program in the OPS page. So I wrote the code and I imported packages also correctly. But still, am getting error in the following code.
OADBTransaction tx = (OADBTransaction) getDBTransaction ();
java.sql.Connection pConncection = tx.getJdbcConnection ();
ConcurrentRequest cr = new ConcurrentRequest (pConncection);
String applnName = "CBRSE"; Application that contains the concurrent program
String cpName = "Open regulations report by user; The simultaneous program name
String cpDesc = "open case State by user (Seagate); simultaneous description of the program
Vector cpArgs = new Vector();
cpArgs.addElement (headerID);
cr.addLayout(applnName,cpName,"en","US","PDF"); XML Layout Editor.
requestId = cr.submitRequest (applnName, cpName, cpDesc, null, false, cpArgs); -JDev appears error in this line.
TX.Commit ();
return requestId;I imported the package as:
import com.sun.java.util.collections.Vector;
Import oracle.apps.fnd.cp.request.ConcurrentRequest;
Import oracle.apps.fnd.cp.request.RequestSubmissionException;Kindly help me in this.
Thank you and best regards,
Myvizhi
Hello
You pass bad parameter of class vector in the call.
Correct call should be sub type:
submitRequest (java.lang.String p1, p2, p3, p4, p5 Boolean java.lang.String, java.lang.String, java.lang.String, java.util.Vector p6)
cpArgs must be of type java.util.Vector
Kind regards
Sandeep M.
-
XML editor &; simultaneous program
Hi all
I have a simultaneous and multiple program model rtf which related to the definition of a given.
Depends on parameters selected in the simultaneous program is possible by default for another model.
Is there a way for her to do?
Thank you
You could attach a control break file to your data definition which reads the parameter and uses the appropriate model. Note: depending on your simultaneous program, may have to tweak it a bit to get the parameter if poster in the xml output it produces to burst on this subject.
-
How to create simultaneous program of type PL/SQL stored procedure?
I have the procedure to reset sequence as below:
CREATE OR REPLACE PROCEDURE DEV_RESET_XX IS
V_NEXT_VAL1 NUMBER;
BEGIN
RUN IMMEDIATELY "ALTER SEQUENCE DEV_RECEIPT_S1 MINVALUE 0';"
RUN IMMEDIATELY "SELECT DEV_RECEIPT_S1. DOUBLE NEXTVAL ' IN V_NEXT_VAL1;
RUN IMMEDIATELY "ALTER SEQUENCE DEV_RECEIPT_S1 INCREMENT BY ' |" -V_NEXT_VAL1;
RUN IMMEDIATELY "SELECT DEV_RECEIPT_S1. DOUBLE NEXTVAL ' IN V_NEXT_VAL1;
RUN IMMEDIATELY "ALTER SEQUENCE INCREMENT DEV_RECEIPT_S1 1 ';"
END DEV_RESET_XX;
And if I run this query don't use PL/SQL, no problem and success.
EXEC DEV_RESET_XX
And then I want to create simultaneous program for this procedure.
1. create the executable program
-Methods: PL/SQL, stored procedure
2. create the simultaneous program
-Call the executable program
-Nothing parameter
3. assign the application group to receive
And then I try to run this competitor.
But, status complete error.
Help, please.
Thank you.
Hello
To save pl sql program, we have two required parameters. ERRBUFF and RETCODE
Steps to create a concurrent program of type PL/SQL stored procedure. Techmandate.com
No need to create these parameters in the simultaneous program window. Just use those in your procedure.
hope this will help you
-
Simultaneous program with RTF/EXCEL output
Hi all
I updated java version 7. When I go to the simultaneous program with HTML/PDF output, is the opening.But when I display the output of the simultaneous program with RTF/EXCEL, it does not open. I think we have to put something in the Solution Explorer.
I was able to open before the upgrade and java 6.
Version of the EBS - 12.1.3
DB 11.2.0.3
OS - RHEL5 64 bit
JRE - 7u25
Please help me solve the problem.
Thank you
SAL
Hi Sal.
How do you set Internet Options ask confirmation for file downloads and download file?
Octavio
-
Remove group request simultaneous program
Hello
By mistake, I added the simultaneous program to the group asked, is it possible to remove it?
Thank you.Go to the form groups of application-> query for the request group
Place the cursor on the simultaneous program you want to delete and click the delete icon (icon 'X' of red color in the toolbar) and save the record
-Jay
Maybe you are looking for
-
How add you a file type and its program associted to windows vista?
FBREADER installed and it did not link with the type .epub file.
-
Help with limewire I downloaded limewire, free edition, it has downloaded but does not not on my computer, am under Windows Vista Basic. What should I do to obtain its execution. It appears as his will work but never go there. It is installed on my c
-
now that the full version of k'lite seems to stop what is happening why hasent windows incorporated something similar in the windows media player 11, or they have another type of codec full, we can use to make this.only so many people have the same p
-
Add a picture as an attachment to your blackberry.io.home
Hello When I needed to store the image files associated with my application I noticed that the only place to write them was in the folder BlackBerry.IO.Home. now I'm trying to attach the images saved in this folder in an e-mail message using blackber
-
How can I insert a specified number of frames in the layer automatically?
I want to insert a keyframe at frame 5000 (or let's say 5 minutes in) without having to manually drag 5000 frame, how can I do this? Do I need a plugin or is there a way to do in anime?