We have moved to www.dataGenX.net, Keep Learning with us.
Showing posts with label create. Show all posts
Showing posts with label create. Show all posts

Wednesday, December 10, 2014

Create table from another table in TeraData database

Same Queries for Teradata DBs -


===========================================================================
===========================================================================

Tuesday, December 09, 2014

Create table from another table in Oracle database


How to do the same in Oracle DB as we did in DB2 -Create table from another table in DB2 database
In Oracle, it is quite simple to create the duplicate tables with data :-)

Let's see How --

Monday, December 08, 2014

Create table from another table in DB2 database


We can create a table from another table definition but without data in DB2. We need write a another sql to insert the data into newly created table.

Let's see how to do this --

Saturday, May 31, 2014

Surrogate Key Generator - Create/Update State File


In last post ( Surrogate Key Generator - Create State File ) we have seen how to generate the surrogate key file, In this post we will discuss about what are the other ways to generate it and how to update state file

Update Surrogate State File (Flat File) :-
To update the state file, add a Surrogate Key Generator stage to a job with a single input link from another stage.

Friday, May 30, 2014

Surrogate Key Generator - Create State File


Surrogate keys are numeric keys that can replace business keys in the datawarehouse.  A surrogate key has the following characteristics:

1) It is typically an integer.
2) Surrogate keys are unique.
3) Surrogate keys allow you to combine data from tables with incompatible keys.
4) It has no meaning. You will not be able to know the meaning of that row of data based on the surrogate key value.
5) It is not visible to end users. End users should not see a surrogate key in a report.

I will not go in details of surrogate key, I will post it later, But we will see how to generate surrogate keys in DataStage.

Wednesday, April 30, 2014

How to Create Custom Stages in Datastage Parallel Jobs ?


In addition to the wide range of parallel stage types available, the Designer allows you to define your own stage types, which you can then use in parallel jobs.
For creating custom stage in datastage which will functions as per our requirement and we will be able to modify that stage as we may want. Here is some information on custom stage functionality in datastage in parallel jobs and how can we create our own wrapped custom stage.


Wednesday, August 21, 2013

Converting .rpm Packages To Debian/Ubuntu .deb Format With Alien




This article shows how you can convert .rpm packages to .deb packages with a tool called alien so that you can easily install them on Debian and Ubuntu systems. Sometimes this is quite convenient as not all software projects release their software as Debian/Ubuntu packages.

However, you should keep in mind what the alien man page says:

Tuesday, July 09, 2013

When datastage file system becomes full, RT_LOGxxx files can become corrupted. Here is a manual procedure to recreate them


When many datastage jobs are running for long time, the RT_LOGxxx files can become very big. If the log files are not regularly purged, in some cases, a file system full on the datastage file system can occur. If the corruption of datastage system files is restricted to the RT_LOGxxx files, a procedure to delete and recreate the RT_LOGxxx files can be attempted in order to recover from the corruption.

Wednesday, July 03, 2013

Teradata Users



 In Teradata, a user is the same as a database with one exception. A user is able to logon to the system and a database cannot. Therefore, to authenticate the user, a password must be established. The password is normally established at the same time that the CREATE USER statement is executed. 
The password can also be changed using a MODIFY USER command.

Wednesday, April 10, 2013

Start/Stop/Delete a Queue Manager

Starting a Queue Manager

Before we can use a Queue Manager, we need to start it, using the STRMQM command. The command to start a Queue Manager called QMA is:

$ strmqm QMA
You should see output similar to the following on your screen:
WebSphere MQ queue manager 'QMA' starting.
2108 log records accessed on queue manager 'QMA' during the log replay phase.
Log replay for queue manager 'QMA' complete.
Transaction manager state recovered for queue manager 'QMA'.
WebSphere MQ queue manager 'QMA' started.

Monday, April 01, 2013

Create/start/stop a Queue Manager



To create a Queue Manager, our userID needs to be part of the mqm group. If we do not have the appropriate authority, then we need to ask our MQ administrator to issue this command.

The command to create a Queue Manager is CRTMQM and there are various parameters available with this command:

crtmqm [-z] [-q] [-c Text] [-d DefXmitQ] [-h MaxHandles]
[-g ApplicationGroup] [-t TrigInt]
[-u DeadQ] [-x MaxUMsgs] [-lp LogPri] [-ls LogSec]
[-lc | -ll] [-lf LogFileSize] [-ld LogPath] QMgrName

Tuesday, March 12, 2013

WebSphere MQ commands



In this section, we look at the WebSphere MQ commands we need to set up and administer the MQ environment. The following table lists the V6 WebSphere MQ commands:



amqccert   Check certificate chains
mqftrcvc   Receive file on client
amqmdain   WebSphere MQ services control
mqftsnd   Send file from server
amqtcert   Transfer certificates
mqftsndc   Send file from client
crtmqm   Create Queue Manager
rcdmqimg   Record media image

Saturday, August 11, 2012

Create Users and Groups for IBM Information Server[DataStage]

To create users and groups for IBM Information Server:

1.      On the computer where you installed the clients, log in to the Web console, which is on the computer where the domain is installed.

o        Windows: Click Start > IBM Information Server > IBM Information Server Web Console and log in to the console with your suite administrator credentials.

o        Linux or UNIX: Open Microsoft Internet Explorer on a Windows computer and go to the URL of the Web console. Log in to the Web console with your suite administrator credentials. The URL takes the form http://host_server:port. host_server is the name or IP address of the computer where the domain is installed. port is the port number for the Web console. The default port number is 9080.

Saturday, July 14, 2012

How to Create a Configuration File in DataStage

Hi Friends 
Configuration file is playing a most important role in Parallel DataStage job. This is the file which have provide parallel environment to job to run parallel.

Today I am going to share how to Create/Edit the Conf file.

Creating a configuration file

            Open the Designer Client and follow the below steps