How strange. Can you please try using Char instead of VarChar for the length?
record
{final_delim=end, delim=none}
(
RecNum:string[18];
RecLength:string[3];
Other:string[max=50];
)
Search found 53125 matches
- Tue Jul 29, 2008 4:46 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Read sequential variable length file
- Replies: 5
- Views: 2514
- Tue Jul 29, 2008 4:38 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Abnormal Stage Termination error *Unique*
- Replies: 12
- Views: 2570
In Administrator client command window SELECT NAME,JOBNO FROM DS_JOBS WHERE NAME = 'InsCpsClaimAdj'; That will give you the job number. On the server look in a directory called RT_BPnnn, where nnn is that job number. A file whose name ends in TRANSnn is the source code generated by the Transformer s...
- Tue Jul 29, 2008 4:32 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: How to abort a job from back end process
- Replies: 8
- Views: 2537
- Tue Jul 29, 2008 4:30 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: return error code with deffun fucntion ?
- Replies: 8
- Views: 2496
You require line number 3 of the output.
(The arithmetic removes leading/trailing space.)
Code: Select all
OutputExploitable = Output<3> + 0(The arithmetic removes leading/trailing space.)
- Tue Jul 29, 2008 4:25 pm
- Forum: General
- Topic: Purchased Premium Membership
- Replies: 4
- Views: 2103
- Tue Jul 29, 2008 3:07 am
- Forum: General
- Topic: client and server connection Set up
- Replies: 5
- Views: 2344
Welcome aboard. You connect initially to IBM Information Server, by specifying the name of the machine where that server is installed and its port number (usually 9080). Your authentication (user ID and password) are processed by IBM Information Server. If successful, the client connection dialog's ...
- Mon Jul 28, 2008 10:43 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Command execute activity
- Replies: 12
- Views: 4056
What you get back from wc is the result followed by a newline.
When this comes into DataStage, the newline is converted into a field mark.
You need to trim the field mark or extract the field from the returned dynamic array.
When this comes into DataStage, the newline is converted into a field mark.
You need to trim the field mark or extract the field from the returned dynamic array.
Code: Select all
Trim(ECActivity.$CommandOutput,@FM,"T")- Mon Jul 28, 2008 7:43 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Importing table definition via ODBC
- Replies: 4
- Views: 4239
- Mon Jul 28, 2008 7:42 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: output from hashed file
- Replies: 47
- Views: 11788
Select * means that you will get the default column widths. LIST.DICT hashedfile will give you a "file dictionary" (table definition) listing. You can get the column names from that - anything with a type "D" or "I" can be used in a SELECT query. "15L" decodes as 15 characters wide, left justified. ...
- Mon Jul 28, 2008 6:13 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: HASH Function?
- Replies: 5
- Views: 5492
- Mon Jul 28, 2008 6:12 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Warning at Source
- Replies: 4
- Views: 1212
- Mon Jul 28, 2008 6:10 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Poor performance on Sunfire T2000
- Replies: 2
- Views: 1199
Welcome aboard. Define "performance" in an ETL context. What measurements are you taking about resource consumption? DataStage starts processes. Allocation of those processes to CPUs is a function of the operating system. Eight cores should theoretically be the same as eight single-core CPUs in stan...
- Mon Jul 28, 2008 6:06 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: output from hashed file
- Replies: 47
- Views: 11788
- Mon Jul 28, 2008 4:36 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: output from hashed file
- Replies: 47
- Views: 11788
Code: Select all
cd $ProjectDir
. ${DSHOME}/dsenv
${DSHOME}/bin/dssh "SELECT @ID FMT '15L', F1 FMT '15L', F2 FMT '15L' FROM hashedfile;"- Mon Jul 28, 2008 4:24 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: output from hashed file
- Replies: 47
- Views: 11788
Get the metadata correct, or use command line overrides to get the display widths sufficiently large.
Code: Select all
SELECT @ID FMT '15L', F1 FMT '15L', F2 FMT '15L' FROM hashedfile;