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.

CharData<br />

Devuelve el texto de tipo carácter para una columna específica de un conjunto de<br />

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

Tipo Serie<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 ColData=%getatr('win01':'ODBC1':'CharData')<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 'CHARDATA' COLDATA<br />

*<br />

Capítulo 2. Atributos de componente 109

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

Saved successfully!

Ooh no, something went wrong!