Y aunque los crees, tampoco pasa nada: si creas un fichero lógico con una clave idéntica (o un subconjunto de clave) de uno que ya existe, el sistema no crea la nueva via de acceso, utiliza la ya existente. Es por eso que si tienes dos lógicos:

Logico1
    Clave1
    Clave2

y


Logico2
    Clave1
    Clave2
    Clave3

Es mejor crear primero el  Logico2, y así cuando creas Logico1 usa la vía de acceso ya existente.

Saludos
Jesus Busquets
Grespania, SA

gerardo.santillana wrote:
Glaciar
Pues si se puede, pero para que quieres tener 2 archivos logicos con la misma clave ocupando espacio en el as400 cuando puedes hacer uso del OVRDBF
 

Gerardo Santillana
IT Department
Delphi Mechatronic Systems
US Ph: (956) 554 5832
MX Ph: (868) 812 81 63/64/65  Ext 5832
Pager: (956) 768 1048
Mobil E-mail [EMAIL PROTECTED]
e-mail [EMAIL PROTECTED]

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of aNDREW
Sent: Wednesday, March 10, 2004 8:32 AM
To: [EMAIL PROTECTED]
Subject: ok ok .. pero

Hola :
 
   ok ok he entendido todo lo q comentabas , gracias por la ayuda, pero lo que me dices en el segundo apartado, en el que te pregunto la posibilidad de utilizar KRENAME, empleando dos logicos para el mismo fichero fisico, y siempre que no sea el mismo logico ; no se podrian definir dos logicos con la misma clave para un mismo fisico ? , aunque suene un poco raro ? , tal que asi ??? :
 
FMCLLA   IF  E           K        DISK                       
F            MCLR                              KRENAMEMCRR   
FMCLLB   IF  E           K        DISK    
 
Ambos con clave por codigo de cliente.
 
Muchas gracias y un saludo.
 
                   
_______________________________________
Cedis (Centro Distribuidor De Euskadi)
Avda. Cervantes, 51
Pol. Industrial DENAC
48970 - Basauri (Bizkaia)
Tfno.: 944.407.209
Fax : 944.261.022
E-mail : [EMAIL PROTECTED]
Web : http://www.cedis.net
 

"Este correo electrónico contiene información privada que puede estar legalmente protegida, parcial o totalmente. Es sólo para uso del destinatario al que está dirigido. Si ha recibido este mensaje por error, le rogamos que lo notifique al remitente del email y que además borre de su sistema el mensaje así como todas sus copias, incluyendo las posibles copias del mismo en su disco duro, y se abstenga de usar, revelar, distribuir a terceros, imprimir o copiar ninguna de las partes de este mensaje".
"Mezu elektroniko honek informazio pribatua du, partzialki edo osorik legez babestuta egon daitekeena. Bidali nahi zaion hartzaileak erabiltzeko bakarrik da. Mezu hau hutsegite baten ondorioz jaso baduzu, mesedez, mezuaren igorleari jakinaraztea eta mezua eta horren kopia guztiak ezabatzea eskatzen dizugu, disko gogorrean izan ditzakezunak barne. Eta, orobat, ez erabili mezu honen zatirik, ez eta erakutsi, beste pertsona batzuei banatu, inprimatu edo berridatzi ere".
"This e-mail contains proprietary information some or all of which may be legally protected. It is for sole use of the intended recipient only. If you have received this message by mistake, you are requested to notify the e-mail sender and erase both the message and any copies from your system, including hard disk copies.  You are further requested to refrain from using, distributing to third parties, printing or making copies of any parts of this message".

 

**************************************************************************************** Note: The information contained in this message may be privileged and confidential and thus protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. ****************************************************************************************

Responder a