Datacom, IDMS, Adabas, Oracle, FOCUS, NOMAD, TOTAL/SUPRA/ULTRA, Model 204, SQL/DS.
- New Member
- Posts: 3
- Joined: Sun Jul 27, 2014 12:59 am
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?
- Posts: 2624
- Joined: Sun Apr 21, 2013 7:40 pm
- Location: Mumbai, India
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.