The OSMOSiS COMMON block.  
Previous  Top  Next

Description  
 
The OSMOSiS COMMON block.  
 
Systax  
 
Index
Variable Name
Description
0
C
Used by NC90, Keyboard entry to specify the column on a character screen to enter data.
1
L
Used by NC90, to specify the row on the character screen to enter data.
2
ZVAL
Used by NC90, to hold the data to use as the input default and will also contain the data upon exiting NC90.
3
TYP
Used by NC90, specifies the type of data to be entered, which acts as an initial validation process as well. 0=Alphanumeric, 1=Numeric, 2=Date, 3=Time, 4-7 mirror 0-3, but are protected entries i.e. do not display data.
4
Fmt
Used by NC90, Multi-Value format for data entry e.g. "L(#10)" or "R24(#8)"
5
MSG
Used by NC90, the initial help message for the data entry.
6
LKUP
Used by NC90, this is the name of any file that should be used as a search facility against the field entry.
 

To use NC90 as a keyboard entry routine the above fields must be set and then NC90 is called from your Basic routine. This routine is only applicable to the character-based system and is not relevant to VB.  
 
Index
Variable Name
Description
7
INPUT.PROMPTS
Reserved for OSMOSiS.
8
ERRORS
Reserved for OSMOSiS.
9
DS
Reserved for OSMOSiS.
10
PORT
See appendix A - PORT
11
CONTROL
See appendix B - CONTROL
12
CTLFL
The file variable that the file "_CONTROL" is opened to.
13
HEAD
During character-based operation the screen heading is created and stored against this variable. The screen heading is comprised of the time and date on the left, routine title in the centre and the port & account name on the right side.
14
OPNO
Contains the attribute of the object opened.
15
MVNO
Contains the multi-value position of the object opened.
16
ADDNEW
During maintenance: 0=amend, 1=insert new, 2=delete.
17
REDISP
During a maintenance routine 0=ignore, 1=redisplay screen as last viewed, 2=redisplay by 'recalculating' all objects.
18
ENDIT
During a maintenance routine 0=ignore, 1=skip this object and any other value will skip this and the next x-1 objects.
19
RECKEY
The key to the record being enquired, amended etc.
20
VALUE
The current value of the object opened.
 

The following page contains variables that are reserved for OSMOSiS use.  

Index
Variable Name
Description
21
NCFLS
Reserved for OSMOSiS.
22
NCSNMS
Reserved for OSMOSiS.
23
NCDX
Reserved for OSMOSiS.
24
NCSNM
Reserved for OSMOSiS.
25
LTRNM
Reserved for OSMOSiS.
26
POSN
Reserved for OSMOSiS.
27
SPCDS
Reserved for OSMOSiS.
28
PLL
Reserved for OSMOSiS.
29
PCC
Reserved for OSMOSiS.
30
PST1
Reserved for OSMOSiS.
31
PST2
Reserved for OSMOSiS.
32
SCVAL
Reserved for OSMOSiS.
33
SCVAL1
Reserved for OSMOSiS.
34
NONB
Reserved for OSMOSiS.
35
HD
Reserved for OSMOSiS.
36
SCR
Reserved for OSMOSiS.
 

The following variables are used within the character-based system for controlling the display window.  

37
CCOL
The current left margin.
38
CLN
The current top row
39
FCOL
The physical left column of the window on the screen.
40
FLN
The physical top row of the window on the screen.
41
LCOL
The physical right column of the window on the screen.
42
LLN
The physical bottom row of the window on the screen.
43
SSZ
The total number of physical column positions on screen.
44
LSZ
The total number of physical rows on the screen.
45
SSET
The escape sequence used to set screen 'width'.
46
COLON
The current colours escape sequence.
47
COLOFF
The escape sequence to switch back to standard colour.
48
TSLS
Reserved for OSMOSiS.
 

The following group of variables are used by the character-based system for emulation specific functions.  

49
TERMCHK
The current terminal emulation code
50
F1K
The character sequence for the abort 'key' for this terminal.
51
ESC
The character representing the escape key for this terminal.
52
HV
The escape sequence for dim/half video for this terminal
53
FV
The escape sequence to switch back to normal video.
54
RV.ON
The escape sequence for reverse video for this terminal.
55
RV.OFF
The escape sequence to turn off reverse video.
 

The following group determines level of execution, level of screens and the parameters of menu selection.  

Index
Variable Name
Description
56
LEVEL
The normal level from the menu selections
57
ELEVEL
The execute level of this routine
58
SLEVEL
The level of the screen within this routine
59
MSINP
In the GUI system, this is the form name
60
MSON
This is the menu line, in the same format as stored in the _MENUS record
 

The following are variables normally associated with the run-time executed of OSMOSiS applications:  

1.
LD
This is the content of the current record opened. This is the area that the normal data entry is stored to.
2
Work
A work area for the developer to use as temporary storage. This can also be used to enter data into.
3
Otherec
An area that can be referenced by default, validation and process calculations. It is normally used to store data from a related record/file.
4
Logicfl
Available for the developer.
5
Action
An alternative to ADDNEW above, which is also set by OSMOSiS 1=insert new, 2=amend and 3=delete, for SB+ compatibility.
6
Itemdet
The screen definition line of the object being processed. See appendix C for contents of ITEMDET.
7
Mnflnm
The main file name being referenced.
8
Mflno
The number of the main file's file variable in OPENFLS.
9
Orig
The original record, stored as the record was read at the beginning of the maintenance sequence.
10
Lockedkey
The key string that was used to lock the record when maintenance read the main record.
11
ScrImage
The whole screen definition of the screen currently being processed.
12
StatusLine
Available for the developer.
13
BoxParms
The co-ordinates of the current window being displayed.
14
Outval
Available for the developer.
15
OvFlags
Available for the developer.
16
Fxrefno
Available for the developer.
17
Fxref
Available for the developer.
18
VBTERM
Set to 1 if the session is a GUI
79-88
Userdta (10)
Array of 10. Available for the developer
89-108
Reserved1 (20)
Array of 20. Reserved for future developments
109
MenuNo
The number of the menu item selected
110
Prgnm
The name of the program executed fro the menu
111
Filesopened
List of files opened for the developer
112-151
Parmsa (40)
Array of 40. Available for the developer
152-171
Parmsb (20)
Array of 20. Available for the developer
172-191
Misc (20)
Array of 20. Available for the developer
192
OSMOSiSCTL
OSMOSiS's revision number
193
Ptrid
Printer Emulation record. See appendix D - PTRID
194
Passed
Reserved for OSMOSiS
195
Ukeys
Reserved for OSMOSiS