Hi, we have a requirement to create a CFF files that needs to go up to the MF, and in the file there needs to be an ODO. We are able to read MF files with ODO's on the inputs but now we need to create them on the output. I had read that this is not supported in the CFF stage. Does anyone know if this can be done either thru the CFF stage or another way?
thanks
CFF Output Files with Occurs
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
As you've found, writing to an occurs-depending-on using CFF isn't supported. While you could use a transform stage to "build" your variable-length Output record or perhaps use the make-vector stage, I think it might be easiest to define a fixed-occurrence OCCURS and fill the unused elements with a character value that cannot appear the file, then post-process the line (using sed or perl or awk or tr) and removing all occurrences of that character. That will effectively give you the same Thing as you would have gotten with a real occurs-depending-on.
<a href=http://www.worldcommunitygrid.org/team/ ... TZ9H4CGVP1 target="WCGWin">
</a>
</a>