Illiiiiiiii Liltiiiiii11111iillllllllll IIIIIIIIIIIIIIIIIIIIII Z
Total Page:16
File Type:pdf, Size:1020Kb
IllIIIIIIIIlILtIIIIII11111IIIIillllllllllIIIIIIIIIIIIIIIIIIIIIIz_,"_",'-" 3 1176 00139 9808 NASA Technical Memorandum 80144 NASA-TM-80144 19800012559 p ISISUSERSMANUAL ._,.__-:_._::-_:-,_C2, _o_ _o B__A_ rBO_ _ BO0_ CAROLYN GRANTHAM Ar_-'!. igzg LANGLEY' FdLSLAR,.m _.,c..l_|ER LIBRARY, NASA HAMFffON,VIRGINIA MARCH1980 NASA National Aeronautics and Space Administration Langley Research Center Hampton,Virginia 23665 ABSTRACT The Interactive Software Invocation System (ISIS) is an interactive data management system. ISIS is being developed to act as a buffer between the user and host computing system. ISIS provides the user with a powerful system for developing software systems in an interactive environment. ISIS protects the user from the idiosyncracies of the host computing system by providing such a complete range of capabilities that the user should have no need for direct access to the host computing system. These capabilities include a data editor, a file manager, and a tool invoker, all under the control of a PASCAL-like Interactive Programming Language (IPL). I TABLE OF CONTENTS I. Introduction .............................. 6 II. Interactive Programming Language (IPL) Syntax ............. 7 A. Writeup Conventions ........................ 8 B. Break Key ............................ I0 . Co Errors .............................. ii D. Programming Statements ....................... 12 i. IPL/PASCAL Differences ..................... 12 2. System Variables ........................ 14 3. Comments ............................ 16 4o Declarative Statements ao ABBREV ........................... 18 b. TYPE ........................... 19 Co VAR ........................... 20 do ERASE ........................... 21 So Action Statements a. Assignment ......................... 22 b. EXITIF .......................... 23 Co IF .......................... 24 do FOR .......................... 2S e. LOOP .......................... 26 f. WHILE .......................... 27 go REPEAT .......................... 28 h° FOREACH .......................... 29 i. XEQ .......................... 30 jo SET TAG .......................... 31 ko CLEAR TAG ......................... 31 2 I. SET TRACE ........................ 33 m. CLEAR TRACE ......... ............... 33 n. ASK ............................ 34 o. PRINT, PRINTLN ........................ 36 p. CLEAR RUN ......................... 38 6. Programming Operators and Functions ............... 39 F. Library Statements ......................... 40 i. SET NAHE ............................ 42 2. USE ............................ 43 3. SAVE ............................ 44 4. PURGE ........................... 45 5. VOID ............................ 46 6. STORE ............................ 47 7. RESTORE ............................ 48 G. Text Editing Statements ....................... 49 i. FRAME Concept ......................... 49 2. RANGE Concept ......................... 51 3. Edit Statements ......................... 56 a. FRAME ........................... 56 b. ACTIVE ........................... 57 c. ERASE ........................... 58 d. LIST ........................... 59 e. INSERT ........................... 61 • f. READ ........................... 63 g. WRITE ........................... 65 h. DELETE ........................... 67 i. REPLACE ........................... 69 j. CIIANGE ........................... 71 3 k. ADD ........................... ?4 i. MODIFY ........................... ?6 m. COPY ........................... ?8 n. MOVE ........................... 80 o. REKEY ........................... 82 P. COUNT ........................... 83 q. EXEC ........................... 84 H. Tool Invocation Statements ..................... 86 i. BATCH Tools a. RUN .......................... 8? b. SEND .......................... 89 2. INTERACTIVE Tools a. STOP:SEND ....................... 90 I. Interrogation Statements ...................... 91 i. SHOW SHOWS ........................ 92 2. SHOW RESERVED ........................ 9S 3. SHOW STATEMENTS ........................ 94 4. SHOW AVAIL ........................ 9S 5. SHOW ABBREVS ........................ 96 6. SHOW TYPES ........................ 97 7. SHOW VARS ........................ 98 8. SHOW ID ........................ 99 "i 9. SHOW SETS ........................ I00 i i0 .........................SHOW CLEARS I01 .i! ii • SHOW NAME •°ooo•o•o•oooeo. eeoeooooo 102 z 12 • SHOW PAGES •ooo•o•oooooeeoooooeoooe 103 13. SHOW OPTIONS ........................ 105 14. SHOW COLUMNS ........................ 106 15. SHOW RUN .......................... 107 Appendix A.- Statement Summary Sheet .................... 108 Appendix B.- Alphabetical Statement Summary Sheet ............. 109 Appendix Co- ISIS Local Files ....................... Iii Appendix D.- IPL Error Messages ....................... 112 References ................................. 114 Index ................................... I15 INTRODUCTION _lis document covers the latest version of the Interactive Software Invocation System (ISIS) (12/20/79) discussing the syntax and operation of the Interactive Program Language, IPL. IPL is based on the higher order ._ language PASCAL and anyone wishing to use ISIS should have a working knowledge of PASCAL or have access to a PASCAL Manual (see ref. i). PASCAL was chosen as tilebase language because of its simplicity and its wide range of capabilities. IPL and PASCAL differences are discussed on page 12. IPL contains most of the arithmetic operations, functions, and control statements of a traditional programming language. This language has been extended to include statements for data and text editing, file management, and tool invocation. _e editor manipulates pages of text or data. The IPL statements allow insertion, deletion, replacement, and modification of lines of text or data. The file manager allows the user to save, access, and purge pages within a 5-1evel hierarchical file system. The tool invoker allows the user to communicate with the host computer system. ISIS is being developed by Dro Wo Joseph Berman on contract for Langley Research Center (LaRC). ISIS was originally developed under the CDC NOS-BE operating system at the University of Virginia and is currently running under the CDC NOS 1.3 operating system at LaRC. The transportability of ISIS is being tested by efforts to rehost it to an IBM 370 system and to a PDP-11 machine. Anyone having an application for ISIS is welcome to use it with .i i the understanding that ISIS is not a production system, but a developing system, i On the LaRC system, ISIS is stored on a direct access permanent file under 6 the user number 961300N° The control statements to access and execute ISIS are: .....,::r_.,.:t_.._,:::._i-..i.:h_.:..-"L_n:[...,:,.:,"9_!:0'"',:_Fin - Retrievethe ISIS file. .....i--.i'.Q-. - ExecutesISIS :[iS .T'.?; t,it"iI.!i'......."T_'t:.:.' ',,' 1 =-i _..,"-" :::...._:i...0 2 ..'"_1:':::...,, "i....._:'_. -:.i:::'.o 1:::,_ J.5. i;i:.i2. ,..,:..,"::":'? ' b • - Acceptable ISIS statements. .t5° i-i:-. :!;::"._"-t. ,::.:F::,, _ - Terminate ISIS session. i $ i S i ERt"i]:I.Ii::_:TE]::_o ,::FI:[_:[)F::EL:;:!!;: 5 ::, - L.0Fii:..iFL i;..j4::5:2J.,":'., STFIZ::KF'L. ':,::, i:,."T':,,:=:,J..::,l! ":, :: °.. INTERACTIVE PROGRA_IING LANGUAGE (IPL) SYNTAX The IPL descriptions provided in subsequent sections have the following format: The IPL statement syntax at the top of the page. The words appearing in caps must be typed as shown, whereas, the words in small letters can be replaced with appropriate information° A discussion of the statement, what it does, and how to use it is followed by examples illustrating how the statement can be used° See example page 18. The statements are discussed in groups according to capabilities. The first group, Interactive Programming Statements, contains statements of a traditional programming language. _le second group, File Management Statements, allows the user to save, replace, access, and purge information which is contained within a S-level hierarchical file system. _le third group, Text Editing Statements, contains statements which allows editing (Insertion, Deletion, Replacing, and Hodification) of lines of text or data which is contained in the file system. The fourth group, Tool Invocation Statements, allows the user to communicate with the host computer system. The fifth, and last group, Interrogation Statements, allows the user to make inquiries of ISIS, relating to statements in any of the above groups. 8 SYNTAX Syntax Conventions These conventions will be used in the IPL statements or in the discussions of the statements• ? ISIS prompt - informs the user that ISIS is ready > ISIS indication that the current statement is not yet complete and more input is required id Identifier id(s) One or more identifiers separated by commas J £n Line number n£ A specific number of lines [ ] Optional information for command I I_ Command choices are enclosed in brackets separated by vertical slashes (I) col Column number inc Line increment ... ISIS acknowledgement to the _ key • Separators in DATA BASE library page name , List separator BREAK Key Key The _ key has two functions. It enables the user to discard a lly typed line and reenter it. This is in:addition to the normal key. It also allows the user to terminate a command. The line to be reentered may be a command statement (statement verb) or a line in the ACTIVE page the user is in the process of editing. A good example would be if he made a typographical error in the text being inserted. The user hits the BREAK