jCL Statements |
Introduction |
Introduction to the jBASE command language. |
PQ/PQN Differences |
Functionality differences between PQ and PQN procs. |
A |
Copies a parameter from the active input buffer to the active output buffer. |
B |
Moves the active input buffer pointer back to the previous parameter. |
BO |
Moves the active output buffer pointer back by one parameter. |
C |
Defines a comment. |
D |
Displays parameters from the active input buffer. |
DE |
Displays the current value of LastError. |
DEBUG |
Turns the jCL debug function on or off. |
F |
Moves the active input buffer pointer forward to the next parameter. |
F; |
Provides a range of arithmetic functions. |
F-CLEAR |
Clears the specified buffer. |
F-DELETE |
Deletes a record from a file. |
F-FREE |
Releases a record lock. |
F-KLOSE |
Closes a specified file buffer. |
F-OPEN |
Opens a file for reading and writing. |
F-READ |
Reads a record from an open file into a file buffer. |
F-UREAD |
Reads and locks a record from an open file into a file buffer. |
F-WRITE |
Writes the contents of a file buffer as a record. |
FB |
Reads a record from a file into the special "fast" buffer without having to open the file first. |
G/GO/GOTO |
Transfers control unconditionally to another location in the program. |
GO B |
Transfers control to the statement following the most recent mark command executed. |
GO F |
Transfers control to the statement containing the next mark command. |
GOSUB |
Transfers control to a specific subroutine. |
H |
Places a text string in the active output buffer. |
IBH |
Places text in the active input buffer whilst retaining embedded spaces. |
IBN |
Prompts for input and places the entered data in the secondary input buffer. |
IBP |
Prompts for input from the terminal. |
IF |
Allows conditional execution of jCL commands based on the evaluation of an
expression. |
IF E |
Conditionally executes a command depending on the presence or absence of
an error message. |
IF S |
Conditionally executes a command depending on the presence or absence of
an active select list. |
IFN |
Allows conditional execution of commands depending on the result of
numeric comparisons. |
IH |
Places a text string in the active input buffer. |
IN |
Prompts for input and places it in the secondary input buffer. |
IP |
Prompts for input and places it into the active input buffer or a nominated buffer. |
IT |
Reads a tape record into the primary input buffer. |
L |
Formats printed output. |
M |
Marks a destination for a GO F or GO B command |
MS |
Move the entire content of the secondary input buffer to the primary input buffer. |
MV |
Copies data between buffers or between buffers and select registers. |
MVA |
Copies a value from the source to the destination buffer and stores it as a multivalue. |
MVD |
Deletes a value from a multivalued parameter in the target buffer. |
O |
Outputs a text string to the terminal. |
P |
Submits the shell command created in the primary output buffer for execution. |
PQ-RESELECT |
Executed from a jCL program, resets the pointer of a select register to the beginning of the list of keys. |
PQ-SELECT |
Executed from a jCL program, loads a list of keys into a select register |
RI |
Resets (clears) the primary and secondary input buffers. |
RO |
Resets (clears) the active output buffer. |
RSUB |
Terminates execution of a local subroutine. |
RTN |
Terminates execution of an external subroutine. |
S |
Positions the primary input buffer pointer to a specified parameter or
column. |
STOFF |
Selects the primary output buffer as the active output buffer. |
STON |
Selects the secondary output buffer as the active output buffer. |
T |
Produces formatted terminal output. |
TR |
Traces jCL program execution and displays each command before it is executed. |
U |
Executes a user exit from a jCL program. |
X |
Halts execution of the program and returns control to the shell. |
|
|
PARAGRAPHS |
Paragraph support in jBASE. |