What is the purpose of reorganizing the physical file i.e. , RGZPFM?

Answer Posted / siddharth kumar

Even if you delete the records in a physical file through the program, still the space used by the deleted records not used by the other purpose. Hence using RGZPFM command we can compress the deleted records space.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

can we define multi-dimensional arrays in rpg ?

933


Hi,Can any body give the code for the below mentioned quetion.?Im trying to get coding in with easily inderstanding.Plese give me the coding for this? 1.How would you achieve this requirement with out using RPG/RPGLE pgm,but by using only CL?Read a database file and display file contents on the screen when enter key pressed the next record should be displayed on screen.When the last record is reached or when F3 key is pressed the program should exit if the file is empty,a message should be displayed indicate that there are no records to display. Database file Name=EMPDBF Fields in EMPDBF to be displayed on screen Employee Number- EMPNUM(5,0) Employee Name- EMPNAM(30,A) Employee Address-EMP ADDR(50 A)

1736


what is a logical file?

1042


The content of Physical file is as below: hfcftp wruquief SENDPASV 0 CDUP ASCII GET 01100901.CSV ramndk/ECP505.EC0110090 (REPLACE QUIT Thw above commands will get executed when we call STRTCPFTP from CL program.... Now if I want to use SFTP what can be the solution? plz reply in detail....Thank you for ny help... I m using RPG/ILERPG to download...

1917


what is the difference between seton lr and retrn?

1281






what if my system I runs with system value qccsid 65535?

617


what is the difference between *like and *namvar ?

1560


what is arrival sequence?

1112


What is RETURN CURSER LOCATION in subfile?

1072


how can you execute a command from within an rpg program without calling a clp program?

1201


what is the function of crtdupobj command?

1157


how do you read data area in an rpg program?

1112


name few ibm supplied libraries?

1222


what are the two record formats a subfile contain ?

1123


what is scan and xlate?

1091