Non-display fields in physical file

30 pts.
Tags:
iSeries
PF
Physical File
i want to create a PF in which i want to declare fields as non display.Can u help me out
ASKED: April 24, 2009  7:00 AM
UPDATED: April 27, 2009  10:44 AM

Answer Wiki

Thanks. We'll let you know when a new response is added.

Hi,

If you are relating to a display file, then just type DSPATR(ND) just below the text description of that field.
Condition this field with an indicator like for eg :- if *99 is on then Display the field else hide it. Populate this field with your Physical file field. Change the values of the indicator in your program according to your requirement.

Thanks
Siddharth
///////////////////////////////////////////////////
One approach is to hide the fields through a logical file
- Physical file is created with all fields
- Logical file is created over the physical listing only the fields you want to provide access to.
- Physical file may be resricted by security.
Phil

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Babs
    I want nondisplay fileld in Physical file only. Using indicators can i make these filed values as hidden?
    30 pointsBadges:
    report
  • Gilly400
    Hi, The non-display attribute is for display files and printer files only. You can code it in a database file (physical or logical) but it will be ignored. Regards, Martin Gilbert.
    23,730 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following