U2_GetList subroutine

Retrieve a list of keys set using the U2_SaveList subroutine.

U2_GetList(ListName, VolumeName, SelNum )

The function has the following parameters:

ParameterDescription
ListNameThe name of the saved list to retrieve.
VolumeNameThe volume on which the list was saved.
SelNumThe cursor to use when retrieving the list.

This subroutine does not return a value. Use Get_Status() to check for errors.

Declare subroutine Rlist, U2_SaveList, FsMsg

* Retrieve the list on the U2 Server.

U2_GetList("CUSTOMER_LIST","U2_VOLUME_1",3)

If Get_Status(errCodes) then

   FsMsg(errCodes)

end else

   keyList = ""

   loop

     readnext id else done = 1

   until done

      keyList := id : @fm

   repeat  

   keyList[-1,1] = "" ; * remove the trailing @fm

end
 
 
 
 
 
  • guides/programming/programmers_reference_manual/u2_getlist.txt
  • Last modified: 2024/06/19 20:20
  • by 127.0.0.1