Welcome to jBASE's new documentation site! Many answers to your questions can be found by searching the Knowledgebase or viewing the jBASE Documentation. We also have a Google Group for peer discussion about jBASE. If you are unable to find the information you are looking for, jBASE Support will be glad to assist in resolving your technical problems. Enjoy and please provide comments and feedback .

How can we help you?

GET-LIST

Description 

Retrieves a previously stored list and makes it the current active (default) list. It takes the general form: 

GET-LIST {list-name {account-name}}

 where: 

  • list-name specifies the name of the list to be retrieved. If you do not specify a list name, the default list will be used.
  • account-name is the name of the account from which the list was saved. If you do not specify account-name, the system will use the current account name.


Note:

The GET-LIST command is used to retrieve a list previously stored using the SAVE-LIST command or the jBC WRITELIST statement. If the list is retrieved successfully, it will become the current active (default) list and will be inherited by the next jBASE command or program.

 

EXAMPLE

:GET-LIST A.SALES
200 Records selected
>LIST SALES

Retrieves a list named A.SALES and generates an active list. You can then issue a subsequent command such as LIST SALES which will use the active list.

If d3_list_processing = true is set in the $JBCRELEASEDIR/config/Config_EMULATE file then the command retrieves previously stored lists from a file or the POINTER-FILE, and it's use may be as:  

GET-LIST {list1 list2 list3 ... listX} {(options}

or

GET-LIST {DICT} filename id1 {id2 id3 ...} {{options}

where options may be:

 - All Lists are in the POINTER-FILE, useful if the list name is the same as a file name. 

Note:

    If multiple lists are specified then the resulting list is sorted and all entries in the resulting list are unique.


See also list storage.

Back to List Processing


Was this article helpful?