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


Please Help Members By Posting Answers For Below Questions

What are the types of identifiers?

574


1. What is bound-by-call and bound-by-reference? 2. Where and why is *Nomain used? 3. What are the difficulties faced by programmers when using service programs? 4. Explain the different ways of parsing and compiling XML in iSeries.

5427


How to create a login screen using a command instead of display file.... intention is to get a password field on a command..... how do you achieve this...

1316


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

833


how do I preserve and clean the array?

677






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?

511


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?

519


How would display prime numbers using CL program?

5682


what happens when sflsiz = sflpag? What are the advantages and disadvantages?

715


what do you mean by an input subfile, what are the keywords required?

777


thanks mr.Harshad R Suryawaunshi,i'm new to as400 i think you are telling in rpgile i know only rpg400 if possible can you tell in rpg400

1897


what is data area and how it is used in rpg program ?

758


what is kids-rpg?

670


which program rpg or cl is efficent to update a transaction onto a database file and why ?

749


what was the robotech rpg?

689