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.

PlugRC<br />

*Restricciones:<br />

1. Este atributo no está soportado en las aplicaciones Java.<br />

2. Este atributo sólo se aplica a los conectores escritos en <strong>VisualAge</strong> <strong>RPG</strong>.<br />

Obtiene el código de retorno del último mandato del conector.<br />

Tipo Numérico<br />

Se aplica a los componentes<br />

*Component<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 code = %getatr('*component': '*component':<br />

C<br />

*<br />

'PlugRC')<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 '*component' GETATR 'PLUGRC' code 2 0<br />

*<br />

338 <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!