08.05.2013 Views

VisualAge RPG Parts Reference - IBM

VisualAge RPG Parts Reference - IBM

VisualAge RPG Parts Reference - IBM

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

ColumnLen<br />

Devuelve la longitud definida de una columna específica de una tabla. Establezca<br />

el atributo Column antes de utilizar este atributo.<br />

Tipo Numérico<br />

Se aplica a los componentes<br />

Interfaz ODBC/JDBC<br />

Códigos de operación<br />

SETATR<br />

Operativo en tiempo de ejecución<br />

no<br />

GETATR sí<br />

Ejemplo de formato libre<br />

*...1....+....2....+....3....+....4....+....5....+....6....+....7....+....8<br />

CSRN01Factor1+++++++Opcode(E)+Factor2+++++++Result++++++++Len++D+HiLoEq----<br />

*<br />

C EVAL Len=%getatr('win01':'ODBC1':'ColumnLen')<br />

*<br />

Ejemplo de formato fijo<br />

*...1....+....2....+....3....+....4....+....5....+....6....+....7....+....8<br />

CSRN01Factor1+++++++Opcode(E)+Factor2+++++++Result++++++++Len++D+HiLoEq----<br />

*<br />

C 'ODBC1' GETATR 'COLUMNLEN' LEN<br />

*<br />

134 <strong>VisualAge</strong> <strong>RPG</strong> Manual de consulta de componentes

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!