Good News Everybody!
The new search engine is LIVE!
Please report any problems to david (at) midrange.com.
|
Brian,
I think that CHGPF will do what you need, if you specify the modified
source member.
It will delete logicals, modify the physical (and warn about losing data
if you make a field smaller) and re-create the logicals.
Of course, any programs using these files will need to be recompiled, as
well as display files using the changed field.
HTH,
Peter Colpaert
Application Developer
Massive - Kontich, Belgium
-----
Yoda of Borg are we. Futile is resistance, assimilated will you be.
-----
"Brian Piotrowski" <bpiotrowski@xxxxxxxxxxxxxxx>
Sent by: midrange-l-bounces+peter.colpaert=massive.be@xxxxxxxxxxxx
22/08/2005 15:53
Please respond to Midrange Systems Technical Discussion
To: "Midrange Systems Technical Discussion"
<midrange-l@xxxxxxxxxxxx>
cc:
Subject: Increasing Field Length Issues
Hi All,
Is there an easy way to increase a field width on a PF without having to
delete all the LFs associated and recompile all PFs and LFs? I have a
field that needs to be increased from four to six characters (which is
conveniently in the middle of the DDS), but from what I understand, I
need to either delete all associated PFs and LFs and recompile
everything or set the compile to LVLCHK(*NO) and hope something doesn't
blow up.
This table contains data that I cannot lose, so can someone suggest the
best way to handle this situation?
Thanks!
Brian.
This mailing list archive is Copyright 1997-2026 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.