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

how do you use commitment control in rpg?

0 Answers   IBM,


1.Load an runtime array of length 99 from the pf and you want to handle all the possible errors?

0 Answers   HCL,


What is SFLNXTCHG keyword why it has used and where? Briefly explain with Example.

2 Answers   IBM,


When will DUMP & DEBUG be ignored?

3 Answers   IBM,


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

0 Answers  






How can we receive values from a called procedure in RPG?

1 Answers  


what is meant by record lock.how records are locked.what is the purpose of record lock.if records are locked what happens.how to find out which record is locked.

4 Answers   HCL,


Difference between RESET and CLEAR

1 Answers   TCS,


What is use of IMPORT and EXPORT in RPGLE ? What is activation Group ? What is Service Program ???? How to call another program in RPGLE ?

1 Answers  


Can anybody tell me, does CL/400 handle LEVEL check while running the CL program....? plz share your experience...

4 Answers  


1. If there are two programs using same file and 2 users are using the file at the same time and what can be done to allow them both to access? 2. How can remove lock from the file for accessing it by both users?

0 Answers  


what is decimal data error? when it will come and how to achieve(rectify) this error please give me solution as well as code

2 Answers   IBM,


Categories