Print Page | Close Window

List of programs

Printed From: Rocket Software
Category: AccuTerm Knowledge Base (read only)
Forum Name: Scripting & Automation
Forum Description: Customize and control AccuTerm using scripts and automation
URL: https://forum.asent.com/forum_posts.asp?TID=2714
Printed Date: March 26 2026 at 8:51pm
Software Version: Web Wiz Forums 12.03 - http://www.webwizforums.com


Topic: List of programs
Posted By: jdb
Subject: List of programs
Date Posted: March 19 2019 at 6:53pm
I am fairly new to PICK system and was wondering if there was a way to retrieve a list of the programs that exist in the system. I was recently given access to use a WS command from within the system which prompted for a program name and then opened the whole program in a new window. I then happened to notice when I went to do a save as, there was a list of existing programs, similar to seeing a list of files when saving in a windows folder.

I believe the WS command engages the wED tool to edit a program within a text editor tool. If this tool can retrieve a list of programs, then I’m assuming those program names a retrievable somehow from some kind of system file??

Thanks



Replies:
Posted By: Shrek59
Date Posted: March 20 2019 at 2:29am
You haven't said which MV database you are using ... and it DOES make a difference.

Assuming you can get to the command prompt (and it sounds as if you can), then get a list of the files on the system using one of these commands:

   LISTFILES      (PICK command)
   LISTF             (INFORMATION command)

Those commands will show you ALL the files in your current account, whether or not they are program files. You will need to figure out which files are program files, but ALL files respond to similar commands.

   SORT filename

will show you the items in each file. Often, the program files will be named BP (for BASIC programs). So:

   SORT BP

Now, say you want to edit several of the items in the BP file:

   WED BP item1 item2 item3 etc
or
   SELECT BP WITH @ID = "WEB]"         (this will work on UniVerse in PICK flavour, but probably not in PICK)
   WED BP

This selects all items starting with "WEB" in the BP file, and creates a Select-List. WED then uses the Select-List and loads those items into the editor.

For multi-value questions like this, I suggest you ask them in the MVDBMS Google group: https://groups.google.com/forum/" rel="nofollow - https://groups.google.com/forum/ #!forum/MVDBMS

Hopefully, that is enough to get you started.

Brian


Posted By: jdb
Date Posted: March 20 2019 at 5:52am
Through some digging, it is a PICK database, which is NorthGate's REALITY DB.

Yes, this information was helpful in finding what I'm looking for.  I did discover 3 files, that look to have a list of programs in them.  Thanks for your help. 



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.03 - http://www.webwizforums.com
Copyright ©2001-2019 Web Wiz Ltd. - https://www.webwiz.net