PxPlus User Forum

Twitter Twitter Twitter

Author Topic: Meta Data  (Read 356 times)

Jeffrey Ferreira

  • Gold Member
  • ****
  • Posts: 85
    • View Profile
Meta Data
« on: October 27, 2020, 10:20:13 AM »
Hello
is there any way to store meta data in a program about the program that can be searched.
you know on web pages you can put tags in to improve SEO.
is there anything like that in pxplus programs.
we sometimes struggle with new and existing personnel finding programs or *cmd that we've created
jeff

p.s. or if someone has some good ideas on how to find programs i would welcome that.
« Last Edit: October 27, 2020, 10:41:26 AM by Jeffrey Ferreira »

Mike King

  • Administrator
  • Diamond Member
  • *****
  • Posts: 3416
  • Mike King
    • View Profile
    • PVX Plus Technologies
Re: Meta Data
« Reply #1 on: October 27, 2020, 11:29:47 AM »
Assuming your programs are not passworded we generally simply suggest adding some comments at the start or end of the program.

Also if you are working on Windows have you ever tried entering

  INFO directory

Where directory is the name of a directory? 

This (assuming your firewall doesn't block it) will start a copy of our ezweb server in the background and launch a web based browser to provide a list of all the files/program in a directory where the first comment  line for programs will be shown. 

The web based interface also provides a significant amount of detail about other files and allows you to drill down to get specific details about the programs and files.

Perhaps this would provide you much of what you want.

BTW: While this is primarily a Windows command you can set this up on any type of server using the *ezweb/server by first starting the EZWeb server on a accessible/open port then connecting to it from a browser with a URL that looks something like this:

http://127.0.0.1:9999/services/pxpwiki.pxp?page=FW_object&obj=/usr/myapp/programs

Where:

127.0.0.1:9999 is your server IP (127.0.0.1 for loopback) and port you used; and /usr/myapp/programs is the starting directory you want to browse.

Mike King

  • Administrator
  • Diamond Member
  • *****
  • Posts: 3416
  • Mike King
    • View Profile
    • PVX Plus Technologies
Re: Meta Data
« Reply #2 on: October 27, 2020, 04:56:12 PM »
Just realized I forgot to mention you can also use the INFO command against a file or program to get a description of the file/program.

For files this includes data dictionary, key structures, file size, record counts, etc.

For Programs this includes program size, list of labels, all variables (including where referenced), entry points.  If the program file is an object then it also breaks down the methods/functions and properties.