Display a record from a file in a loop condition in AS/400

10 pts.
Tags:
AS/400
AS/400 commands
CL Program
Hi, I need a CL program to display a record from a file in a loop condition. If a file exists, then it should display the records or else it should display the message 'file does not exist'. Please help me. The program should contain dcf,monmsg,rcvf. 

Answer Wiki

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

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
  • TomLiotta
    However, we don't do programming for you. If you have a business problem, we can help with solutions. If you're a student we can review your code if you post it here and offer suggestions; but you are expected to do the work. -- Tom
    125,585 pointsBadges:
    report
  • philpl1jb
    If you need some help show us the code you've developed and tell us the issues you're experiencing we'll help but we don't do the project for you.
    49,550 pointsBadges:
    report
  • ToddN2000
    Sounds fairly simple except for "display a record from a file in a loop condition". Do you want to show all records or just the first or a selected RRN in the file? Is there a DSPF associated? How are they to be displayed as a sub file or other method? If you are going to display record as a message, what type? Show us what you have tried and we can give you some help.
    8,335 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