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
what is file information data structure?
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?
What is the purpose of record level identifier?
How Chain operation copies the record's data to the input buffer for the program?
how do I preserve and clean the array?
How to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?
how does the rpg element work?
give an eg of ACQ-(ACQUIRE),BIT OFF,BIT ON,DEALLOC,DUMP,FEOD,FORCE,MHHZO,MHLZO,MHLLZO,MLHZO,REL,RESET,TESTZ,TESTB,TESTN----GIVE SMALL EXAMPLE TO THE OPCODES...TO UNDERSTAND FUNCTIONING...........
what is a rpg?
during execution, an rpg/400 program automatically follows a sequence of operations for each record that is processed. The built-in program cycle includes the following logical steps.
what is the use of sflnxtchg?
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
Explain mdt?
How to handle duplicate error handling in RPG?
what happens when sflsiz = sflpag? What are the advantages and disadvantages?