Posted: Sun Jan 07, 2007 2:43 pm
I would expect, given that it's mainframe data, that you can get the COBOL FD from them - and you (or someone else) would probably have imported the table definitions into DataStage Repository from it.
A short text to describe your forum
http://dsxchange.com./
I have manually imported the table defs into the repository. Please go to this topic to see more about it. viewtopic.php?t=106474ray.wurlod wrote:I would expect, given that it's mainframe data, that you can get the COBOL FD from them - and you (or someone else) would probably have imported the table definitions into DataStage Repository from it.
I created the table defs from the following info.ray.wurlod wrote:Manually, OK, but from where?!!
Somewhere there exists documentation, almost certainly in COBOL FD format, of what the COBOL program works with.
AN- alphanumericray.wurlod wrote:I presume the numeric piece is width (number of character positions within the file), but what do "AN", "BI", "NUM" and "P" mean?
Code: Select all
01 BIG_RECORD.
05 FIELD_ONE PIC S(9)V99 COMP-3.
05 FIELD_TWO PIC X(4).
chulett wrote:There are weeks when you don't wear your DataStage hat?[/boggle] Say it ain't so!
Never really played much with the CFF stage or I'd give it a shot. Would have been nice to get a proper COBOL FD posted. Just4, no-one gave you anything with levels and proper COBOL field definitions in it? Anything goofy like:
Yes, no, maybe so? That's what would be most helpful here.Code: Select all
01 BIG_RECORD. 05 FIELD_ONE PIC S(9)V99 COMP-3. 05 FIELD_TWO PIC X(4).
Code: Select all
FD PAYMENT-FILE
LABEL RECORDS ARE OMITTED.
*
01 PAYMENT-RECORD.
05 ACCOUNTS.
10 MONTHLY-PAYMENT
PICTURE IS 9(6)V99
USAGE IS COMP-3
OCCURS 1 TO 12 TIMES DEPENDING ON CURRENT-MONTH.
10 CUSTOMER-INFO.
15 NAME.
20 FIRST PIC X(30).
20 MI PIC X(1).
20 LAST PIC X(30).
15 ADDRESS PIC X(80).
05 LEDGER.
07 BALANCE-INFO OCCURS 4 TIMES.
10 RCVBLE.
15 LAST-AMOUNT-PAID PIC 9(4)V99
COMP-3.
15 PAYMENT-DATE USAGE DISPLAY
PIC XXXXXX.
15 REMAINING-BALANCE PIC 9(4)V99
USAGE
COMP-3.
I also have UniVerse and Red Brick hats. See my web site.chulett wrote:There are weeks when you don't wear your DataStage hat?[/boggle] Say it ain't so!
I know... just figured you wore them all at the same time.ray.wurlod wrote:I also have UniVerse and Red Brick hats. See my web site.