Execute Command Activity Stage Data Stage Developer

Posted on by
Execute Command Activity Stage Data Stage Developer Average ratng: 4,7/5 6483 votes
  1. Execute Command Activity Stage Data Stage Developer Download
  2. Xml Input Stage Data Stage
  3. Execute Command Activity In Datastage
  4. Execute Command Activity Stage Data Stage Developers

Datastage Designer hangs when editing job activity properties The appears when running Datastage Designer under Windows XP after installing patches or the Service Pack 2 for Windows. After opening a job sequence and navigating to the job activity properties window the application freezes and the only way to close it is from the Windows Task. It's created graphically in datastage designer in a similiar way as a normal server job. Very often the following job sequencer stages/activities are used to do a master controller: Wait for file activity - check for a file which would trigger the whole processing Execute command - executes operating system commands or datastage commands.

It is now possible to expose the Datastage jobs you have created, as a web service. This is more in line with the SOA architecture that they are aiming for. However you simply cannot expose any job as a web service. Your jobs will have to be designed to interpret or send web service messages. The jobs can either be something that is always running or a job that runs to completion a single time. If your job is something that is meant to be triggered by web service requests then you should set that job to the multiple instance mode and select the enabled for service in the job properties window your job( as shown below).

The design of such a job would include the use of the WISD stage to communicate with the outside world. A simple design is shown below

The above job just calls a routine that will get the job report of a particular job and send it to the WISD output stage. The job is a multiple instance job and information services have been enabled for it in the job properties tab of the job.

Deployment

1) You will first have to log on to the IBM Information Server console with administrator privileges and create a new project of type ‘Information Services’. Before you can deploy your service, you will need to create a project and a information services application. If you already have a project that was created earlier then it’s enough that you import that project.

2) After you have created your project you will have to proceed to the next step of creating your application. Go the tab shown below(DEVELOP) tab and click the ‘Information Services Application’ option.


This will give you a new page. On the right hand side of the page you will find a sidebar with the heading ‘Tasks’. Select the ‘New’ option. This will give you another new page where you will have to enter the name of your application. Then click ‘Save’ to save your application.

Midi logic the guitar software. Our software is a multi format player. It will play Guitar Pro, Power Tabs, text, and midi files. The accuracy of these tabs is up to the person who has transcribed the file. Nov 29, 2016  Download free software Midi Logic The Guitar Software Free. Logic Pro X is the most powerful version yet. Logic Pro X puts a complete recording and MIDI production studio on your Mac. Wirelessly play any software instrument in Logic Pro X from your iPad Pro. Testing out 'Midi Guitar' Software. MIDI Guitar is the worlds first low latency, polyphonic software solution, allowing you to play both chords and single notes with instant audio feedback. Traditionally guitarists have had to seek out expensive and inconvenient hardware to be able to use a guitar as a MIDI controller. MIDI Guitar removes the need for any kind of specialized hardware beside a standard guitar interface to connect your guitar to your computer. Just connect your guitar and let MIDI Guitar.

3) The next step is to create a service. After you have saved your application, click on the edit button you see on the right hand bottom corner of the page. Then click on the ‘New’ button that is present on the left hand corner of the page



You must type a name for the service in the Service Name field. All of the other required fields will be containing the default values. You need not worry about that right now. You should then save your application.

4) As the next step you should attach a binding to your service. Select the binding option that is present on the left hand side of your page. Then select the option below

The settings for the binding will now appear on your screen. Leave the default values as it is.

5) Next step is to configure your Operation. Click the table shown below

In the Information Provider tab, press SELECT. You will then get a page which asks you for the type. You should select ‘Datastage and Quality’ stage. You will then be able to browse through the project and select your web service job. After you have chosen your job, click ‘OK’ and save your application and close it. Your information services configuration is complete

6) The next step is to deploy your service. Go ‘DEVELOP’ tab tab and click the ‘Information Services Application’ option. Your application will be listed. Select the ‘Deploy’ option present on the right hand side of the page. After you click that the wizard will take you to a new page. You will again have to click ‘Deploy’ which is now present at the bottom of the page. The status of the deployment can be observed by the status bar at the bottom of the page. The status of your application will change as shown below

You can view your deployed service in the OPERATE tab as shown below


The respective wsdl for this service can be found by doing the following

- Select your application to view the services within it.

- Select the service within your application.

- Click View Service in Catalog as shown below

- This will open up a new page. From the Select a View pane, select Bindings.

- Click on SOAP Over HTTP and then click ‘Open WSDL document’. Doing this will get your wsdl displayed on a new page

Active2 years, 10 months ago

I am considering using RCP to run a generic datastage job, but the initial SQL changes each time it's called. Is there a process in which I can use a User Activity Variable to inject SQL from a text file or something so I can use the same datastage?

I know this Routine can read a file to look up parameters:

But does that mean I just store the SQL in one Single line, even if it's long? Thanks.

arcee123arcee123
8242 gold badges19 silver badges48 bronze badges

3 Answers

Why not just have the SQL within the routine itself and propagate parameters?

I have multiple queries within a single routine that does just that (one for source and one for AfterSQL statement)

This is an example and apologies I'm answering this on my mobile!

I've used the multiple encapsulations in the example above, when passing out to a parameter make sure you check the ', ' have either been escaped or are displaying correctly

Again, apologies for the quality but I hope it gives you some ideas!

Dan GriffithsDan Griffiths

You can give this a try

  1. As you mentioned ,maintain the SQL in a file ( again , if the SQL keeps changing , you need to build a logic to automate populating the new SQL)

  2. In the Datastage Sequencer , use a Execute Command Activity to open the SQL file eg : cat /home/bk/query.sql

  3. In the job activity which calls your generic job . you should map the command output of your EC activity to a job parameter

so if EC activity name is exec_query , then the job parameter will be

Execute Command Activity Stage Data Stage Developer
  1. When you run the sequence , your query will flow from

    SQL file --> EC activity-->Parameter in Job activity-->DB stage( query parameterised)

balaji karthikbalaji karthik

Has you thinked to invoke a shellscript who connect to database and execute the SQL script from the sequential job? You could use sqlplus to connect in the shellscript and read the file with the SQL and use it. To execute the shellscript from the sequential job use a ExecCommand Stage (sh, ./, ..), it depends from the interpreter.

Other way to solve this, depends of the modification degree of your SQL; you could invoke a routine base who handle the parameters and invokes your parallel job.

Execute Command Activity Stage Data Stage Developer Download

The principal problem that I think you could have, is the limit of the long of the variable where you could store the parameter.

Xml Input Stage Data Stage

Tell me what option you choose and I could help you more.

Angel Doza

Execute Command Activity In Datastage

Angel Doza

Execute Command Activity Stage Data Stage Developers

7091 gold badge11 silver badges25 bronze badges

Not the answer you're looking for? Browse other questions tagged datastageinformation-server or ask your own question.