Suppose if a physical file is having 1000 records, but i
deleted 500 records from it. Here the concern is can the size
of the file changes or it remains the same... kindly help me
out with thorough xplanation.... Thanks in-advance...
Answers were Sorted based on User's Feedback
Answer / pavana
No, the size of the file does not change.
Use DSPOBJD on the PF before and after deleting records in the PF and see the difference.
The size of the PF before and after deleting records is same.
| Is This Answer Correct ? | 12 Yes | 0 No |
SIZE Won't change....
after deleting 500 records from 1000 records...
and then IF you want to insert NEW RECORDS
THAT RECORDS WILL ADDED AFTER THE 1000TH RECORDS PLACE......
BUT IF YOU WANT USE THE SPACE OF DELETED RCDS USE...
RCZPFM ON THAT PF...
THEN SIZE CHANGES...........
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / pvenkatakishore
even i did RGZPFM the size of file can't change
is this right? give me answer
| Is This Answer Correct ? | 0 Yes | 1 No |
What is the purpose of the chain and setll and setgt?
If we use the file level keywords like LIFO, FIFO, FCFO in a file, can we see the impact of it by doing the run query of the file? if not how can we see the impact of these keywords.
How to insert more than one record to a pf at a time?(Bulk insert to a pf)
How to read a PF in reverse(from last rec to first) using CL?
how to update physical files using normal logical file
what is the purpus of the chain and setll and setgt ?
Suppose I have a pf, it contains 5 members, how to access particular member data from logical file? What is the use of member in pf?
A pf containing 100 records... my query is how to display from 11th record in the pf?
Which keyword is used both in subfile and subfile control record format of a DSPF?
what is the intractive job? what is the batch job ? how to change the batch job to interactive job?
Last statement of any rpg program is lr?
How many maximum record format a logical file have?