Custom (user) "output-specification"

130 views
Skip to first unread message

gangst...@gmail.com

unread,
Dec 16, 2024, 5:25:14 PM12/16/24
to jBASE
Hi

Is it possible to somehow make a custom "output-specification" for the LIST command?

jsh JBASEADM ~ -->CT MD 'TOTAL'
TOTAL
001 t
002 39

For example, "TOTAL" is in the "VOC" file. Also "TOTAL" point to "t^39".
I understand that "t" is a token and "39" is ID for some handler.
Is it possible to add your own handler?
For example, its own handler for saving only unique values in "LIST" output or any other custom handler that would format the output of the command?


TEST.UNIQ
001 t
002 777

Jim Idle

unread,
Dec 18, 2024, 11:23:49 AM12/18/24
to jb...@googlegroups.com
You can use the query primitive in jBC and build anything you want. The JQLxxxx stuff in the documentation. 

And yes, we did have the ability to support custom out put handlers but I don’t see any documentation out there with a quick glance at this. Using JQL… is probably better though. 

Jim

--
--
IMPORTANT: T24/Globus posts are no longer accepted on this forum.
 
To post, send email to jB...@googlegroups.com
To unsubscribe, send email to jBASE-un...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

---
You received this message because you are subscribed to the Google Groups "jBASE" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jbase+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/jbase/3f4ae9e7-187b-462f-b7a4-2e76b361c785n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages