Q
Evaluate Weigh the pros and cons of technologies, products and projects you are considering.

Use CHGPF to change the field length

Use CHGPF to change the field length

You mention in a Q&A that the CHGPF command can be used to change the field length of a field without recompiling the PF. What parameter is used for that, as I do not see it on my system? We are at V5R1.
You just point the CHGPF command at the new DDS for the file using the SRCFILE & SRCMBR parameters as demonstrated in the following example:

          CHGPF FILE(PF1) SRCFILE(MYLIB/SRC) SRCMBR(PF1NEW) 

==================================
MORE INFORMATION ON THIS TOPIC
==================================

Check out this Search400.com Featured Topic: Database issues resolved

Search400.com's targeted search engine: Get relevant information on DB2/400.

The Best Web Links: Tips, tutorials and more.

Dig Deeper on DB2 UDB (universal databases)

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchDataCenter

Close