FIND NUMBER in adabas.

Datacom, IDMS, Adabas, Oracle, FOCUS, NOMAD, TOTAL/SUPRA/ULTRA, Model 204, SQL/DS.
Previous topicNext topic

Topic Author
Ancilin N
New Member
Posts: 3
Joined: Sun Jul 27, 2014 12:59 am

FIND NUMBER in adabas.

Post by Ancilin N » Mon Jul 13, 2015 2:11 pm


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

Code: Select all

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
Posts: 2624
Joined: Sun Apr 21, 2013 7:40 pm
Location: Mumbai, India
Zodiac: Sagittarius

Re: FIND NUMBER in adabas.

Post by Anuj Dhawan » Wed Jul 15, 2015 9:18 am

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."


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.

Previous topicNext topic

Return to “Other Databases on zOS.”