+ Reply to Thread
Results 1 to 5 of 5

Thread: Field Description

  1. #1
    S.Mildenberger Guest

    Default Field Description

    If your just changing the text you can update the physical files with CHGPF and you won't have to recompile any programs. Scott Mildenberger

  2. #2
    leonwise Guest

    Default Field Description

    Thanks for the quick response. I checked the command and it appears that I probably need to update the DDS and then run CHGPF since I see no field-related parameters in that command. My second issue is that some of the numeric fields were never initialized to zero and can cause a decimal data error. We still have some programs which have the file internally described and do not properly initialize the fields. Do you know if the CHGPF will try to resolve every field (resulting in decimal data errors) or just the text where I have made changes? Thanks again for your patience and kind assistance.

  3. #3
    S.Mildenberger Guest

    Default Field Description

    Your correct in that you change the DDS source and then run CHGPF referencing that source. I don't know how CHGPF handles numeric fields with invalid values, should be simple to setup a little test case. Scott Mildenberger

  4. #4
    Guest.Visitor Guest

    Default Field Description

    If you have SQL, you can use the "LABEL ON" command to change both the column headings and text of a field.
     LABEL ON COLUMN MYLIB/MYFILE (CUSTPART IS 'Customer Part Number') /* column headings are three 20-char descriptions */ LABEL ON COLUMN MYLIB/MYFILE (CUSTPART TEXT IS 'The Customer Part Number') 
    Chris

  5. #5
    leonwise Guest

    Default Field Description

    We have several fields which have been "retired" and we need to change text to avoid confusing users of query. Fields are set up using REF file. My question is, can I change it in the ref file and re-compile my DDS or do I have to recompile all programs. We do not use the level check.

+ Reply to Thread

Similar Threads

  1. Display file field description with minimum infomation
    By Guest.Visitor in forum Programming
    Replies: 5
    Last Post: 07-06-2001, 04:34 AM
  2. API for Changing the Field Description or Text of a field inPF
    By David Abramowitz in forum Programming
    Replies: 4
    Last Post: 05-25-2001, 06:23 AM
  3. Replies: 10
    Last Post: 07-31-2000, 04:19 PM
  4. device description
    By Guest.Visitor in forum Analysis
    Replies: 5
    Last Post: 04-12-2000, 12:00 PM
  5. Job Description
    By Guest.Visitor in forum Analysis
    Replies: 9
    Last Post: 03-30-2000, 08:30 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts