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 do I declare a table or array in rpg iv?
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 to handle duplicate error handling in RPG?
what is an online rpg?
How would display prime numbers using CL program?
what is the difference between do while and do until?
what was the robotech rpg?
how can you display specific subfile page on the screen in unequal subfile?
Interviewer asked me write down DDS for load all subfile .can anybody write dds
How to write record if no field or the field are different in physical file in rpgle ?
how do I play {insert rpg system here}?
can anybody help me to solve this problem. the program that i m checking display error message saying "Record format for file AJDSPFFD does not match model file and decimal error. how to solve this problem. The AJDSPFFD is snapshot the AJTLOG that is the audit trail list.
How do u design a physical file, when you have 2 Unique fields like for eg in A student file student ID and student examination no both are unique
When we have a file with Duplicate records and I want to read the unique record from the file. For example a file containing Emp Name as 'Ram' and there are 3 entries of it. So how to read a unique record from File?
what is the procedure and explain about real time scenario.