Programming Syntax, Parenthesis & Terminators; Table 4-1 Command Terminators - Prodigit 3302F Mainframe Operation Manual

Table of Contents

Advertisement

4.3. Programming Syntax, Parenthesis & Terminators
A variety of indicators are used in the description of the computer commands and in the
Summary tables. The syntax used is defined as follows:
SP:Space, the ASCII code is 20 Hexadecimal.
; :Semicolon, Program line terminator, the ASCII code is OA Hexadecimal.
NL :New line, Program line terminator, the ASCII code is OA Hexadecimal.
NR2 :Digits with decimal point. It can be accepted in the range and format of
4.3.1.
Parenthesis
The following parenthesis are used in the command descriptions to indicate whether a
Command is necessary or optional and whether a choice has to be made. The symbols
{ },[ ], | or ? are not actually used in the programming script. The symbols { }, [ ] and | are
Merely used to illustrate the nature of the contents.
{ } is Necessary
[ ] is Optional
| is Necessary Choice: This symbol means a choice must be made between the stated
? is Necessary Choice :Where a question mark is present it indicates that a choice
4.3.2.
Terminators
You have to send the program line terminator character after sending a computer
Command, the available command terminator characters that are accepted by the
3302F mainframe is listed in Table 4-1.
Semicolon〝;〞The semicolon〝;〞is a back-up command, the semicolon allows you
To combine command statements on one line to create a command sequence.
###.##### For example: 30.12345. In this instance the Load will read up to
Five significant figures after the decimal point. The decimal point can be
Omitted If not required.
:
The contents of the { } symbol must be used as part of the
Computer command, it cannot be omitted.
:
The contents of the [ ] symbol indicates that the command is
Optional. The use of the contents depends on the testing
Application.
commands. For example "LOW|HIGH" Means a LOW or HIGH
choice needs to be made as part of the command.
Needs to be made. This maybe entering a numerical value
That needs to be set
LF WITH EOI
CR,LF WITH EOI

TABLE 4-1 COMMAND Terminators

3302F Mainframe Operation Manual 25
LF
CR,LF

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents