how to change the length of the field in a physicalfile?

Answers were Sorted based on User's Feedback



how to change the length of the field in a physicalfile?..

Answer / mind

first open the source and change the field length or add
field then save and exit. now using chgpf command we can do
this without compiling again. if we increase the length
it's o.k. but if we decresed the length warning message
appear like data may be lost. in this case we can't
decresed length.

Is This Answer Correct ?    2 Yes 4 No

how to change the length of the field in a physicalfile?..

Answer / prima krishnan

By using the CHGPF command,we can change the length of a
field in a physical file....

Is This Answer Correct ?    2 Yes 6 No

Post New Answer

More RPG400 Interview Questions

What is the purpose of PUTOVR keyword?

2 Answers  


Write a program to display prime numbers between 1 to 100 using RPGLE.

1 Answers  


What is the difference between copybooks and subprocedures in as400?

0 Answers  


Suppose I have 3 jobs a b and c. I want to submit b after successful completion of a and want to submit c after successful completion of b. Without using job scheduler or job queue, how can I do that through cl program?

1 Answers  


how to display all the members records in a physical file without using ovrdbf?

9 Answers  






what is program status data structure?

1 Answers   IBM,


what is batch debug in as400?

3 Answers  


i'm working on progA , in that program i want to see the userids of the users who work on this program?

10 Answers   Four soft,


why subproc not run in dftactgrp?????/plz explain

2 Answers   CSC,


i have a file with the values 10, 20, 30, 40, if am setll with the value 25 then readp, so what it will return?

6 Answers   Mind Tree,


When a object will be locked & when a record will be locked? Plz explain.

2 Answers  


What is ment by record level identifier?

0 Answers  


Categories