display file setup

20 pts.
Tags:
iSeries Commands
iSeries v6.1
Hi. I have been working my way through the following post from this site, but i am stuck on something.

I have attempted to set up a display file as per the instructions in the post below, but i am unsure how i create a display file that allows the selection of a library name?

Any help much appreciated.

http://search400.techtarget.com/tip/Track-deleted-records



Software/Hardware used:
v6.1

Answer Wiki

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

Looks like it is a simple DSPF that just has one input field.
Here is all that is required
<pre>
A R FMTNAME
A LIB 10 I 4 8
A R FMTERR
A 5 8 ‘Library not found’
</pre>
You may want to make it a window andor add some other text on the screen.

Discuss This Question: 3  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
  • Kiwi400
    Thanks for the feedback. I currently have the code below: I have very little experience in this coding style, so basic answers would be appreciated. A*%%TS SD 20120501 141303 LONGS REL-V6R1M0 5761-WDS A*%%EC A DSPSIZ(24 80 *DS3) A R LIBNAME A*%%TS SD 20120501 141303 LONGS REL-V6R1M0 5761-WDS A 1 3TIME A 1 37SYSNAME A 1 70USER A 20 1'__________________________________- A ___________________________________- A ___________' A 21 4'F3=Exit' A COLOR(BLU)
    20 pointsBadges:
    report
  • CharlieBrowne
    You do not have any input fields defined. See my initial suggestion.
    41,370 pointsBadges:
    report
  • CharlieBrowne
    Does this need to be an interactive program? Give us more information on What, Why, and Frequency you need to do this. A batch program may be a better solution.
    41,370 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