Caché command list

Caché command list

Caché ObjectScript commands

Chapter One Caché Command Encyclopedia BREAK Command

Chapter Two Caché Command Complete CATCH Command

Chapter 3 Caché Command Collection CLOSE Command

Chapter 4 Caché Command Collection CONTINUE Command

Chapter 5 Caché Command Complete DO Command

Chapter VI Caché Command Complete DO WHILE Command

Chapter 7 Caché Command Complete ELSE Command

Chapter 8 Caché Command Complete ELSEIF Command

Chapter 9 Caché Command Encyclopedia FOR Command

Chapter 10 Caché Command Collection GOTO Command

Chapter 11 Caché Command Complete HALT Command

Chapter Twelve Caché Command Encyclopedia HANG Command

Chapter 13 Caché Command Encyclopedia IF Command

Chapter Fourteen Caché Command Encyclopedia JOB Command

Chapter 15 Caché Command Complete KILL Command

Chapter 16 Caché Command Encyclopedia LOCK Command

Chapter Seventeen Caché Command Encyclopedia MERGE Command

Chapter Eighteen Caché Command Complete New Command

Chapter XIX Caché Command Complete OPEN Command

Chapter 20 Caché Command Complete QUIT Command

Chapter 21 Caché Command Complete READ Command

Chapter 22: Complete Caché Command RETURN Command

Chapter 23 Caché Command Complete SET Command

Chapter 24 Caché Command Complete TCOMMIT Command

Chapter 25 Caché Command Complete THROW Command

Chapter 26 Caché Command Complete TROLLBACK Command

Chapter 27 The Caché Command Complete TRY Command

Chapter 28 Caché Command Complete TSTART Command

Chapter 29 Caché Commands USE Commands

Chapter 30 Caché Command Complete VIEW Command

Chapter 31 Caché Command Complete WHILE Command

Chapter 32 Caché Command Complete WRITE Command

Chapter 33 Caché Command Encyclopedia XECUTE Command

Chapter 34 The Caché Command Encyclopedia ZKILL Command

Chapter 35 Caché Command Encyclopedia ZNSPACE Command

Chapter 36 Caché Commands ZTRAP Commands

Chapter 37 Caché Command Encyclopedia ZWRITE Command

Chapter 38 Caché Commands ZZDUMP Command

Chapter 39 The Caché Command Encyclopedia ZZWRITE Command

Routines and debugging commands

Chapter 40 The Caché Command Compendium PRINT ZPRINT Command

Chapter 41 Caché Command Encyclopedia ZBREAK Command

Chapter 42 The Caché Command Compendium ZINSERT Command

Chapter 43 Caché Command Encyclopedia ZLOAD Command

Chapter 44 Caché Command Encyclopedia ZREMOVE Command

Chapter 45 Caché Command Encyclopedia ZSAVE Command

Chapter 46 The Caché Command Encyclopedia ZZPRINT Command

Legacy command

Chapter 47 Caché Command Complete DO (Old Version) Command

Chapter 48 Caché Command Encyclopedia FOR (Old Version) Command

Chapter 49 Caché Command Encyclopedia IF (Old Version) Command

Chapter 50 Caché Command Encyclopedia ZQUIT (Old Version) Command

Chapter 51 The Caché Command Encyclopedia ZSYNC (Old Version) Command

sequence

This document details the commands supported by CachéObjectScript. In this manual, CachéObjectScript commands are divided into three groups:

  • A valid order.
  • Routines and debugging commands.
  • Legacy commands (obsolete commands).
    In each group, the commands are displayed in alphabetical order.

You can abbreviate most commands to the first letter of the command name, or for Zcommands that start with a letter, the first two letters of the command name. In the summary of each command, the full name syntax is displayed first, and the abbreviated name (if any) is displayed below it.

The summary of each command contains only textual grammar punctuation. The abstract does not include punctuation for formatting conventions, such as which elements of the grammar are optional. This information is provided in the parameter table following the summary.

One exception is the ellipsis ( ...). The ellipsis after the comma indicates that the parameter (or parameter group) before the comma can be repeated multiple times as a comma-separated list. The curly braces {the ellipsis ...} indicates that you can specify a code block containing one or more commands within the curly braces. Curly braces are literal characters that must be specified in the code.

Most commands take one or more parameters. Parameters are expressions that define or control command operations (for example, functions and their parameters, variables, operators and their operands, object properties or object methods). The multiple parameters used with a command are usually called a parameter list. Some commands have parameters themselves. For example, DOeach parameter of the command can use a parameter list. This is indicated in the grammar.

Some commands are parameterless and can be called without any parameters. Some commands never accept parameters; other commands only take parameters in certain situations. Such commands change their meaning according to whether they have no parameters or specify a parameter list.

Most commands can take an optional post-conditional expression, which specifies a condition that indicates whether the command should be executed. The post-conditional expression is :appended to the command name by a colon ( ). No spaces or newlines are allowed between the command name and its post-conditional expression. Although strictly speaking, post-conditional expressions are not command parameters, they are presented together with parameters here. No parameter commands can use post-conditional expressions.

Most ObjectScript commands are the same on all hardware platforms. Any platform-specific function of the command is marked with the type of platform that supports that function. For example, Windows or UNIX® (OpenVMS is the operating system). All platforms support any commands that are not marked as platform restrictions.

Old grammar

In most cases, old commands and functions have been replaced by newer implementations with different syntax. These commands and functions should not be used in new programming. They are recorded here as compatible with existing program code. Please note that the old commands and functions are not compatible with their replacement versions; although they may appear in the same program, they must never be combined. For example, you should not use block-oriented IFand traditional line-oriented ELSEtogether, or try to use $ZBITfunctions to manipulate $BITbit strings created by functions, or vice versa.

Legacy commands The following legacy commands have been replaced by new command syntax:

  • FOR
  • IF
  • ELSE
  • DO (Without parameters)

Traditionally IF, the ELSEand FORcommand does not use the curly brace block structure syntax. Instead, they execute commands that appear on the same program line. Therefore, they are much more restrictive in terms of row format than the updated block-oriented version of these commands.

In addition, the legacy IFcommand can not use the ELSEIFclause must use $TESTspecial variables.

The old version of no parameters DOused period prefix syntax to indicate block structure. This syntax has been superseded and is incompatible with curly brace syntax. DOThe parameterless form of is not used in future encodings.

The following old commands are obsolete:

  • ZQUITReplaced 为ZTRAP $ZERROR. For more details, please refer to the ZTRAPcommand.
  • ZSYNCOnly used for the obsolete Distributed Cache Protocol (DCP).

Preface

  • After two months of serialization, the basic series of "Caché Commands" has finally been serialized. Mainly give a comprehensive explanation of the current system-level commands that can be used. Reading through this topic can comprehensively improve the understanding of command usage and some rare functions. There will inevitably be flaws in the analysis of some problems. The solution in the example is not perfect, and interested friends can leave a message and discuss together after thinking about the implementation. I also hope that friends who find other problems will give feedback to the author in time.

Notice

  • The next issue of the series will take two to three months to serialize, "Caché Functions", Caché functions are the most commonly used and the most daily contact. But I believe that most people only know one of the functions, not the second, and there are many functions that they don’t understand. Each function has some unique and very easy-to-use usages. According to 28 principles, this "Caché Function Complete" will give a detailed overview and explanation of all functions (methods). At the beginning of each chapter, there will be a key point that I sorted out. concept.

Exchange group

  • QQ group number: 410039091
  • Author QQ: 454115408
  • Public Account: Straight Guy in Technology and Science
    Insert picture description here

Guess you like

Origin blog.csdn.net/yaoxin521123/article/details/108159760