CFF stage

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
mydsworld
Participant
Posts: 321
Joined: Thu Sep 07, 2006 3:55 am

CFF stage

Post by mydsworld »

Hi,

Please let me know why we use CFF stage.

1. Is it for handling file with different metadata.
2. What's Level numbers, can we assign them arbitrarily. For example :

01 Corporation
02 HeadOffice KY
03 Bob Employee Lexinton

...
...

3. I can not import a COBOL file definition using file shown above.

Please advise.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

A COBOL file definition (FD) contains "the file shown above". Therefore it's no surprise you can't import it using the file shown above.

When importing a COBOL FD you must specify the start position of the "A margin" - of the level 01 item(s).

What error are you getting when trying to import a COBOL FD?

CFF stage has a number of uses, including handling multi-level data, unpacking OCCURS data, translation from EBCDIC, unpacking packed decimals, to name a few.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
mydsworld
Participant
Posts: 321
Joined: Thu Sep 07, 2006 3:55 am

Post by mydsworld »

When I try to import the COBOL file definition I get the error :

'File contains no table definition (01 level is not found)'
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Determine in which column the level 01 item appears and fill in this value during the import. Its default value is 8. It appears that your COBOL FD has its A margin in a different column number.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply