Dear Community,
I tried the following:
- define PL/I alias e.g. "define alias t_date char(10)"
- use those types for all kind of variables and structs e.g. "dcl 1 table_foo, 2 start_date type t_date, 2 amount .... "
Unfortunatelly the compiler gives me a "IBM3888I The reference start_date has no corresponding DB2 type" which is on the one hand understandable, on the other hand a bit harsh :-).
Any suggestions how to deal with the situation? I know i can just remove the alias and switch back to native char(10) but i enjoy having "domain specific aliases" for better readability etc..
thanks in advance, johann
woecki