Search found 40 matches

by chandu123
Wed Oct 12, 2016 4:43 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Running SQL statements in datastage
Replies: 7
Views: 7836

Running SQL statements in datastage

I want create a table and load the data from another table on the same database. Hence I am planning to run SQL query as below. Which stage or method should I use to perform this? Please suggest.

Create table Table1 as (Select * from Table2);
by chandu123
Tue Oct 11, 2016 4:10 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sequential file stage error
Replies: 4
Views: 3429

yes it is the same issue. I tried to achieve it in a different way and got different error. Now I have logged ticket with the support. Will update the outcome here!
by chandu123
Fri Oct 07, 2016 12:59 pm
Forum: General
Topic: Datastage job not running as ISUSER=dsadm
Replies: 1
Views: 1675

Datastage job not running as ISUSER=dsadm

My Datastage job is not running under dsadm user. Instead it is running with my userid. How can I change it to run with USUSER=dsadm?
by chandu123
Fri Oct 07, 2016 11:58 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sequential file stage error
Replies: 4
Views: 3429

Sequential file stage error

I am getting this error while trying read files from a network location in sequential file stage. I am not able to figure out if this issue is related to the credential mappings and engine credential setup for dsadm or if the issue with access to files? Please advise. Filename: `ls -name Historical ...
by chandu123
Wed Oct 05, 2016 5:37 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reading multiple files from network using Sequential stage
Replies: 21
Views: 11220

Yes i have changed the method to File Pattern and also set the environment variable to read File pattern as file set. Below are the warnings: Sequential_File_0: When checking operator: No files found for pattern. Sequential_File_0: When checking operator: Fileset C:/Windows/TEMP/import_tmp_91445e0be...
by chandu123
Wed Oct 05, 2016 5:26 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reading multiple files from network using Sequential stage
Replies: 21
Views: 11220

The file names which I mentioned in my previous post without spaces are the short names of the files which I got them using this command in cmd line: cmd /c for %A in ("\\pd4p-ccbv-w01\d$\Cognos\Data Manager\Source csv Files\FC Units Shipped\Historical Volumes*.csv") do @echo %~sA Coming t...
by chandu123
Wed Oct 05, 2016 5:05 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reading multiple files from network using Sequential stage
Replies: 21
Views: 11220

I tried ls on command line as mentioned above and it listed all the files in the directory and they are: //pd4p-ccbv-w01/d$/Cognos/DATAMA~1/SOURCE~1/FCUNIT~1/Historical Volumes-APR-14.csv //pd4p-ccbv-w01/d$/Cognos/DATAMA~1/SOURCE~1/FCUNIT~1/Historical Volumes-AUG-13.csv //pd4p-ccbv-w01/d$/Cognos/DAT...
by chandu123
Wed Oct 05, 2016 4:50 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reading multiple files from network using Sequential stage
Replies: 21
Views: 11220

I tried the above one and got the same message. I wonder if there some issue with the Datastage itself when reading FilePattern from network location? Since I am able to read single file successfully but not FilePattern.
by chandu123
Wed Oct 05, 2016 4:39 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reading multiple files from network using Sequential stage
Replies: 21
Views: 11220

I forgot to mention that I tried Sura's suggested format of adding quotes and it didn't work. Thanks for sharing me about 8.3 filename. I found though command line query that the short names for the files are something like this. \\pd4p-ccbv-w01\d$\Cognos\DATAMA~1\SOURCE~1\FCUNIT~1\HISTOR~1.CSV \\pd...
by chandu123
Wed Oct 05, 2016 3:33 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reading multiple files from network using Sequential stage
Replies: 21
Views: 11220

I also tried putting the file path in the parameter and using it which made no difference.

#FilePath#\Historical Volumes*.csv
by chandu123
Wed Oct 05, 2016 3:32 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reading multiple files from network using Sequential stage
Replies: 21
Views: 11220

I tried using below formats and still didn't work. //pd4p-ccbv-w01/d$/Cognos/Data Manager/Historical Volumes*.csv '//pd4p-ccbv-w01/d$/Cognos/Data Manager/Historical Volumes'*.csv '//pd4p-ccbv-w01/d$/Cognos/Data Manager/Historical Volumes*.csv' "//pd4p-ccbv-w01/d$/Cognos/Data Manager/Historical ...
by chandu123
Mon Oct 03, 2016 4:07 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reading multiple files from network using Sequential stage
Replies: 21
Views: 11220

I am able to access single file using sequential stage but not multiple files using File Pattern method. This makes me feel like there is no issue with the access to the directory on the network.
by chandu123
Thu Sep 29, 2016 4:28 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reading multiple files from network using Sequential stage
Replies: 21
Views: 11220

Reading multiple files from network using Sequential stage

I am trying to read multiple files from a network location (not on the same server where the Datastage is installed). I am using sequential file stage: File Pattern: //pd4p-ccbv-w01/d$/Cognos/Historical Volumes*.csv Read Method: File Pattern But it is returning 0 records. I read in the forum that fi...
by chandu123
Mon Sep 26, 2016 6:52 pm
Forum: General
Topic: Error using the User variables parameters in the job
Replies: 5
Views: 3140

My SQL is "Select #Var1# as Variable1 from dual;" where Var1 is the job parameter (derived from User variable activity). Can't we use job parameter in select SQL?
by chandu123
Mon Sep 26, 2016 5:43 pm
Forum: General
Topic: Error using the User variables parameters in the job
Replies: 5
Views: 3140

Error using the User variables parameters in the job

My sequence has User variables activity followed by a Job Activity. I have set the job parameter of the Job activity using User variable set in the previous step. Var1 = UserVariables_Activity_1.Var1 I am using this variable in the source sql of the job as below: Select #Var1# as Variable1 from dual...