Search found 79 matches

by suja.somu
Thu Aug 01, 2013 1:29 pm
Forum: General
Topic: Delete statement in Execute command stage
Replies: 7
Views: 2618

Delete statement in Execute command stage

I have a requirement to delete a table in Sql server after a job finishes successfully.

I can do this with execute command stage.

Can anyone help with the syntax of the connection details. i tried the below it does not work

delete from Datamart.dbo.sample ;| userid/pwd@servername
by suja.somu
Mon Jun 10, 2013 7:17 am
Forum: General
Topic: Command activity checking for a file pattern
Replies: 2
Views: 1328

Command activity checking for a file pattern

Datastage PX version 8.5 on windows(MKS installed): I have the same scenario to implement as noted here. Step2 in the previous post: "2. Exec command activity checking for a file pattern using a if condition. If file found print 'Found' else sleep for some seconds. " I tried the below comm...
by suja.somu
Wed May 29, 2013 4:10 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Header Record Validation in a fixed width file
Replies: 11
Views: 6459

For this scenario, below job design works fine. the properties are in verison 8.5. seq file stage1---->Col Gen dummy-->Join On dummy(inner join) ---->Transf---->(seq file output stage1,seq file output stage2) seq file stage2---->Col Gen Dummy---> Seq file stage1 : to read the detail records ( specif...
by suja.somu
Fri May 17, 2013 2:28 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Timestamp conversion error
Replies: 2
Views: 2600

Timestamp conversion error

Source is csv file with the data format as 3/30/2013 09:04:05, reading as varchar(26) . Target is sql server database with datetime datatype . function used StringToTimestamp(Lnk_MapTargetColumns.Date_Received,"mm/%dd/%yyyy %hh:%nn:%ss") getting the below error: APT_CombinedOperatorControl...
by suja.somu
Tue Apr 02, 2013 10:00 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: What is possible with FTP enterprise Stage
Replies: 3
Views: 1476

Can DataStage gurus focus on this topic? Need your expertise please.
by suja.somu
Mon Apr 01, 2013 8:49 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: What is possible with FTP enterprise Stage
Replies: 3
Views: 1476

The Manual says "The FTP Enterprise stage transfers multiple files in parallel. " .

I am able to connect only one input link to FTP enterprise stage.

Does FTP enterprise stage does FTP only 1 file ? What is that meant in the manual.

Can anyone help me in this?
by suja.somu
Mon Apr 01, 2013 3:59 pm
Forum: General
Topic: How can I check if MKS Toolkit is installed?
Replies: 3
Views: 1639

Thanks Ray. It works.
by suja.somu
Mon Apr 01, 2013 3:53 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Multi Instance job log message
Replies: 7
Views: 3384

Thanks a lot for all your help. I am marking this post as Resolved
by suja.somu
Mon Apr 01, 2013 3:52 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: FTP to Mainframe-Invalid Dataset Error-FTP Enterprise Stage
Replies: 3
Views: 4461

Thanks Frank.

I corrected the syntax error in the URI

from
URI = ftp://10.251.245.1/\'TB190S.MAIN.CPEAR\'

to
URI = ftp://10.251.245.1/'TB190S.MAIN.CPEAR'

and this solved the problem.
by suja.somu
Mon Apr 01, 2013 3:16 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Open commands in SQL Server Enterprise Stage
Replies: 5
Views: 2823

--- Continuation to the previous post


I did " delete table " in before sql and then insert into table.
by suja.somu
Mon Apr 01, 2013 3:15 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Open commands in SQL Server Enterprise Stage
Replies: 5
Views: 2823

I used an ODBC connector stage instead of SQL server enterprise stage , to acheive this delete table request in run before SQL comand and then
by suja.somu
Mon Apr 01, 2013 11:04 am
Forum: General
Topic: Jobno and Wave# from Job
Replies: 3
Views: 3604

Jobno and Wave# from Job

From the Job status detail window of the director. There is Job no and wave# alogn with other details like Project, Server and Status.

What is this Job No and Wave # ? How can I extract this information from Job ?
by suja.somu
Mon Apr 01, 2013 9:25 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: What is possible with FTP enterprise Stage
Replies: 3
Views: 1476

What is possible with FTP enterprise Stage

I need FTP 3 files to Mainframes. The job runs on Datastage V8.5 on windows. Can I use only one FTP enterprise stage, to FTP all 3 files ? Is Wild card match possible. Is there any possibility of getting the success or failure message or return codes for the FTP process ? a) success message for all ...
by suja.somu
Thu Mar 28, 2013 9:16 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Open commands in SQL Server Enterprise Stage
Replies: 5
Views: 2823

Firstly, truncate table commands can be executed only by the owner. So the DBA's are reluctant to grant the owner privilege for the Datastage user. Secondly, there is a reference for Foreign key to this table. So Truncate table command cannot be used in this case. What is the best alternative for th...
by suja.somu
Thu Mar 21, 2013 12:23 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Trying to read fixed length flat file from IBM on Linux box
Replies: 5
Views: 2408

Could you post the structure of the fixed width flat file along with sample data ?