Transformer not compiling due to link name!

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
asorrell
Posts: 1707
Joined: Fri Apr 04, 2003 2:00 pm
Location: Colleyville, Texas

Transformer not compiling due to link name!

Post by asorrell »

Just worked for an hour trying to diagnose a strange problem where a transformer would not compile, and kept failing with these two errors:

##W IIS-DSEE-TFTM-00012 10:46:02(011) <transform> Error when checking composite operator: The number of reject datasets "0" is less than the number of input datasets "1".
##E IIS-DSEE-TFPS-00027 10:46:02(012) <transform> Error when checking composite operator: Expected an operand; [line 22, character 18].

It was issuing the second error for every single line in the transformer.

Myself and another co-worker looked at it for an hour and kept stripping it apart and it would not compile.

Finally my co-worker figured it out. The link leading into the transformer was called Record and apparently that was triggering some sort of reserved word problem with the compiler.

We changed the link to ln_Record and the transformer compiled...

Posting just in case it saves someone else down the road...

Doh!
Andy Sorrell
Certified DataStage Consultant
IBM Analytics Champion 2009 - 2020
FranklinE
Premium Member
Premium Member
Posts: 739
Joined: Tue Nov 25, 2008 2:19 pm
Location: Malvern, PA

Post by FranklinE »

In my first Cobol job, I was faced with a long If statement -- 4 pages worth when printed -- which was failing, and no clue where.

I took the printout to a conference room table, used multi-colored pens to carefully chart the various Ifs, Elses and Thens, and after 3 hours was ready to break something.

A colleague came in, looked at it, and found it in 30 seconds: a period embedded in the code which caused the following lines to be skipped.

Raise a toast to needing a genius to see the obvious, and to those who do things to make that necessity happen. :lol:
Franklin Evans
"Shared pain is lessened, shared joy increased. Thus do we refute entropy." -- Spider Robinson

Using mainframe data FAQ: viewtopic.php?t=143596 Using CFF FAQ: viewtopic.php?t=157872
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

It's often the janitor who can spot the obvious.

(Like leaving the final period off STOP RUN which I did once.)
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