Search found 22 matches

by s_avneet
Thu Dec 15, 2016 5:36 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DataStage File Partition
Replies: 2
Views: 3565

DataStage File Partition

Hi All.

I am running a parallel job with the stages as below:

SeqFileIn -> Xfrm -> SeqFileOut

I want to preserve the order of records as per the source file. Our APT_Config_File is having two nodes.

is there a way i can maintain the order?
by s_avneet
Fri Nov 25, 2016 4:04 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Access remote file from Sequential Stage
Replies: 5
Views: 6156

Any pointers how do i mount?
by s_avneet
Thu Nov 24, 2016 10:24 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Access remote file from Sequential Stage
Replies: 5
Views: 6156

Access remote file from Sequential Stage

Hi ALL. I am trying to access a file from remote server using seq file stage. The remote location is a shared folder and dsadm user has been granted access to the drive. i can access the shared drive through putty using dsadm creds, but not able to access it from my job, i tried to hard code //ip/pa...
by s_avneet
Wed Nov 23, 2016 8:26 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Setting Constraints on DataStage Xfrm
Replies: 8
Views: 6566

I agree to what you are saying, it was just one of those tests we stumbled upon.

I am gonna suggest to remove the length completely and then constrain it in the constraint defined.

Thanks a lot!!
by s_avneet
Wed Nov 23, 2016 8:05 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Setting Constraints on DataStage Xfrm
Replies: 8
Views: 6566

That is because the length has been defined as per data contracts with source and target applications.

The testing team has raised this as a risk as the values are truncated in case longer strings are passed. Hence trying to find a workaround.
by s_avneet
Wed Nov 23, 2016 7:58 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Setting Constraints on DataStage Xfrm
Replies: 8
Views: 6566

Its getting truncated at the input itself.

So is there a way i can handle this??
by s_avneet
Wed Nov 23, 2016 7:42 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Setting Constraints on DataStage Xfrm
Replies: 8
Views: 6566

I cannot increase the length of the field. it is 20 on both sides(input and output).

Will the data be truncated at the input sequential file stage itself?? or it is truncated in the transformer stage?
by s_avneet
Wed Nov 23, 2016 7:32 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Setting Constraints on DataStage Xfrm
Replies: 8
Views: 6566

Setting Constraints on DataStage Xfrm

Hi All. I have defined a constraint for one of the columns STR, which is varchar of length 20. Output Link Name : linkl1 Constraint : Len(lnk_payload_in.STR) <=20 I have set another output link linkl2 , in which i have checked the box otherwise/log. Output Link Name: linkl2 Constraint : Otherwise/Lo...
by s_avneet
Tue Nov 22, 2016 7:02 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DataBase transaction control
Replies: 1
Views: 3058

DataBase transaction control

Hello All.

I am writing records into SQL Server DB from a file. How can i achieve the transaction control?

For me, even if a single record in the payload file fails, the entire transaction needs to be rolled back.

Is there a way i can achieve this??
by s_avneet
Thu Nov 17, 2016 8:19 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How can I reject fields that exceed length?
Replies: 4
Views: 5052

Ok got your point.

Does it also display the same behavior with the number of records?

So i am creating a file with 10 records comma separated, i am passing 12 records, it does not fail, just truncates the record..

I thought DS has strict validation rules.
by s_avneet
Wed Nov 16, 2016 5:10 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How can I reject fields that exceed length?
Replies: 4
Views: 5052

How can I reject fields that exceed length?

I have a column(varchar) of length 20, if i pass a string of 25 characters, it trims the record but it lets it pass through with a warning.

How do i reject the record, if the length is greater than specified? Is there a global setting or do i need to apply a check field by field??
by s_avneet
Tue Nov 15, 2016 9:13 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Nullable Property in columns
Replies: 3
Views: 3326

Nullable Property in columns

Hi All. Will DataStage not throw an error if a columns is set to Nullable = no is passed with a blank value?? I have set the Columns to Nullable = No in the column properties for both In and Out seq file. On passing a blank value in one of the columns, it does not fail the record. What i expected wa...
by s_avneet
Thu Nov 03, 2016 8:43 am
Forum: General
Topic: Reading from a remote directory in Sequence Job
Replies: 2
Views: 1659

Reading from a remote directory in Sequence Job

Hi All. We have a requirement to read the incoming files from a folder. This folder is not local to DataStage server, but resides on the source application system server ( on a Windows server). DataStage is running on a Linux server. I want to know if i can access the server from a sequence job?? An...
by s_avneet
Mon Oct 31, 2016 8:36 am
Forum: General
Topic: Common Audit Component
Replies: 4
Views: 2235

Yes.
by s_avneet
Mon Oct 31, 2016 3:33 am
Forum: General
Topic: Common Audit Component
Replies: 4
Views: 2235

Common Audit Component

Hi All. We have a requirement where we need to write a common Audit component, This will capture the details about the interface run, like start time, end time, status, some other operational data etc. The operational data is to be written to a Message Queue in the form of XML message and the data i...