How to use CFF to unpack the packed data from Mainframe sys

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
jojipjohn
Participant
Posts: 52
Joined: Wed May 17, 2006 3:40 am
Location: India

How to use CFF to unpack the packed data from Mainframe sys

Post by jojipjohn »

Hi,

I tried using CFF to convert a packed data type, but could not find a place to specify this. The pdf file in docs does not say any thing about this.
Can someone please help me in this.
Joji John
thurmy34
Premium Member
Premium Member
Posts: 198
Joined: Fri Mar 31, 2006 8:27 am
Location: Paris

Post by thurmy34 »

Hi
Is the packed data type is the same than the group data type ?
I don't see this data type in the CFF.

Can you give an example of your copybook?
vmcburney
Participant
Posts: 3593
Joined: Thu Jan 23, 2003 5:25 pm
Location: Australia, Melbourne
Contact:

Post by vmcburney »

You need a copybook that defines the structure of the file, you then use the CFF importer to read this copybook and turn it into a complex flat file table definition. The data can then be read by the CFF stage and the complex structure flattened into a relational structure. Unpacking of fields will happen once the correct definition has been imported.
Post Reply