Search found 10 matches

by subhasis.raha
Thu Apr 07, 2016 5:46 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Generate XML From Sequential File
Replies: 8
Views: 12222

Generate XML From Sequential File

Dear All , I am very new to datastage. I got a requirement to create a proof of concept job which will read data from sequential file and generate a single XML file , which will contain all data coming from sequential file. Column format for sequential file ID Numeric Name Varchar Age Numeric Note :...
by subhasis.raha
Mon Sep 08, 2014 7:53 am
Forum: General
Topic: Job Information required in before subRoutine
Replies: 20
Views: 9062

I have tried to execute a simple job and used this before subroutine.
There is no warning or error.

But not able to get the job name in before sub routine :(
by subhasis.raha
Mon Sep 08, 2014 2:34 am
Forum: General
Topic: Job Information required in before subRoutine
Replies: 20
Views: 9062

Yes, There is no compilation error.

I have tried to see the Job Name in log and I am getting job name as null.
by subhasis.raha
Fri Sep 05, 2014 12:06 pm
Forum: General
Topic: Job Information required in before subRoutine
Replies: 20
Views: 9062

Please find the routine as below :

Code: Select all

$INCLUDE DSINCLUDE JOBCONTROL.H

jobname= ""

jobname = DSGetJobInfo(DSJ.ME,DSJ.JOBNAME)
Call DSLogInfo("Calling job name ", jobname)

ErrorCode = 0
I am getting Job name as null.
by subhasis.raha
Fri Sep 05, 2014 10:08 am
Forum: General
Topic: Job Information required in before subRoutine
Replies: 20
Views: 9062

Could you please let me know what is not valid in the below statement :

jobname = DSGetJobInfo(DSJ.ME, DSJ.JOBNAME)
by subhasis.raha
Fri Sep 05, 2014 9:27 am
Forum: General
Topic: Job Information required in before subRoutine
Replies: 20
Views: 9062

Sorry , I used the following command :

jobname = DSGetJobInfo(DSJ.ME, DSJ.JOBNAME)

Kindly let me know the link where from I can get the information.
by subhasis.raha
Fri Sep 05, 2014 9:07 am
Forum: General
Topic: Job Information required in before subRoutine
Replies: 20
Views: 9062

I tried to get the job name information as below :

jobName = DSGetJobInfo( DSJ.ME,JOBNAME )


I need the job in the before sub routine .

When before subroutine is getting called , that time the job has not been started, is this the reason that I am not getting the job information ?
by subhasis.raha
Fri Sep 05, 2014 7:32 am
Forum: General
Topic: Job Information required in before subRoutine
Replies: 20
Views: 9062

Yes.

I have tried with the same option what you described, but I am not able to get the valid job name.

Job name is coming as null.
by subhasis.raha
Fri Sep 05, 2014 1:40 am
Forum: General
Topic: Job Information required in before subRoutine
Replies: 20
Views: 9062

I have tried DSJ.ME , to get the job name detail but not able to find the job name , I want the job name in Before sub routine ( the job which is attached with before sub routine )
by subhasis.raha
Thu Sep 04, 2014 3:55 am
Forum: General
Topic: Job Information required in before subRoutine
Replies: 20
Views: 9062

Job Information required in before subRoutine

Hi All,

How Can I get the information of a calling job in Before Sub Routine.

example , if I am running job A,
This Job A is got attached with a before Subroutine and through this subroutine how can I get the information of the calling job (JOB A).


Kindly help me out.