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);
Search found 40 matches
- 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
- 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
- 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?
- 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 ...
- 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...
- 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
- 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...
- 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
- 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...
- 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
- 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
- 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
- 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...
- Mon Sep 26, 2016 6:52 pm
- Forum: General
- Topic: Error using the User variables parameters in the job
- Replies: 5
- Views: 3140
- 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...