Create a new instance on Test server running apps 11.5.10
Hi,
How do I go about creating a second instance on the same server? I would like to have a test development instance which ideally should be a mirror of the test instance on the same server.
OS : HP UX 11
database: Oracle 9.2.0.5
apps: E-business suite 11.5.10
Use Rapid Clone to create an exact copy of your test instance.
Note: 230672.1 - Cloning Oracle Applications Release 11i with Rapid Clone
https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=230672.1
Similar Messages
-
PS2013 - When creating a new instance of Project Server hangs in 'Waiting for resources' status
Hi,
I have one instance of Project Server 2013 fully operational and I tried to duplicate the instance to make some tests. As I know the issue of using the same Content Database of Project Server in the same Server Farm, I used the powershell backup/restore/dismount
and mount the content database to change the site IDs to avoid index duplication. The Project server database was a regular SQL backup and restore in another database.
I created a new Web App in the port 90 as show below.
Then I included the Content database of Project Server as separated DB from SharePoint for this new SharePoint -acme90 and I tried to create the new instance. The creation hanged in "Waiting for Resources" status.
To make another check excluding the reuse of the SharePoint-80 I tried to create another instance both in the SharePoint-80 where is the working instance and in the SharePoint-90, everything default and again they all hanged in Waiting for Resource.
If I try to create the instance using PowerShell I got the following error:
PS C:\Users\epm_setup> Mount-SPProjectWebInstance -DatabaseName Test_EPM -SiteCo
llection http://acme02/epm -Lcid 1046
Mount-SPProjectWebInstance : Cannot find an SPSite object with Id or Url:
http://acme02/epm.
At line:1 char:1
+ Mount-SPProjectWebInstance -DatabaseName Test_EPM -SiteCollection
http://acme02/ ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~
+ CategoryInfo : InvalidData: (Microsoft.Offic...ountPwaInstance:
PSCmdletMountPwaInstance) [Mount-SPProjectWebInstance], SPCmdletPipeBindEx
ception
+ FullyQualifiedErrorId : Microsoft.Office.Project.Server.Cmdlet.PSCmdletM
ountPwaInstance
All SharePoint and Project Server services are running, all App Pools and sites are started at the IIS. I could not find a hanging timer job.
I cannot stop the hanged process or dismount the instances using Powershell since no instance created.
How should I solve the hanging status of creation of the instance? As they are in Hyper-V I can go back using one snapshot.
Thank you.
Best regards, Ricardo Segawa - Segawas Projetos / Microsoft PartnerHi Eric,
Thank your for your interest in this case.
I checked for running and crashed PWA jobs and deleted all of them just after restoring the snapshot and tried to create the new instance in the new web app in port 90 (besides the existing and working instance in port 80), but again it hanged in "waiting
for resources". There is not any timer job hanging, no error in event viewer or in log. So the error is well before working with cloned dbs.
Answering your questiion, I am working all on 2013. My intention is backup one instance of the port 80 and copy to the instance of port 90, changing of course the url and the index of the content db of SharePoint. The process I used was:
Create a new web app in port 90, creating a new SharePoint_Content_2 on a
http://server:90 site.
Created the top level site called Portal using the Team Site template.
Create a new content db for new instance of Project Server named EPM_Content_2 using Central Admin.
Backup content db from port 80 instance of Project Server and restore to this EPM_content_2 using PowerShell cmd.
Dismounted and mounted this Project Server content db to create new index for existing sites to avoid index conflicts.
Backup the Project Server DB from port 80 using SQL backup and restored as ProjectWebApp2 db for port 90 instance.
Tried to create a new instance of Project Server
http://server:90/pwa on web app of port 90 using the ProjectWebApp2 db and using the same app pool of the other instance. But as in the previous case, it hang out in "Waiting for resources".
Best regards, Ricardo Segawa - Segawas Projetos / Microsoft Partner -
PS2013 - Creating a new instance of Project Server does not run and hangs in "Waiting for Resource"
Hi,
In my Project Server 2013 environment I created an instance of Project Server which is running in a notebook Hyper-V Windows 2012 Server with 11 GB, 4 threds, 3 GHz, one box configuration with complete version of SQL Server 2012 with SP1, nothing trial.
PS and SPS 2013 updated with Cumulative Update of Dec 2013.
I want to create a new empty instance in the same port 80 with a different URL or in the port 90 creating a new web application.
Whatever option I choose, when I try to create the instance of the Project Server it hangs in "Waiting for Resource" status. No Event Viewer, no hanged timer Jobs, all services running, all pools and sites started and I found out nothing in the
SharePoint Logs. After every attempt I return the server snapshot to the former state.
The Project Server and SharePoint continue to work normally.
Any hints where should I look to solve this issue?
Thank you.
Best regards, Ricardo Segawa - Segawas Projetos / Microsoft PartnerRicardo,
so, the only clue I can find in your posting is around the web application.
if you want a 2nd PWA instance on the same web application (this presums you have one already, working, right?).
all you really have to do is give it a different "pwa" name - like "Test" or some such and use a unique project database name : Test_ProjectServerData
there is much more you could do, for isolation into a private content database for example.
to use a different port, then you need to setup a web application on a different port and proceed as above, selecting that web app to start from.
if the basic action of new pwa site provision is not working, then it may suggest there is something systemmically wrong with the setup.
let us know,
Thanks, Eric S. Pcubed -
SharePoint 2010 creates a new instance for SharePoint server.
I have installed SP 2010.My env is Windows server 2008 R2 and SQL 2008 r2 (10.50.1600). When I install the SP 2010,
configuration wizard (Start the SharePoint Products Configuration Wizard) directly goes to configuration wizard and installed SP 2010 server successfully.
It skips the below Manual configuration.
1. Specify Configuration DB settings
2. Specify Farm Security settings.
3. Configure CA Web Application settings. etc...
So I get the new SQL instance with the name <MachineName>\sharepoint.
This new Instance is looking SQL 2008 version(10.0.2531).
Now I face the below issues,
1. When I restore DB backup, i get the compatability issue
2. Unable to restore the SP2010 site which is backuped from SQL 2008 r2 (10.50.1600) has 9GB size.
3. Unable to extend the DB size from 4096 MB.
How to avoid create new SQL instance with the name <MachineName>\sharepoint and install in SQL server default <MachineName> instance?
Loganathan SHi Paul
stork,
thanks for the help. Now I have another Two questions. I'm search service application in SP 2010. It works fine when I search data from home sites it works fine.
1. When I search from within sub-sites i don't get any search results. What mistake I have done here?
Second question from Restore spsite...
2. When I restore the site in 80 port, the search service does not crawl and pick the new properties from the restore site. But when I restore the same site in another port<8080/8099/etc> the search service does crawl and pick the new
properties from the restore site. Why the service not working in 80 port.?
Note: I have checked with 3 test env my bak file. but all the 3 env gives same result.... 80 port does not crawl and pick the new properties.
Loganathan S -
Running into strange errors when creating a new instance
Hello:
I am running 9.2.0.8 on a Windows 2003 Server.
When I try to create a new instance, I chose a New Database/UTF-8/16KB Block Size. Everything else was default value. However, I get a "ORA-29807: specified operator does not exist" error. When I looked into the Create log file, the file, CreateDBCatalog.log has the following errors:
No errors.
No errors.
drop table AUDIT_ACTIONS
ERROR at line 1:
ORA-00942: table or view does not exist
No errors.
CREATE ROLE exp_full_database
ERROR at line 1:
ORA-01921: role name 'EXP_FULL_DATABASE' conflicts with another user or role name
CREATE ROLE imp_full_database
ERROR at line 1:
ORA-01921: role name 'IMP_FULL_DATABASE' conflicts with another user or role name
drop table system.logstdby$skip_support
ERROR at line 1:
ORA-00942: table or view does not exist
Warning: View created with compilation errors.
Warning: View created with compilation errors.
CREATE ROLE exp_full_database
ERROR at line 1:
ORA-01921: role name 'EXP_FULL_DATABASE' conflicts with another user or role name
CREATE ROLE imp_full_database
ERROR at line 1:
ORA-01921: role name 'IMP_FULL_DATABASE' conflicts with another user or role name
drop synonym DBA_LOCKS
ERROR at line 1:
ORA-01434: private synonym to be dropped does not exist
drop view DBA_LOCKS
ERROR at line 1:
ORA-00942: table or view does not exist
No errors.
drop package body sys.diana
ERROR at line 1:
ORA-04043: object DIANA does not exist
drop package sys.diana
ERROR at line 1:
ORA-04043: object DIANA does not exist
drop table sys.pstubtbl
ERROR at line 1:
ORA-00942: table or view does not exist
drop package body sys.diutil
ERROR at line 1:
ORA-04043: object DIUTIL does not exist
drop package sys.diutil
ERROR at line 1:
ORA-04043: object DIUTIL does not exist
drop procedure sys.pstubt
ERROR at line 1:
ORA-04043: object PSTUBT does not exist
drop procedure sys.pstub
ERROR at line 1:
ORA-04043: object PSTUB does not exist
drop procedure sys.subptxt2
ERROR at line 1:
ORA-04043: object SUBPTXT2 does not exist
drop procedure sys.subptxt
ERROR at line 1:
ORA-04043: object SUBPTXT does not exist
No errors.
No errors.
No errors.
No errors.
drop type dbms_xplan_type_table
ERROR at line 1:
ORA-04043: object DBMS_XPLAN_TYPE_TABLE does not exist
drop type dbms_xplan_type
ERROR at line 1:
ORA-04043: object DBMS_XPLAN_TYPE does not exist
No errors.
DROP TABLE ODCI_SECOBJ$
ERROR at line 1:
ORA-00942: table or view does not exist
DROP TABLE ODCI_WARNINGS$
ERROR at line 1:
ORA-00942: table or view does not exist
No errors.
No errors.
No errors.
No errors.
drop sequence dbms_lock_id
ERROR at line 1:
ORA-02289: sequence does not exist
drop table dbms_alert_info
ERROR at line 1:
ORA-00942: table or view does not exist
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
drop table SYSTEM.AQ$_Internet_Agent_Privs
ERROR at line 1:
ORA-00942: table or view does not exist
drop table SYSTEM.AQ$_Internet_Agents
ERROR at line 1:
ORA-00942: table or view does not exist
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
DROP SYNONYM def$_tran
ERROR at line 1:
ORA-01434: private synonym to be dropped does not exist
DROP SYNONYM def$_call
ERROR at line 1:
ORA-01434: private synonym to be dropped does not exist
DROP SYNONYM def$_defaultdest
ERROR at line 1:
ORA-01434: private synonym to be dropped does not exist
DBMS_DEBUG successfully loaded.
PBUTL successfully loaded.
PBRPH successfully loaded.
PBSDE successfully loaded.
PBREAK successfully loaded.
DROP TYPE SYS.RewriteMessage FORCE
ERROR at line 1:
ORA-04043: object REWRITEMESSAGE does not exist
DROP TYPE SYS.RewriteArrayType FORCE
ERROR at line 1:
ORA-04043: object REWRITEARRAYTYPE does not exist
DROP TYPE SYS.ExplainMVMessage FORCE
ERROR at line 1:
ORA-04043: object EXPLAINMVMESSAGE does not exist
DROP TYPE SYS.ExplainMVArrayType FORCE
ERROR at line 1:
ORA-04043: object EXPLAINMVARRAYTYPE does not exist
No errors.
drop view sys.transport_set_violations
ERROR at line 1:
ORA-00942: table or view does not exist
drop table sys.transts_error$
ERROR at line 1:
ORA-00942: table or view does not exist
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
drop operator XMLSequence
ERROR at line 1:
ORA-29807: specified operator does not exist
What does this mean?
venki
Edited by: thevenkat on Mar 11, 2009 10:17 PMVenki,
The ORA-00942 is okay because there is no existing object. But what stuck me is the ORA-01921 error which may indicate that this might not be a new database.
CREATE ROLE exp_full_database
ERROR at line 1:
ORA-01921: role name 'EXP_FULL_DATABASE' conflicts with another user or role name
CREATE ROLE imp_full_database
ERROR at line 1:
ORA-01921: role name 'IMP_FULL_DATABASE' conflicts with another user or role name
Are there any existing databases on this server? Have you tried to create it on other machine?I searched on Metalink too and found Doc ID: 237486.1 ORA-29807 Signalled While Creating Database using DBCA which say that eroror could be ignored. You may want to review that as well.
Ittichai -
Whlie creating a new instance, listener doesn't work
Hi
I got some problem while install a new instance.
Maybe listener configured incorrectly
please help me out.
I created a new instance(SID:BUS) by myself.
I didn't use DBCA or anyother tools
There's legacy instance on my NT server.
That's why I have to add a new instance.
Here's list of command I've issued
1. set initBUS.ora
2. register as a service
3. startup with nomount
4. issue create database command
5. run those script
@C:\oracle\ora92\rdbms\admin\catalog.sql
@C:\oracle\ora92\rdbms\admin\catproc.sql
@C:\oracle\ora92\sqlplus\admin\pupbld.sql
6. restart
The problem is I can't connect to new SID(BUS) even though I add new sid to listener.ora(legacy sid works fine)
I am sure that my new instance's listener works fine with this command
c:\>lsnrctl status
but it has unknown status ( I don't understand what stands for)
when I try connecto sid(BUS), system back this msg
SQL> conn sys/oracle as sysdba
ERROR:
ORA-12560: TNS:protocol adaptor error
what is the problem?
or which file or configure do I have to check?
Thanks in advance
here's listener.ora
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 601a4)(PORT = 1521))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oracle\ora92)
(PROGRAM = extproc)
(SID_DESC =
(GLOBAL_DBNAME = ora9)
(ORACLE_HOME = C:\oracle\ora92)
(SID_NAME = ora9)
(SID_DESC =
(GLOBAL_DBNAME = OEMREP)
(ORACLE_HOME = C:\oracle\ora92)
(SID_NAME = OEMREP)
(SID_DESC =
(GLOBAL_DBNAME = BUS)
(ORACLE_HOME = C:\oracle\ora92)
(SID_NAME = BUS)
here's tnsping results
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = ********)(PORT = 1521))) (C
ONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = BUS)))
**(20ms)
here's listener log file
19-NOV-2007 21:09:02 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=BUS)(CID=(PROGRAM=C:\oracle\ora92\bin\sqlplus.exe)(HOST=704C1)(USER=Administrator))) * (ADDRESS=(PROTOCOL=tcp)(HOST=211.183.9.223)(PORT=2565)) * establish * BUS * 12500
TNS-12500: TNS:listener failed to start a dedicated server
TNS-12560: TNS:protocol adapter error TNS-00530: Protocol adapter
> error 32-bit Windows Error: 2: No such file or directorySorry. It didn't work.
Here's error MSG
Microsoft Windows 2000 [Version 5.00.2195]
(C) Copyright 1985-2000 Microsoft Corp.
C:\Documents and Settings\Administrator>set ORACLE_SID=BUS
C:\Documents and Settings\Administrator>sqlplus /nolog
SQL*Plus: Release 9.2.0.1.0 - Production on 월 Nov 19 21:55:38 2007
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
SQL> conn sys/oracle as sysdba
ERROR:
ORA-12560: TNS:protocol adaptor error
SQL> quit
C:\Documents and Settings\Administrator>sqlplus /nolog
SQL*Plus: Release 9.2.0.1.0 - Production on 월 Nov 19 21:56:08 2007
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
SQL> conn sys/oracle@bus as sysdba
ERROR:
ORA-12500: TNS:listener failed to start a dedicated server process
SQL> -
Create a new instance of a class without starting new windows.
I've a class with basic SWING functions that displays an interface. Within this class is a method which updates the status bar on the interface. I want to be able to reference this method from other classes in order to update the status bar. However, in order to do this, I seem to have to create a new instance of the class which contains the SWING code, and therefore it creates a new window.
Can somebody give me an example, showing how I might update a component on the interface without a new window being created.
Many thanks in advance for any help offererd.I've a class with basic SWING functions that displays
an interface. Within this class is a method which
updates the status bar on the interface. I want to be
able to reference this method from other classes in
order to update the status bar. However, in order to
do this, I seem to have to create a new instance of
the class which contains the SWING code, and
therefore it creates a new window.
Can somebody give me an example, showing how I might
update a component on the interface without a new
window being created.
Many thanks in advance for any help offererd.It sounds like you have a class that extends JFrame or such like and your code must be going
Blah test = new Blah();
test.showStatus("text");Whereas all you need is a reference to that Classs.
So in your class with basic SWING functions that displays an interface.
You Might have something like this
// The Label for displaying Status messages on
JLabel statusLabel = new JLabel();
this.add( statusLabel , BorderLayout.SOUTH );What you want to do is provide other Classes a 'method' for changing your Status Label, so in that class you might do something like:
Allow Setting of Text in A JLabel From various Threads.
And of course other classes......
The JLabel statusLabel is a member of this class.
ie defined in this class.
@param inText the new Text to display
public void setStatusText( String inText )
final String x = inText;
SwingUtilities.invokeLater( new Runnable()
public void run()
statusLabel.setText( x );
}You still need a reference to your first class in your second class though.
So you might have something like this:
private firstClass firstClassReference; // Store Reference
public secondClass( firstClass oneWindow )
// create whatever.........
this.firstClassReference = oneWindow;
// blah blah.
private someMethod()
firstClassReference.setStatusText( "Hello from Second Class");
}Hope that gives you some ideas -
Unable to create a new instance in Hyperion Conf Utility
Hi,
I have installed Planning 9.3.1 on XP Prof. Everything is configured correctly except for the instance. I try to create a new instance and system gives out the following -
"System failure : Error while retrieving xml from database"
I have re-installed and configured Planning thrice to check that error isn't on the installation side.
Guru's, please provide your insights on this. If the instance is created, I can start working on the applications..
Thanks for your time,
Varma.John and YM,
Thanks for your response.
I have two laptops - XP Prof and Windows 2003 Server. I am encountering the same problem on both. I have configured everything correctly with Shared Services. Only options that show pending are - Product Instance Registration and Deregister from Shared Services.
I have even started the services in the Same Order mentioned but to no use.
When I start planning, I see a message come up -
Can not get JDBC connection.
java.lang.NullPointerException
at com.hyperion.planning.sql.HspSQLImpl.getConnection(Unknown Source)
at com.hyperion.planning.event.HspSysExtChangeHandler.actionPoller(Unkno
wn Source)
at com.hyperion.planning.event.HspSysExtChangeHandler.run(Unknown Source
Can not get JDBC connection for SYS external changed actions.
Can not get JDBC connection.
java.lang.NullPointerException
at com.hyperion.planning.sql.HspSQLImpl.getConnection(Unknown Source)
at com.hyperion.planning.event.HspSysExtChangeHandler.actionPoller(Unkno
wn Source)
at com.hyperion.planning.event.HspSysExtChangeHandler.run(Unknown Source
Can not get JDBC connection for SYS external changed actions.
Can not get JDBC connection.
java.lang.NullPointerException
at com.hyperion.planning.sql.HspSQLImpl.getConnection(Unknown Source)
at com.hyperion.planning.event.HspSysExtChangeHandler.actionPoller(Unkno
wn Source)
at com.hyperion.planning.event.HspSysExtChangeHandler.run(Unknown Source
Can not get JDBC connection for SYS external changed actions.
and finally the "Unable to retrieve xml file from database" message. ( in Hyp Conf Util )
Any insight into this problem..???
Thanks,
Varma. -
I need to rebuild my SCCM2012 site server. I already have a SQL2012 server housing 1 instance. I need to create a new instance on this production SQl2012 server.
When createing a new instance during the setup SQLwizard will it take the other instances already running offline during the configuration?
Thanks
EiramNo, but as Ashwin suggested after applying SP you may have to reboot that brings up another instance down.
Apart from that you will have to consider other things, when you are sharing with another prod instance.
Hardware and software requirements, processor, memory, OS related, Cross-language support if any, Hard Disk requirements, any OS updates brings both prod servers down, Storage type for data and log files, Domain controller issues.. -
Why create a new instance of Main?
I see many code samples posted that create a new instance of Main, but none of them seem to use it. But yet the Netbeans IDE won't seem to run without it. What is it for? How can it be utilized? How can it be nullified if it's not needed?
Yes, that's a fair interpretation of my question. Why
would Netbeans, or other IDE's, create a new instance
of Main? Common logic says that there can only be one
Main. More than one creates confusion.There can only be one main(String[] args) per class, but there's nothing which says that there can't be one main method in each class. I usually uses main methods to show example code, or to have some code which performs some kind of tests.
Kaj -
How can i create a new instance on unix
Hi,
How can i create a new instance(instance only) on UNIX and how can i mount my database with this new instance.udayjampani wrote:
Hi,
How can i create a new instance(instance only) on UNIX and how can i mount my database with this new instance.1) Define Instance in your way!!?
If you simply create a pfile and startup nomount with it, then -in theory- you have an instance running ( this method is used e.g. for restoring a rman backup )
2) You can't. Database files are bound to a certain instance. What you can do is recreate an instance with e.g. a different name, using the scripts generated by a 'alter database backup controlfile to trace;' command
Cheers
FJFranken -
Hi,
2 instances of scautolistener are already running and i want to create a new instance of scautolistener.
The sm.cfg file entry of scautolistener instances are:
sm -scautolistener:12670 -debugscauto -log:..\logs\scauto.log
sm -scautolistener:12690 -log:..\logs\scsmtp.log
Please guide me as how to create a new instance of scautolistener.first, you cannot create instances of methods. but you can create instances of classes (==objects).
the algorithm for primes does not work yet (its your work) but i inserted the code to create your object.
import java.math.*;
public class IsPrime {
public boolean isPrime1(int arg){
for(int e = 2; e < arg; e++){
int remainder=arg%e;
if(remainder==0){
System.out.println("This number is not a prime number");
break;
else {
System.out.println("This number is a prime number");
break;
return true;
public static void main(String[] args){
System.out.println(args.length);
if (args.length>1){
System.out.println("Sorry you can only enter one number");
else{
String sNum =args[0];
int iNum=Integer.parseInt(sNum);
IsPrime myPrimesObject = new IsPrime(); // here is your object
if (myPrimesObject.IsPrime1(iNum)==true)
System.out.println("is a prime");else System.out.println("is not a prime");
} -
Schedule Webi (and Crystal) report without creating a new instance
Hi all,
I'm looking for the way to not create a new instance of the report when we schedule a report? Is it any actions on the InfoObject object? Or is it just impossible to do?
Thanks in advance !
Edited by: jerome.vervier on Nov 21, 2011 11:40 AMHi,
With regards to your query, whenever a report is scheduled an instance of it will be created.
Therefore, it is not possible to schedule a report without creating an instance.
Regards,
Shreyans -
Create a new instance in HPUNIX 8.1.7.database without Xwindows
Can Somebody help me?
I want to create a new instance in HP-UX 8.1.7 database. There is no Xwindows installed. I think i should do this in SQL plus.
If so can sombody give my this script.
thanksCan Somebody help me?
I want to create a new instance in HP-UX 8.1.7 database. There is no Xwindows installed. I think i should do this in SQL plus.
If so can sombody give my this script.
thanks I have not tried this but expect you could use dbca (database creation assistant) with a script on the HP host.
RP. -
To create a new file in application server and transfer data to ti
i am doing the following where i have to create a new file in application server and transfer data to tht file from an internal table.but its saying file cant be opened.the path i am giving to parameter p_prefil is /tmp/prachi.txt.
wats the prob..can anyone help.
DATA:L_WA_FINAL TYPE TY_FINAL,
l_wa_string type string.
OPEN DATASET P_PREFIL FOR OUTPUT IN text mode encoding default.
if sy-subrc <> 0.
write: ' file cannot be opened'.
stop.
endif.
LOOP AT P_I_FINAL INTO L_WA_FINAL.
move l_wa_final to l_wa_string.
TRANSFER l_wa_string TO P_PREFIL.
if sy-subrc <> 0.
write: 'file can not be written'.
stop.
endif.
clear l_wa_final.
ENDLOOP.
CLOSE DATASET P_PREFIL.
if sy-subrc <> 0.
write: ' file cannot be closed'.
stop.
endif.DATA:L_WA_FINAL TYPE TY_FINAL,
l_wa_string type string.
OPEN DATASET P_PREFIL FOR OUTPUT IN text mode encoding default.
if sy-subrc ne 0.
write: ' file cannot be opened'.
stop.
endif.
LOOP AT P_I_FINAL INTO L_WA_FINAL.
move l_wa_final to l_wa_string.
TRANSFER l_wa_string TO P_PREFIL.
write: 'file can not be written'.
clear l_wa_final.
ENDLOOP.
CLOSE DATASET P_PREFIL.
if sy-subrc ne 0.
write: ' file cannot be closed'.
stop.
endif.
Maybe you are looking for
-
How do I join multiple mp3 files into one mp3 file?
Hello, I have multiple mp3 files that I would like to join into one mp3 file and to use it as an audio book. This explains how to do it, but in iTunes 12, I do not see an option called "Part of a Compilation" option. Is there a way to do it in iTunes
-
Where can I download Boot Camp Assistant 3.3?
The version that comes with a fresh install of Snow Leopard is 3.04. I plan to install Windows 7.
-
Change SQL server instance collation after Sharepoint installation
Installed Sharepoint 2013 with the SQL Server 2012 db instance using the default collation Latin1_General_CI_AS. SQL is just used for Sharepoint 2013. the system is not released yet for production Run the installation and configurations and database
-
Showing Grid without column headers and Grid lines
Hi all does anyone knows how can set a grid object to display without grid lines and without column headers? appreciate the help Yoav
-
SD slot it is not working on my Sat Pro M30
Hi Guys, I am having a problem with my SD slot it is not working. I checked my device manager and I found it in my device list, I troubled shoot it for problems and nothing appear wrong with it. I insert the meadia card in the slot and I have the blu