how to change the length of the field in a physicalfile?
Answer Posted / ramaraju
By using CHGPF comaand we can change the pf attribute size.
And another way is
copy the physical file into another dummy file(for that
use Cpyf)
and change the physical file field length ,compile it
Then again copy the data from dummy file to original file
| Is This Answer Correct ? | 4 Yes | 4 No |
Post New Answer View All Answers
Explain mdt?
Assume 2 users are using the same file and first user updates some record in the file. Will the 2nd user will be able to see the updated record or not?
how do I preserve and clean the array?
what is data area and how it is used in rpg program ?
How to handle duplicate error handling in RPG?
What is the difference between copybooks and subprocedures in as400?
what is program status data structure?
What is a record lock error?
How Chain operation copies the record's data to the input buffer for the program?
what do you mean by an input subfile, what are the keywords required?
If my rpg program has a date field, what extra care I have to take while compiling that rpg program? If the file is keyed and I have declared the file as well as key list properly in my program. Still am getting an error message like "chain/reade operation is not allowed" what may be the case?
What are the types of identifiers?
how can I tell when to replace the array?
What is the difference between iter and do?
write an RPG program to calculate the marks of 5 students (A,B, C, D, E)in 3 different subjects (eng, math, sci) an display on the screen