La pregunta era mas bien si ocurría al revés, si mientras leía el cursor, 
desde otro programa se modificaban los datos, esto ultimo se reflejaba en 
los datos que obtenía en la lectura.

Ejemplo, si desde otro programa borran todos los registros de la selección 
que yo estaba leyendo, ¿sigo leyendo los registros previamente 
seleccionados, o me da fin de datos?

Gracias por contestar.

Pedro Pinedo Hernandez:  Analista-Programador 
Grupo Amcor Flexibles Hispania S.L. 
Departamento de Informática / IT Department 
tfno.:+34 941 28 60 90 - 941 03 01 39
fax: +34 941 03 01 39
Avd. Burgos 67-95
26006 Logroño Spain 
[email protected] 
(quitar nospam del dominio, para enviar) 




From:
[email protected]
To:
<[email protected]>
Date:
09/12/2009 15:31
Subject:
RE: Duda sobre SQL en RPG



Hola Pedro (tocayo)
 
Los cursores de datos son tablas temporales mediante las cuales puedes 
manipular los datos que están en éstas, para hacer diferentes tareas, ya 
que existen 2 tipos de cursores, los seriales y los de tipo "Scrollable", 
dependiendo de cual utilices.
 
Tu fichero físico no sufre ningún cambio a menos que se lo indiques en el 
programa, pudiendo utilizar las filas de datos que tengas en el cursor, 
pero en sí el cursor no te modifica ningún dato.
 
Saludos!!
 
To: [email protected]
Subject: Duda sobre SQL en RPG
From: [email protected]
Date: Wed, 9 Dec 2009 10:39:47 +0100


Cuando se ejecuta una select en un rpg, y luego se leen los registros 
resultantes, ¿que se esta leyendo realmente, un archivo temporal, o un 
índice temporal con selección? 

Mi pregunta va encaminada a saber si se "actualiza" la select, si existen 
modificaciones en el fichero físico o no mientras se lee el cursor. 

Gracias y un saludo compañeros....  y, adelantándome un poco ... ¡Feliz 
navidad a todos! (En casa ya he puesto el belén y el árbol). 

Pedro Pinedo Hernandez:  Analista-Programador 
Grupo Amcor Flexibles Hispania S.L. 
Departamento de Informática / IT Department 
tfno.:+34 941 28 60 90 - 941 03 01 39
fax: +34 941 03 01 39
Avd. Burgos 67-95
26006 Logroño Spain 
[email protected] 
(quitar nospam del dominio, para enviar) 

______________________________________________________

AMCOR FLEXIBLES - LEADING THROUGH INNOVATION
______________________________________________________

CAUTION - This message may contain privileged and confidential information 
intended only for the use of the addressee named above. If you are not the 
intended recipient of this message you are hereby notified that any use, 
dissemination, distribution or reproduction of this message is prohibited. 
If you have received this message in error please notify AMCOR FLEXIBLES 
immediately. Any views expressed in this message are those of the 
individual sender and may not necessarily reflect the views of AMCOR 
FLEXIBLES.

Get news, entertainment and everything you care about at Live.com. Check 
it out!____________________________________________________
© Publicaciones Help400, S.L. - Todos los
derechos reservados http://www.help400.es
----------------------------------------------------
Para darte de baja visita la siguente URL:
http://listas.combios.es/mailman/listinfo/forum.help400


______________________________________________________

AMCOR FLEXIBLES - LEADING THROUGH INNOVATION
______________________________________________________

CAUTION - This message may contain privileged and confidential information 
intended only for the use of the addressee named above. If you are not the 
intended recipient of this message you are hereby notified that any use, 
dissemination, distribution or reproduction of this message is prohibited. If 
you have received this message in error please notify AMCOR FLEXIBLES 
immediately. Any views expressed in this message are those of the individual 
sender and may not necessarily reflect the views of AMCOR FLEXIBLES.
____________________________________________________
© Publicaciones Help400, S.L. - Todos los
derechos reservados http://www.help400.es
----------------------------------------------------
Para darte de baja visita la siguente URL:
http://listas.combios.es/mailman/listinfo/forum.help400

Responder a