×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Exact difference b/w approx and generic position modes in cobol

Exact difference b/w approx and generic position modes in cobol

Exact difference b/w approx and generic position modes in cobol

(OP)
Hi,
What is the exact difference between approximate and generic position modes?

Can you please explain me in detail?

As far as our knowledge is conserned when we pass an alternate key
Approximate mode:It gives from the starting record(which has the alt-key)to the record which is at the physical end of the file.That means it also gives those records which dont have the alt-key we've passed...is that true?

Generic mode:It gives only those group of records which has the alt-key.

Cal yu please clarify me on my understanding with an example???

Thanku,
Lafalafa

RE: Exact difference b/w approx and generic position modes in cobol

I have never heard of either mode.  Can you give some examples?

RE: Exact difference b/w approx and generic position modes in cobol

I have never heard of any such thing either.

Sound like something you will need to take up with your compiler vendor.

What implementation of Cobol are you using?

Code what you mean,
and mean what you code!
But by all means post your code!

Razalas

RE: Exact difference b/w approx and generic position modes in cobol

Are you trying to use indexes to read records from a file?

Are you trying to do relative positioning or find a range of groups of records?

I have read manuals of different kinds of cobol but never encountered such thing as approximate and generic position modes. Maybe this is a new thing????

RE: Exact difference b/w approx and generic position modes in cobol

I think he means generic key and fully specified key. But maybe not...?


Nic

RE: Exact difference b/w approx and generic position modes in cobol

I also await clarification.  Maybe there is something new...

Tom Morrison
Micro Focus

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close