JezT,
either your data is wrong or your PICture clauses are. The PIC 9 datatype is not packed, it is essentially a CHAR field that contains only digits. Are you doing the EBCDIC to ASCII conversion?
Search found 15603 matches
- Fri Jul 15, 2005 5:08 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Zoned Decimal Fields
- Replies: 9
- Views: 3723
- Fri Jul 15, 2005 3:49 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Zoned Decimal Fields
- Replies: 9
- Views: 3723
JezT, that is not exactly what you need to know --> from what language is this field being written and what is the definition of that field in that language. This is kind of like a Rosetta Stone for data... Once the data type is known you can either use a built-in DS function to decode it or use tho...
- Fri Jul 15, 2005 3:33 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Ouput from an ExecSh-run script as input to a job
- Replies: 9
- Views: 6645
If you are sure that you are only outputing the one string from your shell script, then EREPLACE(@FM,'',TRIM(Output)) should do it; this replaces all occurrences of the @FM (field mark) with empty -> any cr/lf in the returned string are representing as a field mark; and this also messes up the DataS...
- Fri Jul 15, 2005 3:31 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Zoned Decimal Fields
- Replies: 9
- Views: 3723
- Fri Jul 15, 2005 3:13 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Ouput from an ExecSh-run script as input to a job
- Replies: 9
- Views: 6645
Oli, what data type did you declare this parameter to be? And the output of the execute command will have more than just the one value, it will have a number of field-marks (which are the carriage returns and line feeds in the output) that you need to strip out in order to get a single string; did y...
- Fri Jul 15, 2005 3:11 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Error while installing DataStage Server
- Replies: 9
- Views: 4695
- Fri Jul 15, 2005 2:27 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Ouput from an ExecSh-run script as input to a job
- Replies: 9
- Views: 6645
When you Execute a shell you actually have 2 return values, one is the return code (0 if successful) and the other is the contents of the standard output. Because ExecSh is a before/after subroutine it only returns the contents of the system return code. You should use the Call DSExecute("UNIX", {Yo...
- Fri Jul 15, 2005 2:21 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: get all jobs from a workflow.
- Replies: 5
- Views: 1406
- Fri Jul 15, 2005 2:15 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Zoned Decimal Fields
- Replies: 9
- Views: 3723
- Fri Jul 15, 2005 1:45 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: get all jobs from a workflow.
- Replies: 5
- Views: 1406
Good morning Jasper, most of what you would like to do is available in different places within DataStage. Since yo mention "script" I will assume you want to get all of this from somewhere outside of DataStage, so your main source will be variations on the unix "dsjob" command to get the log entries...
- Wed Jul 13, 2005 10:39 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: How different are user defined SQL and the generated SQL
- Replies: 12
- Views: 4215
- Wed Jul 13, 2005 9:58 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: ENV variables
- Replies: 3
- Views: 1022
See FAQ post about ENVironment variables for information about environment variables - including encrypted ones at 7.5
- Wed Jul 13, 2005 7:44 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Job Sequence
- Replies: 17
- Views: 3402
- Wed Jul 13, 2005 7:12 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Base64 Encoding
- Replies: 27
- Views: 10449
- Wed Jul 13, 2005 7:01 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Base64 Encoding
- Replies: 27
- Views: 10449
Craig, there is a whole GCI guide available on IBM's pages (see Universe GCI Guide PDF ). You can define C (or any other language that uses the appropriate pointer to string datatype) library routines to be callable as if they were UniVerse functions; it takes a bit of work to get set up correctly b...