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

Thursday, August 07, 2014

Python Tutorial for Beginners

Python is powerful... and fast;
plays well with others;
runs everywhere;
is friendly & easy to learn;
is Open.


Python is a widely used general-purpose, high-level programming language. Its design philosophy emphasizes code readability, and its syntax allows programmers to express concepts in fewer lines of code than would be possible in languages such as C. The language provides constructs intended to enable clear programs on both a small and large scale.

Friday, July 25, 2014

DataStage Custom Routine to Get a File Size


Below is a DataStage custom transform routine to get the size of a file. The full path of the file is passed in as a parameter called "Filename".


Wednesday, May 28, 2014

Monday, March 24, 2014

Linux & Unix Basics – Day 2


Directory Structure

/dev  -  Special files that represent devices
/sbin -  System utilities for system startup
/etc  -  System configuration files used by System Admins
/usr  -  contains the subdirectories bin, include, share etc
/home – contains all users’ home directories
/var  -  contains user’s mail files, crontab files etc.
/tmp – directory used by system processes to keep their temporary files. 


Shell

  • User interface - Shell provides an interface to the user, wherein the user could issue his commands, and Shell displays output and error messages to the user.
  • Command interpreter - Shell accepts command from user, and interprets it to the kernel.
  • Command processor - Shell parses the command line arguments, expands the special meaning of meta characters, searches for the command, and if the command is found, then transfers control to the command.
  • Programming language - Shell provides a native programming language.

Sunday, March 23, 2014

Linux & Unix Basics – Day 1


Operating System

  • It is the interface between hardware and user.
  • It is responsible for management and coordination of activities and sharing of resources of computer.
  • It acts as host for computing applications that run on the machine.
  • The applications access OS services through APIs or System Calls.
  • It provides two types of interfaces to the users, namely Command Line Interface and Graphical User Interface.

Friday, August 23, 2013

DataStage BASIC functions


These functions can be used in a job control routine, which is defined as part of a jobs properties and allows other jobs to be run and controlled from the first job. Some of the functions can also be used for getting status information on the current job; these are useful in active stage expressions and before- and after-stage subroutines. 


Specify the job you want to control
DSAttachJob