OVRDBF with DLTF
Page 1 of 1
OVRDBF with DLTF
PGM
OVRDBF FROMFILE(FILE1) TOFILE(FILE2)
DLTF FILE1
ENDPGM
Note: Both files are in the *LIBL
Consider the above code which file will be deleted? Reason???
OVRDBF FROMFILE(FILE1) TOFILE(FILE2)
DLTF FILE1
ENDPGM
Note: Both files are in the *LIBL
Consider the above code which file will be deleted? Reason???
Re: OVRDBF with DLTF
I am confused with the qbove topic. Here we OVRDBF FILE2, but delete FILE1. Pls clear it whether DLTF FILE1 or DLTF FILE2? .
But whatever may be here DLTF FILE1 means it will delete FIEL1 I believe.
Pls repley if this is wrong.
_________________
Regards,
Razuk.
But whatever may be here DLTF FILE1 means it will delete FIEL1 I believe.
Pls repley if this is wrong.
_________________
Regards,
Razuk.
Re: OVRDBF with DLTF
PGM
OVRDBF FILE(O919) TOFILE(OUTPF)
DLTF (ANUPAMALIB/O919)
DLTOVR (O919)
ENDPGM
File O919 will be deleted.
The file O919 will use data of OUTPF when it is overriden.
But the file O919 - object O919 will be deleted.
_________________
Thanks & Regards,
Anupama M.
OVRDBF FILE(O919) TOFILE(OUTPF)
DLTF (ANUPAMALIB/O919)
DLTOVR (O919)
ENDPGM
File O919 will be deleted.
The file O919 will use data of OUTPF when it is overriden.
But the file O919 - object O919 will be deleted.
_________________
Thanks & Regards,
Anupama M.
Re: OVRDBF with DLTF
PGM
OVRDBF FILE(O919) TOFILE(OUTPF)
DLTF (ANUPAMALIB/O919)
DLTOVR (O919)
ENDPGM
The file O919 will use data of OUTPF when it is overriden.
After delete command,File O919 will be deleted.
the file O919 - object O919 will be deleted.
and O919 cannot use the data of OUTPF as the file is deleted.
_________________
Thanks & Regards,
Anupama M.
OVRDBF FILE(O919) TOFILE(OUTPF)
DLTF (ANUPAMALIB/O919)
DLTOVR (O919)
ENDPGM
The file O919 will use data of OUTPF when it is overriden.
After delete command,File O919 will be deleted.
the file O919 - object O919 will be deleted.
and O919 cannot use the data of OUTPF as the file is deleted.
_________________
Thanks & Regards,
Anupama M.
Re: OVRDBF with DLTF
Hi Anupama,
But the file O919 - object O919 will be deleted.
I agree what you are saying is correct.
But if we do RCVF 0919, it will receive records from OUTPF. If we DLTF 0919 mean it delete 0919. Why this happens. Actually it should delete OUTPF. Please give the second question REASON.
Consider the above code which file will be deleted? Reason???
_________________
Regards,
Razuk.
But the file O919 - object O919 will be deleted.
I agree what you are saying is correct.
But if we do RCVF 0919, it will receive records from OUTPF. If we DLTF 0919 mean it delete 0919. Why this happens. Actually it should delete OUTPF. Please give the second question REASON.
Consider the above code which file will be deleted? Reason???
_________________
Regards,
Razuk.
Re: OVRDBF with DLTF
OVRDBF will concern abt the data in the file and attr ( temporarily)
But DLTF will concern with object as a whole ( permanent)
So DLTF will ignore OVRDBF
But DLTF will concern with object as a whole ( permanent)
So DLTF will ignore OVRDBF
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|