how to change the length of the field in a physicalfile?
Answer Posted / gautam
As per my understanding,we can not change length of a field
in a physical file using command CHGPF.Using this command
we can change number of records and so on.
If we want to change length of a field then we have to
change its source where we previously defined the size of
the field and then requires a compilation.After compiling it
we delete all logicals based on this physical file then
file is re-build in respective file groups from where
prorams use records.
Please let me know if there is any issues!
| Is This Answer Correct ? | 13 Yes | 5 No |
Post New Answer View All Answers
How can we override a file during runtime in rpg?
how do I declare a table or array in rpg iv?
what is an online rpg?
what is the use of sflnxtchg?
What are the types of identifiers?
How to handle duplicate error handling in RPG?
what is a rpg?
How would display prime numbers using CL program?
explain sflclr, sflend, sfldlt, and sflcsrrrn?
Please tell me how to read the records from a file with load an array of size with error conditions(The logic answer for this question is ARR is array of 99 elements Z-ADD 0 IDX *LOVAL SETLL FILE READ FILE 99 *IN99 DOWEQ *OFF IDX ANDLT 99 ADD 1 IDX MOVE FIELD ARR,IDX READ FILE 99 ENDDO).So,Please give me the complete of this code.
how do I play {insert rpg system here}?
what are the key words you must use when using a subfile?
what is *place and *auto keyword in prtf ?plz explain
What is the purpose of record level identifier?
Hi Viewers can any body explain me how to update and ahange the already existed data in physical file using subfile ? please explain me with the code if possible?