Confirm an AS/400 record without read and chain

110 pts.
Tags:
AS/400
How do you know a record exists without doing read and chain?
ASKED: November 19, 2011  5:19 PM
UPDATED: August 26, 2013  3:49 PM

Answer Wiki

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

Use SETLL and check for %Found

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
  • philpl1jb
    Homework?
    48,545 pointsBadges:
    report
  • deepu9321
    You are trying to find a record with actually read or chain. Are you trying to find whether the file is having atleast one Record, or with any particular key combination. What is your requirement exactly? Pradeep.
    3,605 pointsBadges:
    report
  • TomLiotta
    Pradeep and CharlieBrowne have both brought valid ideas into the question. The question needs to be clarified. A SETLL doesn't exactly tell you if a specific "record" exists unless you are looking for a specific record number, e.g., the first, second, third, etc., record in a file. Otherwise, it can tell you if a specific index entry entry exists -- which isn't quite the same as whether a given "record" exists. So, "What is your requirement exactly?" And "Homework?" is also appropriate. Tom
    125,585 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