PMS Information Systems
Welcome to PMS Information Systems - IBM i (AS/400) Forum !!!

Get Answers for all your queries on IBM i (AS/400).

Join the forum, it's quick and easy

PMS Information Systems
Welcome to PMS Information Systems - IBM i (AS/400) Forum !!!

Get Answers for all your queries on IBM i (AS/400).
PMS Information Systems
Would you like to react to this message? Create an account in a few clicks or log in to continue.

OVRDBF with DLTF

Go down

OVRDBF with DLTF Empty OVRDBF with DLTF

Post  maran Mon Jul 27, 2009 7:46 pm

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???
maran
maran
Admin

Posts : 442
Join date : 2009-07-24

https://pmsinformationsystem.forumotion.net

Back to top Go down

OVRDBF with DLTF Empty Re: OVRDBF with DLTF

Post  maran Mon Jul 27, 2009 7:47 pm

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.
maran
maran
Admin

Posts : 442
Join date : 2009-07-24

https://pmsinformationsystem.forumotion.net

Back to top Go down

OVRDBF with DLTF Empty Re: OVRDBF with DLTF

Post  maran Mon Jul 27, 2009 7:47 pm

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.
maran
maran
Admin

Posts : 442
Join date : 2009-07-24

https://pmsinformationsystem.forumotion.net

Back to top Go down

OVRDBF with DLTF Empty Re: OVRDBF with DLTF

Post  maran Mon Jul 27, 2009 7:48 pm

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.
maran
maran
Admin

Posts : 442
Join date : 2009-07-24

https://pmsinformationsystem.forumotion.net

Back to top Go down

OVRDBF with DLTF Empty Re: OVRDBF with DLTF

Post  maran Mon Jul 27, 2009 7:48 pm

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.
maran
maran
Admin

Posts : 442
Join date : 2009-07-24

https://pmsinformationsystem.forumotion.net

Back to top Go down

OVRDBF with DLTF Empty Re: OVRDBF with DLTF

Post  maran Mon Jul 27, 2009 7:48 pm

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
maran
maran
Admin

Posts : 442
Join date : 2009-07-24

https://pmsinformationsystem.forumotion.net

Back to top Go down

OVRDBF with DLTF Empty Re: OVRDBF with DLTF

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum