Esta lista contém limitações do suporte à linguagem PL/I em aplicativos J2C:
O uso de REFER será simple se:
A seguir estão os exemplos de estruturas PL/I simples:
dcl
1 nc1 based,
2 ne bin fixed(15),
2 nx1 char( nc refer(ne) );
dcl
1 nc2 based,
2 ne bin fixed(15),
2 nf bin fixed(15),
2 nx2( nc refer(ne) ) char( nd refer(nf) );
dcl
1 nc3 based,
2 ne bin fixed(15),
2 nx3( nc refer (ne) , 2 ),
3 nb1 char(4),
3 nb2 char(6);
Se o arquivo de origem contiver COMPLEX REFER (que não é um SIMPLE REFER), a estrutura de dados com referência complexa não aparecerá.
DCL 01
CHANNEL_OUTPUT,
02 CHINVENTORYLIST DIMENSION(500),
03 CHVIN CHARACTER(4),
03 CHYEAR CHARACTER(4),
03 CHMODEL CHARACTER(20),
03 CHCOLOR CHARACTER(32),
03 CHCOND CHARACTER(4),
03 CHPRICE CHARACTER(10),
02 CHMESSAGE CHARACTER(60);