Hi Ronald

If you type it on the command line you need:

whois -rBGi or AS3333

which basically says do an inverse query (-i or) on objects containing:
origin: AS3333

give the full object details (-B), without any grouping (-G) and don't return related personal data (-r)

If you use the query.html you must also check 'origin' under the 'Inverse lookup' tab.
I also suggest you check the 'Do not retrieve related objects'  box other wise you may return lots of personal data objects and get blocked very quickly.

cheers
denis



From: Ronald F. Guilmette <rfg@tristatelogic.com>
To: "db-wg@ripe.net" <db-wg@ripe.net>
Sent: Friday, 7 October 2016, 5:02
Subject: Re: [db-wg] Query all route objects for a given AS?


In message <1870001011.3703.1475803719463@mail.yahoo.com>,
<ripedenis@yahoo.co.uk> wrote:

>-rBGi or as3333

I'm sorry, but your reply is not at all clear to me. Could
you perhaps show me a complete example command line?


Regards,

rfg



P.S.  I also just now visited the following page:

https://apps.db.ripe.net/search/query.html

Under "Types" I checked only "route".  Then in the search
box I entered only the AS number of interest to me.  Then
I clicked on the "search" button.  The result was that I
only got the following error:

    ERROR:115: invalid search key
    Search key entered is not valid for the specified object type(s)

Is it actually not possible to obtain from the RIPE WHOIS
data base a list of all route objects currently associated
with a particular AS number?