Thread: General

Easytrieve POINT on VSAM - do I need STATUS?

Started by Val • user3 replies168 viewsLast activity 2 weeks ago
Post #1
0 votes
Val
Reputation
178
Posts: 9
Joined: Nov 22, 2024, 8:19 AM
Posted: Jul 29, 2026, 11:32 AM

Trying POINT INFILE EQ ws-key STATUS then check INFILE:FILE-STATUS.

Docs are thin. Does POINT actually position for a later GET/READ, or does it pull the record itself? And is STATUS required or just nice to have?

Post #2
1 votes
Marty
Reputation
412
Posts: 58
Joined: Aug 12, 2024, 9:14 AM
Posted: Jul 29, 2026, 1:32 PM

POINT positions on a keyed file. With STATUS it fills FILE-STATUS so you can tell miss vs hit. Without STATUS a bad key can just blow up on you.

After a good POINT (status 0) the record area is available. Qualify FILE-STATUS with the file name when you have more than one file open.

Post #3
0 votes
Val
Reputation
178
Posts: 9
Joined: Nov 22, 2024, 8:19 AM
Posted: Jul 30, 2026, 2:32 PM

EQ '123456' STATUS worked. Displayed the name field after status 00. Good enough for what I needed.

You must be signed in to reply to this thread