D3 On jBASE Cheatsheet
D3 On jBASE Cheatsheet
Lists
Download jBASE by default stores lists in JBCGLOBALDIR/tmp/jBASEWORK. If a POINTER-FILE exists it
Visit www.zumasys.com/downloads and select the appropriate version for your operating will store lists in that file. It is recommended for D3 style to CREATE-FILE POINTER-FILE in
system. Additional installations instructions can be found here. the JBASEADM account and then add Q pointers to your other accounts.
Administration
jlicensinginfo -v Show Licensing
jdiag -v Show diagnostics
where (v Detailed information on a port
SP-EDIT Same
SP-STATUS Spooler Menu Maintenance
LISTPTR List Printers
LISTPEQS List jobs
PEQS All hold jobs are O/S items in
JBCSPOOLERDIR/jobs.
jsh→!<command> Optional. Affects jsh parsing.
LIST /tmp List local O/S files. NL conversion is per Platform.
Z,ZH,PH-START,PH-STATUS Phantom commands
GLOBALDIR/config/PH- Phantom History File
HISTORY
Hot-Backup Transaction Journaling/Replication
OSFI jRFS
openDB ODBC Jedi
ODBC Server jAgent/ODBC
MVS.NET/FlashConnect jAgent/jRemote/MVConnect
BASIC
emulate_d3_internal_values If set in current emulation, some internal functions are
mapped out using a d3 scheme
See also: https://docs.zumasys.com/jbase/jbc/system-functions/
@ Variables https://docs.zumasys.com/jbase/jbc/the-'@'-function/
SYSTEM(1008) Returns SYSTEM file path
SYSTEM(1009) Returns MD file path
Command Shells
jsh Jshell, equivalent to TCL (F1, <Esc>OP, jshelltype jsh)
Pre-processes meta characters like the asterisk (*), as
expected by legacy multi-value systems. Note that only
in jsh mode is JEDIFILENAME_MD examined for Q-
pointers, Procs and Paragraphs.
sh Native platform shell (F2, <Esc>OQ, jshelltype sh)
Pre-processing of meta-characters depends on
operating system.
msh Mixed shell (F3, <Esc>OR, jshelltype msh)
Pre-processes meta characters as a combination of jsh
and sh.
Dot stacker
In jBASE, Up and Down arrows can be used, as well as Left and Right arrows.
jsh SandBox ~ -->.?
.? | .h Display help
.a{#}text Append 'text' to entry '#'
[if '#' omitted then appends to entry 1]
.c#/s1/s2/* Change 's1' to 's2' in entry '#',
* = change all stack entries
.d# Delete entry number '#'
.f text Find first occurrence of 'text', move to top of stack
.l List first page
.ln List first 'n' lines
.lm-n List entries 'm' through 'n' inclusive
.m# Move entry number '#' to top of stack