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)
Related Q&A from Kent Milligan
Create a host variable of the where in statement on the fly with dynamic SQL. Continue Reading
When working with DB2 files with columns that have both short and long names, there is no option choose which column names are returned via ODBC ... Continue Reading
When developing tables in a parent-child relationship, use a primary key and a foreign key along with a unique ID to make your database easier to ... Continue Reading