Page 1 of 1

CFF stage

Posted: Mon Apr 28, 2008 2:36 pm
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.

Posted: Mon Apr 28, 2008 4:53 pm
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.

Posted: Mon Apr 28, 2008 6:36 pm
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)'

Posted: Mon Apr 28, 2008 7:08 pm
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.