EnterpriseOne – Install/Upgrade

How To Change The Schema Of All Tables In A SQL Server Database

button print grnw20 How To Change The Schema Of All Tables In A SQL Server Database

Below is the SQL that can be used to change the database schema of all tables in an SQL Server Database.  We use it when restoring databases from Production to CRP or Development.

USE JDE_CRP_NEW  --TODO: Change this to DB Name

SET NOCOUNT ON
DECLARE @NewSchema nvarchar(256)
DECLARE @OldSchema nvarchar(256)

Set @NewSchema = 'CRPDTA';  --TODO: Change to New Schema 
Set @OldSchema = 'PRODDTA'; --TODO: Change to Old Schema 

--Don’t need to change anything below this
DECLARE @TableName nvarchar(256)
DECLARE TableName CURSOR FOR
SELECT  DISTINCT QUOTENAME(TABLE_SCHEMA) + '.' + QUOTENAME(TABLE_NAME)
FROM INFORMATION_SCHEMA.COLUMNS
WHERE TABLE_SCHEMA = @OldSchema

OPEN TableName

FETCH TableName INTO @TableName

WHILE @@Fetch_Status = 0

   BEGIN

   Print 'Modifying ' + @TableName 
   EXEC('ALTER SCHEMA ' + @NewSchema + ' TRANSFER ' + @TableName)

   FETCH TableName INTO @TableName
   END

CLOSE TableName

DEALLOCATE TableName


Finding The Row Count For All Files In An iSeries Library And All Tables In An SQL Server Database

button print grnw20 Finding The Row Count For All Files In An iSeries Library And All Tables In An SQL Server Database

I’ve been moving several EnterpriseOne databases to SQL Server lately.  In order to do a quick check to make sure that all the data was transferred, I like to compare the number of rows on all the tables.  Below are the SQL queries that I use to get a row count on all tables in a database and all files in a library:

iSeries – SQL query to get a row count on all files in an iSeries library:

 SELECT TABLE_SCHEMA, TABLE_NAME,NUMBER_ROWS 
FROM QSYS2.SYSTABLESTAT 
WHERE TABLE_SCHEMA = 'PRODDTA' 
AND NUMBER_ROWS > 0 

SQL Server – SQL query to get a row count on all tables in an SQL Server database:

  
SELECT '[' + SCHEMA_NAME(t.schema_id) + '].[' + t.name + ']' AS fulltable_name,
SCHEMA_NAME(t.schema_id) AS schema_name, t.name AS table_name,i.rows 
FROM sys.tables AS t 
INNER JOIN sys.sysindexes AS i ON t.object_id = i.id 
AND i.indid < 2 
WHERE i.rows > 0 

NOTE: the iSeries SQL query is easiest to do from System i Navigator because you can easily copy the records into Excel.

Are there any methods that you use to do a quick data integrity check?


Add A JDE EnterpriseOne Environment To Every Role/Group

button print grnw20 Add A JDE EnterpriseOne Environment To Every Role/Group

You can use the below SQL to add an EnterpriseOne environment to every role or group in your installation:

INSERT INTO SY910/F0093 (LLUSER,LLLL,LLSEQ,LLMNI)
SELECT ULUSER, 'PD910','1.00','' FROM SY910/F0092


ESU Management Best Practice

button print grnw20 ESU Management Best Practice

I am looking for the best practices for managing ESUs so that they don’t get abandoned in DV or PY.

I’ve heard many discussions on the subject with no real “Best Practice” determined just a bunch of different ways to do things.

So, how do you manage ESUs and/or how do you think they should be managed?

Update with a better explanation…

One of our biggest concerns is what to do with ESUs that do not fix our issue.  Say we have an issue.  We call Oracle.  They suggest applying an ESU.

The first question is “to what environment do we apply the ESU so that it can be tested?”

1. Apply the ESU to Pristine
+ if the ESU fixes the problem, YAY!  Apply the ESU to the rest of the environments and do any retro-fits necessary
- testing is difficult because of not using our real business data
- if the ESU does not fix the issue, you can no longer compare those objects with the ones in the other environments for subsequent modifications or troubleshooting

2. Apply the ESU to Pristine & DV
+ Pristine is more “fix current”
+ testing is easier because of using our real data
+ if the ESU fixes the issue, we do the retro-fits and go
- if the ESU does not fix the issue:
a. try to back out the ESU and hope for the best
b. wait for Oracle to issue a superseding ESU.  Then after applying the new ESU we could delete the original one

Those are my choices as I see them.  Any thoughts?


JD Edwards EnterpriseOne 9.0.2 Standalone Installation Uses Oracle Universal Installer

button print grnw20 JD Edwards EnterpriseOne 9.0.2 Standalone Installation Uses Oracle Universal Installer

Deepesh Divakaran has written a great article on how to install JD Edwards EnterpriseOne 9.0.2 Standalone using Oracle Universal Installer (OUI).

  1. Go to http://edelivery.oracle.com and sign in with your Single Sign On id registered with Oracle.
  2. Accept the Terms and Restrictions
  3. Search for Product Pack – JD Edwards EnterpriseOne & Platform – MS Windows 32bit
    image thumb2 JD Edwards EnterpriseOne 9.0.2 Standalone Installation Uses Oracle Universal Installer
  4. Now from the search results select “JD Edwards EnterpriseOne 9.0 Application Update 2 Media Pack”
    image thumb3 JD Edwards EnterpriseOne 9.0.2 Standalone Installation Uses Oracle Universal Installer
  5. The only issue is that the whole download is nearly 5GB. Download the first 4 Files as shown in the screens, for those who do not want languages, else download the last 4.
    image thumb4 JD Edwards EnterpriseOne 9.0.2 Standalone Installation Uses Oracle Universal Installer
  6. Now, Unzip the first 2 zip files into a directory say – C:\Standalone_9.00
  7. Unzip the last 2 zip files into the C:\Standalone_9.00\ThirdParty\ORACLE folder

 

That’s it. The installation files are ready for you to start. You can also go through the Oracle Supporting Document for the installation steps, which are amazingly simple and easy. Please read through the MTR’s before you install. If you have Visual Studio 2003/2005/2008 installed, the JDE.INI will automatically update with the settings for Building BSFN’s etc.

  1. Launch the InstallManager.exe . For those on Vista or Win7, right click the InstallManager and select Run as Administrator.
  2. Click the “EnterpriseOne E90 Standalone – OUI 11g”. This will take you to the Oracle Universal Installer
  3. On the OUI Welcome screen, click Next
  4. Accept the Licence Agreement
  5. Select Database Engine and click Next.
  6. For the Database Installation enter the following and click Next (for explanations on these read the pdf)
    Name: JDE_Local_DB_Home
    Path: C:\JDEdwards
  7. On the Installation Summary page, verify the settings, and click Install.
  8. This would take a while. On completion, click the Exit button.
  9. Restart your Machine.
  10. Verify if OracleE1LocalTNSListener and OracleServiceE1LOCAL are started in your windows services (services.msc)
  11. Again start the InstallManager.exe (for Vista or higher select Run as Administrator) and redo through the steps from 1 to 4
  12. Select the EnterpriseOne Client radio button, and click Next.
  13. Select Development Radio Button if you want to modify or build the E1 objects. Else select the Production Radio Button.
    Click Next.
  14. On the Specify Home Details page enter the following and click Next (for more explanations read the pdf)
    Name: JDE_Standalone_Home
    Path: C:\JDEdwards\E900
  15. Select the DEMO package, and click Next.
  16. On the Summary verify, and click Install.
    • The Best part about this is that the JDK, Webserver, VC++ redistributable and all are installed automatically.
  17. Once completed click Exit.
  18. To start the JD Edwards EnterpriseOne DEMO click – (for Vista or higher )
    Start > All Programs > Oracle – JDE_Standalone_Home
    or
    C:\JDEdwards\E900\system\bin32\activeconsole.exe
  19. Most probably you will have a Desktop icon pointing to the activeconsole.exe
  20. Give about 30 secs for the jdenet_n.exe to start and access the services.
  21. That’s it. Login with DEMO – DEMO and you are all set.

image thumb5 JD Edwards EnterpriseOne 9.0.2 Standalone Installation Uses Oracle Universal Installerimage thumb6 JD Edwards EnterpriseOne 9.0.2 Standalone Installation Uses Oracle Universal Installer



Unable To Launch Change Assistant

button print grnw20 Unable To Launch Change Assistant

image thumb Unable To Launch Change AssistantWhile trying to resolve the “Unable To Launch Change Assistant” error, we ended up installing the latest version which meant that we also had to install Java 6.  Unfortunately, this did not resolve the issue.

It was resolved by going in to the Java Control Panel:

  1. C:\Program Files (x86)\Java\jre6\bin\javacpl.exe – be sure to do a right-click > Run As Administrator
  2. Network Settings
  3. Change the Network Proxy Settings to “Direct Connection”

The default was “Use browser settings” but for some reason that didn’t work.


JD Edwards EnterpriseOne Kernel Information Center

button print grnw20 JD Edwards EnterpriseOne Kernel Information Center

Last Updated May 26, 2011

Oracle introduced the JD Edwards EnterprisOne Kernel Information Center! There you can find links to all things related to kernels, IPC, PORTTEST & UNIX OS kernel sizing – all the things that make JD Edwards EnerpriseOne run. You can work with the links along the left side of the page to navigate through the document.

Documentation and Certifications

Installation Documentation

Tools Documentation

Certifications (fka MTRs)

Diagnostics and Debugging

Kernel Resource Management

Logging

Performance Workbench

EnterpriseOne Kernel Topics

IPC

Kernel Sizing/Tuning

PORTTEST

Toubleshooting Kernels

UNIX OS Kernel Settings

Zombie Processes

Support and Searching

Support Recommended

Kernel Document Index


Find EnterpriseOne (E1) Tools Release Version On IBM iSeries AS400

button print grnw20 Find EnterpriseOne (E1) Tools Release Version On IBM iSeries AS400

Use the command below to determine the Tools Release version that has been installed on the IBM iSeries AS400:

DSPF FILE(E900SYS/LOG) – JDE EnterpriseOne 9.0 installations
DSPF FILE(E811SYS/LOG) – JDE EnterpriseOne 8.11 installations


Upgrading EnterpriseOne Enterprise Server Tools Release Using Oracle Server Manager Error

button print grnw20 Upgrading EnterpriseOne Enterprise Server Tools Release Using Oracle Server Manager Error

While trying to upgrade or change the EnterpriseOne Enterprise Server Tools Release using Oracle Server Manager, you can NOT be logged into the “green screen” as OneWorld.


  • E1Tips Job List

  • Directory Membership

  • Copyright © 1996-2010 E1 Tips. All rights reserved.
    iDream theme by Templates Next | Powered by WordPress