System Software Library NonStop NET/MASTER NCL Reference Summary Abstract Part Number Edition Published Product Version Release ID Supported Releases This reference summary documents the NonStop NET/MASTER Network Control Language (NCL) syntax. 106161 First December 1994 NonStop NET/MASTER D30 D30.00 This manual supports D30.00 and all subsequent releases until otherwise indicated in a new edition.
Document History Edition Part Number Product Version Earliest Supported Release Published First 106161 D30 D30.00 December 1994 New editions incorporate any updates issued since the previous edition. A plus sign (+) after a release ID indicates that this manual describes function added to the base release, either by an interim product modification (IPM) or by a new product version on a .99 site update tape (SUT). Note Ordering Information Document Disclaimer Export Statement Examples U.S.
Contents Notation Conventions Core Statements 15 Assignment Statement CALL 15 CMD 15 xiii 15 DO 15 END 16 EXIT 16 FLUSH 16 FUNCTION 16 GOSUB 16 GOTO IF 16 17 ITERATE 17 LEAVE 17 NOP 17 ON 17 PROCEDURE RESUME 17 18 RETRY 18 RETSUB 18 RETURN 18 REVERT 18 SAY 18 SELECT 18 SIGNAL 19 106161Tandem Computers Incorporated iii
Contents Verbs 21 ASSIGN 21 CMDLINE 22 CNMALERT 22 CNMCLEAR 22 CNMREAD 23 CNMSEND 23 CNMVECTR 23 CONTROL 24 DELAY 24 DROP 24 EMSALERT 25 EMSCONT 25 EMSDEL 25 EMSREAD 26 EMSSEND 26 EVENTTD 26 FILE ADD 26 FILE CLOSE 27 FILE DEL 27 FILE GET 27 FILE OPEN 27 FILE PUT 28 FILE PUTGET FILE SET 28 28 INTCLEAR 29 INTCMD 29 INTCONT 29 INTREAD 29 LOCK 30 LOGCONT 30 iv LOGDEL 30 LOGREAD 30 106161 Tandem Computers Incorporated
Contents MSGCONT 31 MSGDEL 31 MSGREAD 31 NRDDEL OCS 31 32 PANEL 32 PANELEND PARSE 32 32 PAUSE 32 PSEND CLOSE 32 PSEND OPEN 33 PSEND SEND 33 PSEND SET 33 QEXIT 33 SECCALL ADD 33 SECCALL CHANGE SECCALL CHECK 34 34 SECCALL DELETE 34 SECCALL EXIT 34 SECCALL GET 34 SECCALL QUERY 34 SECCALL UPDATE 35 START SWGUID 35 35 VARTABLE ADD 35 VARTABLE ALLOC 36 VARTABLE DELETE 36 VARTABLE FREE 36 VARTABLE GET 36 VARTABLE PUT 37 VARTABLE QUERY 37 VARTABLE RESET 37 VARTABLE UPDATE 37 106
Contents WRITE 38 Built-in Functions 39 A2E 39 ABBREV 39 ABS 39 B2C 39 BITAND, BITOR, and BITXOR 39 BOOLEXPR 40 C2B 40 C2D 40 C2X 41 CENTER 41 COMPARE 41 COPIES 41 D2C 41 D2X 41 DATATYPE 41 DATE 41 DATECONV DELSTR 41 42 DELWORD 42 E2A 42 INSERT 42 JUSTIFY 42 LASTPOS 42 LEFT 42 LENGTH 42 LOWER 43 MASKCHK 43 MAX 43 MIN 43 NAMTONOD vi 43 106161 Tandem Computers Incorporated
Contents NEXTFILE 43 NEXTSVOL 43 NODTONAM 43 NOYES 44 NULL0 44 OVERLAY 44 POS 44 QUOTE 44 RANDOM 44 REMSTR 44 REVERSE 44 RIGHT 45 SELSTR 45 SIGN 45 SPACE 45 SSIDTOTEXT STRIP 45 45 SUBSTR 45 SUBWORD 45 SYMBOL 46 TEXTTOSSID TIME 46 46 TRANSLATE 46 TRUNC 46 TYPECHK 46 UPPER 46 VALDEV1 46 VALDEV2 47 VALFILE1 47 VALFILE2 47 VALFILE3 47 VALPROC1 47 VALPROC2 47 106161 Tandem Computers Incorporated vii
Contents VARSUB 47 VERIFY 47 WORD 48 WORDINDEX 48 WORDLENGTH 48 WORDPOS 48 WORDS 48 X2C 48 X2D 48 XRANGE 48 ZFEATURE 49 ZNCLKWD 49 System Variables 51 &SYS.ALLPARMS 51 &SYS.CURS.COL 51 &SYS.CURS.FLD 51 &SYS.CURS.POS 51 &SYS.CURS.ROW 51 &SYS.DATE.DAY 51 &SYS.DATE.n 52 &SYS.DOM.ID 52 &SYS.ERROR.CODE 52 &SYS.ERROR.COLUMN &SYS.ERROR.COND &SYS.ERROR.FILE 52 52 52 &SYS.ERROR.KEYWORD &SYS.ERROR.LIB 53 53 &SYS.ERROR.LINE 53 &SYS.ERROR.NAME 53 &SYS.ERROR.
Contents &SYS.ERROR.STMT 54 &SYS.ERROR.STMT_NAME &SYS.ERROR.SUBNAME 54 54 &SYS.ERROR.TEXT 54 &SYS.ERROR.VALUE 54 &SYS.ERROR.VALUEOK &SYS.ERROR.VALUE2 54 54 &SYS.ERROR.VALUE2OK 55 &SYS.FDBK 55 &SYS.FILE.ERROR &SYS.FILE.ID 55 55 &SYS.FILE.KEY 55 &SYS.FILE.PATH &SYS.FILE.RC 55 55 &SYS.FILE.RCNT 55 &SYS.GUID.GROUP &SYS.GUID.USER &SYS.INKEY 56 56 56 &SYS.INT.REQ# 56 &SYS.INT.RSP# 56 &SYS.INTYPE 56 &SYS.LASTLOGON.DATE 56 &SYS.LASTLOGON.TIME 56 &SYS.LASTLOGON.LOGITERM 57 &SYS.
Contents &SYS.NCL.TYPE 58 &SYS.NCL.VERSION &SYS.NCL.VMAX &SYS.NCLID 58 &SYS.NM.DID 58 &SYS.NM.ID 59 58 58 &SYS.NNM.PRODNUM 59 &SYS.NNM.RELDATE 59 &SYS.NNM.VERSION 59 &SYS.NODE.NAME 59 &SYS.NODE.NUM 59 &SYS.OCS.ID and &SYS.OCS.IDO 59 &SYS.OS.GENERIC and &SYS.OS.SPECIFIC 60 &SYS.PANEL.ERRORC 60 &SYS.PANEL.ERRORH 60 &SYS.PANEL.FKEYC &SYS.PANEL.FLD 60 &SYS.PANEL.ID 60 60 &SYS.PANEL.INPHIC 60 &SYS.PANEL.INPLOC 61 &SYS.PANEL.INPUTH 61 &SYS.PANEL.INPUTP 61 &SYS.PANEL.
Contents &SYS.PSEND.ID 62 &SYS.PSEND.RC 62 &SYS.RETCODE 63 &SYS.SIGNON 63 &SYS.SYS.ID 63 &SYS.TERM.COLS 63 &SYS.TERM.DEVNAME &SYS.TERM.EXTCO 63 63 &SYS.TERM.EXTHI 63 &SYS.TERM.NAME 63 &SYS.TERM.ROWS 64 &SYS.TERM.TYPE 64 &SYS.TIME 64 &SYS.USER.AUTH &SYS.USER.ID 64 64 &SYS.USER.LC 64 &SYS.USER.MODE 64 &SYS.USER.PWSTATE 64 &SYS.VARCNT 65 &SYS.WINDOW.COLS 65 &SYS.WINDOW.NUMBER &SYS.WINDOW.OCS 65 &SYS.WINDOW.REAL 65 65 &SYS.WINDOW.
Contents Message Profile Variables 71 CNM Information 71 Display Attributes of a Message 72 DOMID Attributes Message Text 73 73 Prefix Information 73 PPO Information 73 Resource Information Source Information 73 74 SPI Information 74 User Map Name 74 User MDO xii 74 106161 Tandem Computers Incorporated
Notation Conventions General Syntax Notation UPPERCASE LETTERS The following list summarizes the notation conventions for syntax presentation in this manual. Uppercase letters indicate keywords and reserved words; enter these items exactly as shown. Items not enclosed in brackets are required. For example: MAXATTACH lowercase italic letters Lowercase italic letters indicate variable items that you supply. Items not enclosed in brackets are required.
Notation Conventions General Syntax Notation Ellipsis ... An ellipsis immediately following a pair of brackets or braces indicates that you can repeat the enclosed sequence of syntax items any number of times. For example: M address-1 [ , new-value ]... [ - ] {0|1|2|3|4|5|6|7|8|9}... An ellipsis immediately following a single syntax item indicates that you can repeat that syntax item any number of times. For example: "s-char...
Core Statements Assignment Statement The assignment core statement assigns the value of an expression to a specified variable. variable = [ expression ] CALL The CALL core statement calls an NCL procedure.
Core Statements END The END core statement ends a DO group, or a FUNCTION, PROCEDURE, or SELECT statement. END [ label ] EXIT The EXIT core statement ends the current procedure and returns control to the caller. EXIT [ expression ] FLUSH The FLUSH core statement immediately terminates an NCL process. FLUSH FUNCTION The FUNCTION core statement declares a user-written function.
Core Statements IF The IF core statement evaluates an expression and selects an execution path based on the outcome. IF expression THEN true-statement(s) [ ELSE false-statement(s) ] ITERATE The ITERATE core statement performs the next iteration of a repetitive DO group by logically passing control to the DO group's END statement. ITERATE [ label ] LEAVE The LEAVE core statement exits a repetitive DO group. LEAVE [ label-ref ] NOP The NOP core statement performs no action.
Core Statements RESUME The RESUME core statement returns control to the NCL line of code directly after the statement that caused an ON block to be executed. RESUME RETRY The RETRY core statement returns to and retries the statement that caused an ON block to be executed. RETRY RETSUB The RETSUB core statement returns to the statement after the most recently executed GOSUB statement in a procedure. RETSUB [ num-expr ] RETURN The RETURN core statement returns from a called function or procedure.
Core Statements Format 2 [ label:] SELECT expression-2 [ STRICT ] WHEN expression-3 THEN statement [ statement … ] … [ OTHERWISE statement [ statement … ] ] END [ label ] SIGNAL The SIGNAL core statement either generates a specified condition or transfers control to a specific label.
Core Statements (This 20 page left intentionally blank) 106161 Tandem Computers Incorporated
Verbs ASSIGN The ASSIGN verb manipulates multiple variables in a single operation.
Verbs Format 3 This format allows you to set or reset the ERROR, MODFLD, or OUTVAR attributes for one or more variables. ASSIGN OPT={ SETERR | RESETERR | SETMOD | RESETMOD | SETOUT | RESETOUT } { ARGS [ RANGE=( start,end ) ] | VARS={ output-vars-list | variable* } [ RANGE=( start,end ) ] } Format 4 This format allows you to obtain the names of variables that have the MODFLD attribute, and place them in a list or range of variables.
Verbs CNMREAD The CNMREAD verb requests that the next communications network management (CNM) record be made available to an NCL process. CNMREAD [ ARGS [ VARS={ [ SET ] [ TYPE={ [ WAIT={ CNMSEND RANGE=( start,end ) ] [ SEGMENT=n ] | input-vars-list | variable* } RANGE=( start,end ) ] [ SEGMENT=n ] | SEG | VECTOR | BOTH | RESP } ] NO | YES | nnnn } ] The CNMSEND verb forwards the CNM Response Unit (RU) supplied data across the SNAX/CNM interface.
Verbs CONTROL The CONTROL verb defines all NCL processing options that can be used to modify NCL execution characteristics.
Verbs EMSALERT The EMSALERT verb generates an Event Management Service (EMS) event message from an NCL procedure and sends it to the EMSPROC NCL procedure. EMSALERT [ ALL | DOMAIN=domainid | LINK=linkname | LOCAL | REMOTE ] MDO=mdo-name | { TEXT=event-text SSID=owner.number.version EVENTNUM=nnnnn } EMSCONT The EMSCONT verb, which is used in an EMSPROC NCL procedure, resumes normal processing of an Event Management Service (EMS) event message or redirects the event message to another system.
Verbs EMSREAD The EMSREAD verb reads the next Event Management Service (EMS) message. EMSREAD [ ARGS [ PARSE={ NO | YES } ] [ RANGE=( start,end ) ] [ SEGMENT=n ] | VARS={ input-vars-list | variable* } [ PARSE={ NO | YES } ] [ RANGE=( start,end ) ] [ SEGMENT=n ] | SET ] [ WAIT={ NO | YES | nnnnn } ] EMSSEND The EMSSEND verb generates an event message from an NCL procedure to the EMS event collector. EMSSEND [ DOMAIN=domainid | LINK=linkname ] { EVENTNUM=nnnnn SSID=owner.number.
Verbs FILE CLOSE The FILE CLOSE verb closes a file, pair of files, or an operating system process after processing by NCL. After the FILE CLOSE operation finishes, NCL no longer has a current file, pair of files, or operating system process. FILE CLOSE { ID=fileid | ALL } FILE DEL The FILE DEL verb deletes a record or a series of records from a key-sequenced file or pair of files.
Verbs FILE PUT The FILE PUT verb replaces an already existing record in, or adds a new record to, a file, a pair of files, or an operating system process.
Verbs INTCLEAR The INTCLEAR verb discards outstanding messages queued to a dependent processing environment. INTCLEAR [ TYPE={ ALL | ANY | REQ | RESP } ] INTCMD The INTCMD verb executes a command in the dependent processing environment of an NCL process. INTCMD command INTCONT The INTCONT verb passes a message that was read through INTREAD to the next-highest processing environment and, optionally, changes its message text.
Verbs LOCK The LOCK verb obtains or releases access to a resource (such as a record in a file). LOCK PNAME=primaryname [ MNAME=minorname ] [ TEXT=text ] [ TYPE={ EXCL | FREE | SHR | TEST } ] [ VARS=variable-name ] [ WAIT={ NO | YES | nnnn } ] LOGCONT The LOGCONT verb resumes normal processing of a message.
Verbs MSGCONT The MSGCONT verb resumes normal processing of a message. MSGCONT [ [ [ [ [ [ [ [ ALARM={ NO | YES } ] { BKGCOLOR | BKGCOLOUR }=color-option ] { COLOR | COLOUR }=color-option ] { HLITE | HLIGHT }=hlite-option ] INTENS={ HIGH | LOW | NORMAL } ] NRD={ NO | OPER | YES } ] SCAN={ NO | YES } ] DATA=rest-of-statement ] color-option BLUE TURQUOISE GREEN WHITE BLINK REVERSE PINK YELLOW RED NONE hlite-option USCORE NONE MSGDEL The MSGDEL verb deletes the current message.
Verbs OCS The OCS verb displays an Operator Control Services (OCS) window within the primary processing environment and suspends the NCL process, allowing the user to enter NonStop NET/MASTER MS commands. OCS PANEL The PANEL verb displays the specified full-screen panel. PANEL { panelname | NAME=panelname } [ CDELAY=NO | YES ] [ TYPE=ASYNC | SYNC ] PANELEND The PANELEND verb gives up exclusive control of a display window.
Verbs PSEND OPEN The PSEND OPEN verb makes a Pathway server class available for use by an NCL process. PSEND OPEN ID=local-pathsend-id [ FORMAT={ MAPPED | UNMAPPED } ] [ MAP=map-name ] [ PSNDID=system-pathsend-id ] PSEND SEND The PSEND SEND verb sends a request message to and receives a reply message from a Pathway server class.
Verbs SECCALL CHANGE The SECCALL CHANGE verb allows you to change the password of the user ID and, optionally, some user information. SECCALL CHANGE [ MDO=mdo-name ] [ NEWPWD=nnnnnnnn ] [ PWD=pppppppp ] USERID=uuuuuuuu SECCALL CHECK The SECCALL CHECK verb provides user ID and password validation. SECCALL CHECK PWD=pppppppp USERID=uuuuuuuu SECCALL DELETE The SECCALL DELETE verb deletes a user from the user ID database.
Verbs SECCALL UPDATE The SECCALL UPDATE verb updates user ID information held in the user ID database. SECCALL UPDATE MDO=mdo-name USERID=uuuuuuuu START The START verb invokes an NCL procedure for asynchronous execution in the specified environment using the specified variables.
Verbs VARTABLE ALLOC The VARTABLE ALLOC verb defines a new memory-resident table of variables (vartable). ID=tablename [ SCOPE={ CACHED | G90PRC | ENV | GLOBAL | PROCESS | REGION } ] [ AGE={ ALL | GET | NEW | NO | UPDATE } ] [ DATA={ 1 | n } ] [ DELOLD=NO | YES ] [ KEYFMT=CHAR | NUM ] [ KEYLEN=keylen ] [ LIMIT={ 0 | n } ] [ USERCORR=NO | YES ] VARTABLE ALLOC VARTABLE DELETE The VARTABLE DELETE verb deletes an entry from an existing memory-resident table of variables (vartable).
Verbs VARTABLE PUT The VARTABLE PUT verb adds to or updates an entry in an existing memory-resident table of variables (vartable). ID=tablename [ SCOPE={ ENV | GLOBAL | PROCESS | REGION } ] KEY=keyname [ ADJUST=n | COUNTER=n ] [ FIELDS=fieldlist VARS=vlist ] VARTABLE PUT VARTABLE QUERY The VARTABLE QUERY verb obtains information about a memory-resident table of variables (vartable).
Verbs WRITE The WRITE verb writes a message or delivers it to the execution environment of the NCL process: this can be to the user's terminal, to the activity log, or to all monitor class users.
Built-in Functions A2E The A2E built-in function translates an input string from ASCII to EBCDIC. A2E( string [, T ] ) ABBREV The ABBREV built-in function tests a string for a valid abbreviation by comparing its leading characters to an abbreviation in another string. ABBREV( string, abbreviation [, length ] ) ABS The ABS built-in function returns the absolute value of a number. ABS( number ) B2C The B2C built-in function converts a string of binary digits to characters.
Built-in Functions BOOLEXPR The BOOLEXPR built-in function analyzes or evaluates a complex Boolean expression.
Built-in Functions C2X The C2X built-in function converts a string to its hexadecimal equivalent. C2X( string) CENTER The CENTER built-in function centers text within a string. CENTER( string, length [, pad ] ) COMPARE The COMPARE built-in function compares two strings and returns the numerical position of the first differing character. COMPARE( string1, string2 [, pad ] ) COPIES The COPIES built-in function returns a string made up of repetitions of another string.
Built-in Functions DELSTR The DELSTR built-in function deletes part of a string, starting at a specified character position, for a specified length. DELSTR( string, n [, length ] ) DELWORD The DELWORD built-in function deletes a specified number of words from a string, starting at a specified word. DELWORD( string, n [, length ] ) E2A The E2A built-in function translates an input string from EBCDIC to ASCII. E2A( string [, T ] ) INSERT The INSERT built-in function inserts one string into another.
Built-in Functions LOWER The LOWER built-in function converts a specified string to lowercase characters in the native (ASCII) character set. LOWER(string) MASKCHK The MASKCHK built-in function tests a string against a mask. MASKCHK( mask, data [, wildcard ] ) MAX The MAX built-in function returns the highest number in a set of numbers. MAX( number [, number… ] ) MIN The MIN built-in function returns the lowest number in a set of numbers.
Built-in Functions NOYES The NOYES built-in function returns a NO or YES value depending on whether a specified expression is true (1) or false (0). NOYES( expression ) NULL0 The NULL0 built-in function tests a specified string and returns a value of 0 (zero) if the string is null. NULL0( string ) OVERLAY The OVERLAY built-in function overlays one string with another, beginning at the character position specified.
Built-in Functions RIGHT The RIGHT built-in function returns the rightmost characters of a string. RIGHT( string, length [, pad ] ) SELSTR The SELSTR built-in function extracts the leading portion of a string, up to a specified character. SELSTR( char , string ) SIGN The SIGN built-in function tests the specified number and indicates if it is positive, negative, or 0 (zero).
Built-in Functions SYMBOL The SYMBOL built-in function tests the supplied name, to determine if it can be used as a valid NCL variable name. SYMBOL( name ) TEXTTOSSID The TEXTTOSSID built-in function translates an external format string to an internal format SSID. TEXTTOSSID( string [, option ] ) TIME The TIME built-in function returns the current time, in one of several formats.
Built-in Functions VALDEV2 The VALDEV2 built-in function determines whether a supplied string is a valid Guardian device name in the specified system. VALDEV2( device-spec ) VALFILE1 The VALFILE1 built-in function determines whether a supplied string is a valid Guardian file name. VALFILE1( file-spec ) VALFILE2 The VALFILE2 built-in function determines whether a supplied string is a valid Guardian file name in the specified system.
Built-in Functions WORD The WORD built-in function extracts a specified word from a string. WORD( string, n ) WORDINDEX The WORDINDEX built-in function returns the character position of the first character of a specified word in a specified string. WORDINDEX( string, n ) WORDLENGTH The WORDLENGTH built-in function returns the length of a specified word in a string.
Built-in Functions ZFEATURE The ZFEATURE built-in function indicates whether this system is enabled for selected features; that is, whether certain features are allowed to be used at the site. ZFEATURE( feature [, … ] ) ZNCLKWD The ZNCLKWD built-in function indicates whether a specified string is an NCL system or global variable.
Built-in Functions (This 50 page left intentionally blank) 106161 Tandem Computers Incorporated
System Variables &SYS.ALLPARMS The &SYS.ALLPARMS system variable contains a single string that holds the values of all parameters entered when an NCL procedure is invoked. &SYS.ALLPARMS &SYS.CURS.COL The &SYS.CURS.COL system variable is used in conjunction with &SYS.CURS.ROW to determine the cursor column and row coordinates, respectively, of the last operator input from a panel. &SYS.CURS.COL &SYS.CURS.FLD The &SYS.CURS.
System Variables &SYS.DATE.n The &SYS.DATE.n system variable contains the current date in one of the specified formats. &SYS.DATE.1 &SYS.DATE.2 &SYS.DATE.3 &SYS.DATE.4 &SYS.DATE.5 &SYS.DATE.6 &SYS.DATE.7 &SYS.DATE.8 &SYS.DATE.9 &SYS.DATE.10 &SYS.DATE.11 &SYS.DOM.ID The &SYS.DOM.ID system variable contains the message identifier (DOM ID) of a non-roll-delete (NRD) message. &SYS.DOM.ID &SYS.ERROR.CODE The &SYS.ERROR.CODE system variable contains the integer setting that indicates the NCL error type. &SYS.
System Variables &SYS.ERROR.KEYWORD The &SYS.ERROR.KEYWORD system variable contains the keyword that caused the error. &SYS.ERROR.KEYWORD &SYS.ERROR.LIB The &SYS.ERROR.LIB system variable contains the name of the source library associated with the NCL procedure that issued the error. &SYS.ERROR.LIB &SYS.ERROR.LINE The &SYS.ERROR.LINE system variable contains the TEDIT line number in the source file at which the error occurred. &SYS.ERROR.LINE &SYS.ERROR.NAME The &SYS.ERROR.
System Variables &SYS.ERROR.STMT The &SYS.ERROR.STMT system variable contains the statement number that caused the error to be issued. &SYS.ERROR.STMT &SYS.ERROR.STMT_NAME The &SYS.ERROR.STMT_NAME system variable contains the name of the statement that caused the error. &SYS.ERROR.STMT_NAME &SYS.ERROR.SUBNAME The &SYS.ERROR.SUBNAME system variable contains the name of a variable that caused an error. &SYS.ERROR.SUBNAME &SYS.ERROR.TEXT The &SYS.ERROR.
System Variables &SYS.ERROR.VALUE2OK The &SYS.ERROR.VALUE2OK system variable indicates whether &SYS.ERROR.VALUE2 contains information about an error. &SYS.ERROR.VALUE2OK &SYS.FDBK The &SYS.FDBK system variable returns numeric completion information after execution of selected NCL verbs. &SYS.FDBK &SYS.FILE.ERROR The &SYS.FILE.ERROR system variable contains a Guardian file system error. &SYS.FILE.ERROR &SYS.FILE.ID The &SYS.FILE.ID system variable contains the current local file identifier. &SYS.FILE.
System Variables &SYS.GUID.GROUP The &SYS.GUID.GROUP system variable contains the group number under which an NCL procedure is currently running. &SYS.GUID.GROUP &SYS.GUID.USER The &SYS.GUID.USER system variable contains the user number under which an NCL procedure is currently running. &SYS.GUID.USER &SYS.INKEY The &SYS.INKEY system variable contains the name of the function key that terminated user input in the last displayed panel. &SYS.INKEY &SYS.INT.REQ# The &SYS.INT.
System Variables &SYS.LASTLOGON.LOGITERM The &SYS.LASTLOGON.LOGITERM system variable contains the logical name of the terminal last used by the user. &SYS.LASTLOGON.LOGITERM &SYS.LASTLOGON.PHYSTERM The &SYS.LASTLOGON.PHYSTERM system variable contains the physical name of the terminal last used by the user. &SYS.LASTLOGON.PHYSTERM &SYS.LOCK.MSG The &SYS.LOCK.MSG system variable contains the text of the existing lock message of the existing request. &SYS.LOCK.MSG &SYS.LOOPCTL The &SYS.
System Variables &SYS.NCL.ENV The &SYS.NCL.ENV system variable contains the environment in which the NCL process is executing. &SYS.NCL.ENV &SYS.NCL.NEST The &SYS.NCL.NEST system variable contains the nesting level number of the current procedure or function. &SYS.NCL.NEST &SYS.NCL.RESTART The &SYS.NCL.RESTART system variable contains the number of restarts for a persistent NCL process. &SYS.NCL.RESTART &SYS.NCL.TYPE The &SYS.NCL.TYPE system variable contains the type of the current procedure. &SYS.
System Variables &SYS.NM.ID The &SYS.NM.ID system variable contains the ID of this NonStop NET/MASTER MS system allocated to the local NonStop NET/MASTER MS system by the SYSPARMS ID command. &SYS.NM.ID &SYS.NNM.PRODNUM The &SYS.NNM.PRODNUM system variable contains the Tandem product number of the NonStop NET/MASTER MS system. &SYS.NNM.PRODNUM &SYS.NNM.RELDATE The &SYS.NNM.RELDATE system variable contains the release date of this NonStop NET/MASTER MS system. &SYS.NNM.RELDATE &SYS.NNM.VERSION The &SYS.
System Variables &SYS.OS.GENERIC and &SYS.OS.SPECIFIC The &SYS.OS.GENERIC and &SYS.OS.SPECIFIC system variables contain the generic and specific names, respectively, of the operating system under which NonStop NET/MASTER MS is operating. The value of both of these variables is GUARDIAN, which specifies the Tandem NonStop Kernel. &SYS.OS.GENERIC &SYS.OS.SPECIFIC &SYS.PANEL.ERRORC The &SYS.PANEL.ERRORC system variable contains the value specified with the command SYSPARMS SPERRORC. &SYS.PANEL.ERRORC &SYS.
System Variables &SYS.PANEL.INPLOC The &SYS.PANEL.INPLOC system variable contains the value specified with the command SYSPARMS SPINPLOC. &SYS.PANEL.INPLOC &SYS.PANEL.INPUTH The &SYS.PANEL.INPUTH system variable contains the value specified with the command SYSPARMS SPINPUTH. &SYS.PANEL.INPUTH &SYS.PANEL.INPUTP The &SYS.PANEL.INPUTP system variable contains the value specified with the command SYSPARMS SPINPUTP. &SYS.PANEL.INPUTP &SYS.PANEL.LABELC The &SYS.PANEL.
System Variables &SYS.PANEL.SUBTLC The &SYS.PANEL.SUBTLC system variable contains the value specified with the command SYSPARMS SPSUBTLC. &SYS.PANEL.SUBTLC &SYS.PANEL.TITLEC The &SYS.PANEL.TITLEC system variable contains the value specified with the command SYSPARMS SPTITLEC. &SYS.PANEL.TITLEC &SYS.PANEL.TITLEP The &SYS.PANEL.TITLEP system variable contains the value specified with the command SYSPARMS SPTITLEP. &SYS.PANEL.TITLEP &SYS.PARMCNT The &SYS.
System Variables &SYS.RETCODE The &SYS.RETCODE system variable contains the current system return code or contains a new user-assigned return code value. &SYS.RETCODE [ = value ] &SYS.SIGNON The &SYS.SIGNON system variable indicates whether a second window is opened. &SYS.SIGNON &SYS.SYS.ID The &SYS.SYS.ID system variable contains the current operating system identification. &SYS.SYS.ID &SYS.TERM.COLS The &SYS.TERM.
System Variables &SYS.TERM.ROWS The &SYS.TERM.ROWS system variable contains the number of rows available to the physical terminal, regardless of the current processing window size. &SYS.TERM.ROWS &SYS.TERM.TYPE The &SYS.TERM.TYPE system variable contains the type of terminal from which the procedure is running. &SYS.TERM.TYPE &SYS.TIME The &SYS.TIME system variable contains the current time of day in the format hh:mm:ss in which hh is hours, mm is minutes, and ss is seconds. &SYS.TIME &SYS.USER.
System Variables &SYS.VARCNT The &SYS.VARCNT system variable contains the number of variables created or modified by the last NCL verb that used generic processing. &SYS.VARCNT &SYS.WINDOW.COLS The &SYS.WINDOW.COLS system variable contains the number of columns currently available to this processing window. &SYS.WINDOW.COLS &SYS.WINDOW.NUMBER The &SYS.WINDOW.NUMBER system variable contains the identifier of the current window. &SYS.WINDOW.NUMBER &SYS.WINDOW.OCS The &SYS.WINDOW.
System Variables (This 66 page left intentionally blank) 106161 Tandem Computers Incorporated
Panel Control Statements #ALIAS The #ALIAS panel control statement specifies alternative names for fields in a panel description file. The #ALIAS statement allows you to use short names in a panel description file and longer, more meaningful names in an NCL procedure. #ALIAS name { VARS=variable* [ RANGE=( start,end ) ] | VARS=input-vars-list } #ERR The #ERR panel control statement specifies what happens when internal panel validation finds an error.
Panel Control Statements #FLD The #FLD panel control statement defines or modifies the attributes of a field character.
Panel Control Statements #OPT The #OPT panel control statement defines panel processing options. #OPT [ [ [ [ [ [ [ [ ALARM={ YES | NO } ] CURSOR={ varname | row,column } ] DEFAULT=hlu ] ERRFLD=varname ] FMTINPUT={ YES | NO } ] IPANULL={ YES | NO } ] INWAIT=ss.t ] PREPARSE={ ( c,S ) | ( c,D ) } ] #TRAILER The #TRAILER panel control statement provides a means for positioning text at the bottom of the screen, regardless of the screen’s size.
Panel Control Statements (This 70 page left intentionally blank) 106161 Tandem Computers Incorporated
Message Profile Variables CNM Information This MDO variable contains communications network management (CNM) information. &$xxx.
Message Profile Variables Display Attributes of a Message text display attributes contain information about the color, positioning, Message highlighting, and other display characteristics of the message text. &$xxx.MSGATTR &$xxx.MSGATTR.ALARM &$xxx.MSGATTR.CLASS &$xxx.MSGATTR.CLASS.AOMMSG &$xxx.MSGATTR.CLASS.EMSMSG &$xxx.MSGATTR.CLASS.FTSMSG &$xxx.MSGATTR.CLASS.MONMSG &$xxx.MSGATTR.CLASS.MSGALL &$xxx.MSGATTR.CLASS.PPOMSG &$xxx.MSGATTR.DISPLAY &$xxx.MSGATTR.DISPLAY.BKGCOLOR &$xxx.MSGATTR.DISPLAY.
Message Profile Variables DOMID Attributes Unique identifier of a non-roll-delete (NRD) message. &$xxx.DOMID &$xxx.DOMID.DOMAIN &$xxx.DOMID.NUMBER Message Text The message text variable contains the text of the message. &$xxx.TEXT Prefix Information Prefix information, if present, contains information identifying messages that originated from a background environment or from a remote peer system using the ROUTE command. &$xxx.PREFIX &$xxx.PREFIX.LASTMSGID &$xxx.PREFIX.LASTMSGID.ID &$xxx.PREFIX.
Message Profile Variables Source Information Source information variables contain information about the source of the message. &$xxx.SOURCE &$xxx.SOURCE.BKGENV &$xxx.SOURCE.EVENTPROFILE &$xxx.SOURCE.LAST &$xxx.SOURCE.LAST.DOMAIN &$xxx.SOURCE.LAST.NETNAME &$xxx.SOURCE.LAST.SSCP &$xxx.SOURCE.NCLID &$xxx.SOURCE.ORIG &$xxx.SOURCE.ORIG.DOMAIN &$xxx.SOURCE.ORIG.NETNAME &$xxx.SOURCE.ORIG.SSCP &$xxx.SOURCE.REGION &$xxx.SOURCE.SERVERNAME &$xxx.SOURCE.TIME &$xxx.SOURCE.