FIND NUMBER in adabas.

Datacom, IDMS, Adabas, Oracle, FOCUS, NOMAD, TOTAL/SUPRA/ULTRA, Model 204, SQL/DS.
Post Reply
Ancilin N
New Member
Posts: 3
Joined: Sun Jul 27, 2014 12:59 am

FIND NUMBER in adabas.

Post by Ancilin N »

Hi,

I m learning ADABAS. I would like to know what value is returned with:

Code: Select all

FIND NUMBER MARKS-FILE WITH SUPER-NUM = 'ABCD20000' 
Will this return the number of records having the value of SUPER as 'ABCD20000'? And how the value in the NUMBER can be used?
User avatar
Anuj Dhawan
Founder
Posts: 2801
Joined: Sun Apr 21, 2013 7:40 pm
Location: Mumbai, India
Contact:
India

Re: FIND NUMBER in adabas.

Post by Anuj Dhawan »

I do not speak ADABAS, however, from a search - "FIND NUMBER will give you how many records are there in the file which have SUPER-NUM = 'ABCD20000' and the result is stored in system variable *NUMBER. It can be used to check whether a particular record exist or not. For example, if no records are there then *NUMBER will be 0 and you can decide on further flow of the program."
Thanks,
Anuj

Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “Other Databases on zOS.”