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

Tuesday, May 19, 2015

SQL Assignment08 - Delete Statement


1. Delete from customers.
2. Delete depositor of branches having number of customers between 1 and 3.
3. Delete branches havinng average deposit less than 5000.
4. Delete branches having maximum loan more than 5000.
5. Delete branches having deposit from Nagpur.

Tuesday, June 03, 2014

Surrogate Key Generator - Delete State File


Adding this post as well with Surrogate Key walk through, In this post we will see how to delete a Surrogate Key State file. Its quite simple as creation.

a) Design :
Again, for the deletion of state file, we need only 1 stage in design and that is Surrogate Key Stage.


Thursday, November 14, 2013

DataStage Server Hang Issues & Resolution




Server hang issue can occurred when

1) Metadata repository database detects a deadlock condition and choose failing job as the victim of the deadlock.
2) Log maintenance is ignored.
3) Temp folders are not maintained periodically.

I will try to explain above three points in detail below:

Wednesday, September 11, 2013

What can you delete to free up disk space in IBM InfoSphere Information Server



What can you delete to free up disk space in IBM InfoSphere Information Server when disks are becoming full?


What to do ????

Here are some things you can do to clean up space:
  • Clear the &PH& file in the Project directory. There is a &PH& directory in each DataStage project directory, which contains information about active stages that is used for diagnostic purposes. The &PH& directory is added to every time a job is run, and needs periodic cleaning out.

Monday, September 09, 2013

Deleting temporary lookuptable files in IBM InfoSphere DataStage


When a DataStage job with a lookup stage aborts, there may be lookuptable files left in the resource directories and they will consume space. The filenames are similar to "lookuptable.20091210.513biba"

When a job aborts it leaves the temporary files for postmortem review in the resource directories. Usually that is done in scratch, however, for lookup files, they are created in resource. Lookup filesets will not go away, just like regular datasets.

Friday, September 06, 2013

Managing and Deleting Persistent Data Sets within IBM InfoSphere Datastage


Data Sets sometimes take up too much disk space. This technote describes how to obtain information about datasets and how to delete them.

 

Data sets can be managed using the Data Set Management tool, invoked from the Tools > Data Set Management menu option within DataStage Designer (DataStage Manager in the 7.5 releases.) Alternatively, the 'orchadmin' command line program can be used to perform the same tasks.
The files which store the actual data persist in the locations identified as resource disks in the configuration files. These files are named according to the pattern below:

descriptor.user.host.ssss.pppp.nnnn.pid.time.index.random

Tuesday, September 03, 2013

Commands to delete files in &PH& directories in IBM InfoSphere DataStage



How should we manage cleaning up the &PH& directories for my DataStage projects? Can the process be automated?

Files in the &PH& directories under DataStage project directories store runtime information when jobs are run and need to be cleared out periodically.

 

Steps :

To clear the &PH& directory from within DataStage:

Monday, August 05, 2013

Orchadmin Command : DataStage


Orchadmin is a command line utility provided by datastage to research on data sets.

The general callable format is : $orchadmin <command> [options] [descriptor file]

1. Before using orchadmin, you should make sure that either the working directory or the $APT_ORCHHOME/etc  contains the file “config.apt” OR
The environment variable $APT_CONFIG_FILE  should be defined for your session.

Saturday, June 15, 2013

Delete All PuTTY Sessions Together


When you are swapping an old computer with a new computer, you may end-up transferring all PuTTY sessions to new computer. Once you’ve transferred all PuTTY sessions, execute “putty -cleanup” from the command line as shown below.
 

Thursday, January 10, 2013

How to delete DataStage jobs at the command line



1.    Login to the DataStage Administrator. Select the Project and click the Command button. Then execute the following command:

LIST DS_JOBS <job_name>

Thursday, December 06, 2012

Make a File "immutable" or "unalterable" in Nix


It cannot be changed or deleted even by root. Note this works on (ext2/ext3) filesystems.
And, yes, root can delete after it's changed back.

     As root:

       $ chattr +i filename

Tuesday, September 11, 2012

Clear the Job log in MetaData Repository

Sometime having too much logs stored in the metadata repository can be a reason behind a jobs slow performance.

Periodic log clearance would not only improve the performance but would keep the metadata database healthy. 

Wednesday, September 05, 2012

DataStage Error: DSR.ADMIN Failed to write to project file.

Problem
Unable to delete a parameter from DataStage Administrator receive the error: DSR.ADMIN Failed to write to project file.
Receive the error DSR.ADMIN Failed to write to project file. trying to delete parameter from DataStage Administrator.