Search found 531 matches

by prasson_ibm
Thu Jun 19, 2014 11:15 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reading MQ messages in MQHRF2 message format in DS
Replies: 3
Views: 4467

Can you please help us how can we read MQRFH2 message body without header using MQ connector stage.
by prasson_ibm
Thu Jun 19, 2014 1:24 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: MQHRF2 header write using mq connector
Replies: 5
Views: 3845

I am still struggling with HRF2 header.

I am not able to understand what value should I put inside header column.
by prasson_ibm
Wed Jun 18, 2014 9:25 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: MQHRF2 header write using mq connector
Replies: 5
Views: 3845

Hi Guys,

Checking if anyone can help me.
by prasson_ibm
Tue Jun 17, 2014 11:51 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: MQHRF2 header write using mq connector
Replies: 5
Views: 3845

Message is not generated with rfh2 header.
by prasson_ibm
Tue Jun 17, 2014 11:01 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: MQHRF2 header write using mq connector
Replies: 5
Views: 3845

MQHRF2 header write using mq connector

Hii, I have a xml and I am trying to write to mq as mqrfh2 header format message, but its not writing properly :cry: I have defined below properties in mq connector stage: 1. Defined format type as MQHRF2 2.defined an extra column name format , varbinary and selected data element as WSMQ.FORMATHEADE...
by prasson_ibm
Mon Jun 16, 2014 9:33 am
Forum: General
Topic: command line trigger for job
Replies: 11
Views: 5850

Hi, Yes i have tested with non exisence job,it goes to last part of case statement and it displays genric message in that case statement and exit from script with return code 100. sh test_script1.sh QA ValidTest #######Pre validation to check previous status of job run###############################...
by prasson_ibm
Mon Jun 16, 2014 8:43 am
Forum: General
Topic: command line trigger for job
Replies: 11
Views: 5850

Hi, I have written below code to check the pre status of job and rerun job. JOBSTATUS=`${EngineDir}/bin/dsjob -authfile /home/dsadm/pras/AuthFile.txt -jobinfo ${ProjName} ${JobName} 2>/dev/null|grep "Job Status"|cut -d':' -f2|cut -d'(' -f2|cut -d')' -f1` echo echo "#######Pre validati...
by prasson_ibm
Sat Jun 14, 2014 2:19 am
Forum: General
Topic: command line trigger for job
Replies: 11
Views: 5850

Hi,
How can we know from command line if job exists or not?
if job is not compiled, -jobinfo gives me error like cant open job, so how can I handle these two scenarios before running.
by prasson_ibm
Thu Jun 12, 2014 10:01 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: split data based on size in datastage
Replies: 7
Views: 3922

Hi,

This is what i exactly suggested,but my client is rigid,want to check the capebility of datastage :cry:
by prasson_ibm
Thu Jun 12, 2014 9:21 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: split data based on size in datastage
Replies: 7
Views: 3922

split data based on size in datastage

Hi,

Is there any way in datastage i can split the input file (eg 1 GB) based on size lets say 1 MB and create the multiple files.
by prasson_ibm
Thu Jun 12, 2014 12:15 am
Forum: General
Topic: command line trigger for job
Replies: 11
Views: 5850

command line trigger for job

Hi all, I have requirement where I need to trigger my job from enterprise scheduler. I am planning to design a wrapper shell scrip which is going to do below:- 1. Check the status of job (aborted, crashed, not compilter) 2.if 1 is true recompile and trigger a sequence 3. If 1 false trigger a job wit...
by prasson_ibm
Mon Jun 02, 2014 11:20 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: fixed file format is broken
Replies: 5
Views: 2144

Hi,
I have not defined anything in record delimiterr and my source file is only having new line.
When file is created on after processing I checked the length of file in unix using command.

Awk '{print length ($0)}' output file name

And its giving 17 but source file is 15
by prasson_ibm
Mon Jun 02, 2014 9:56 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: fixed file format is broken
Replies: 5
Views: 2144

fixed file format is broken

Hi, I have a job with source as sequential file (file format is fixed width) and after transformation i need to add one more column to this file at the end but file format need to be same as it is in source,but it seems datastage is adding some sapce somewhere in file.So i am trying to do below test...
by prasson_ibm
Thu May 22, 2014 8:27 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error while compiling custom operator code
Replies: 8
Views: 3256

Hi, Thanks for your help. Now i am getting below error:- dsadm@ait-etl01dev:/home/dsadm/pras $ /usr/vacpp/bin/xlC_r -O -q64 -c -I/opt/IBM/InformationServer/Server/PXEngine/include myhelloworld.c -o myhelloworld_temp.o "/opt/IBM/InformationServer/Server/PXEngine/include/apt_util/ints.h", li...
by prasson_ibm
Thu May 22, 2014 5:09 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to generate text file for each input record
Replies: 5
Views: 3681

Hi,

The easiest way is to write a C++ external function and call in transformer.Input of the function will be file name and data.