Roscoe v6.0 - Getting Started Guide
Roscoe v6.0 - Getting Started Guide
Roscoe v6.0 - Getting Started Guide
SP3
This documentation and related computer software program (hereinafter referred to as the Documentation) is for the end users informational purposes only and is subject to change or withdrawal by Computer Associates International, Inc. (CA) at any time. This documentation may not be copied, transferred, reproduced, disclosed or duplicated, in whole or in part, without the prior written consent of CA. This documentation is proprietary information of CA and protected by the copyright laws of the United States and international treaties. Notwithstanding the foregoing, licensed users may print a reasonable number of copies of this documentation for their own internal use, provided that all CA copyright notices and legends are affixed to each reproduced copy. Only authorized employees, consultants, or agents of the user who are bound by the confidentiality provisions of the license for the software are permitted to have access to such copies. This right to print copies is limited to the period during which the license for the product remains in full force and effect. Should the license terminate for any reason, it shall be the users responsibility to return to CA the reproduced copies or to certify to CA that same have been destroyed. To the extent permitted by applicable law, CA provides this documentation as is without warranty of any kind, including without limitation, any implied warranties of merchantability, fitness for a particular purpose or noninfringement. In no event will CA be liable to the end user or any third party for any loss or damage, direct or indirect, from the use of this documentation, including without limitation, lost profits, business interruption, goodwill, or lost data, even if CA is expressly advised of such loss or damage. The use of any product referenced in this documentation and this documentation is governed by the end users applicable license agreement. The manufacturer of this documentation is Computer Associates International, Inc. Provided with Restricted Rights as set forth in 48 C.F.R. Section 12.212, 48 C.F.R. Sections 52.227-19(c)(1) and (2) or DFARS Section 252.227-7013(c)(1)(ii) or applicable successor provisions.
Contents
About This Guide
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
v 1-1 2-1 2-2 2-4 2-9 3-1 3-2 3-3 3-4 3-5 4-1 4-2 4-3 4-4 4-6 5-1 5-2 5-3 5-4
Chapter 2. Signing On and Entering Data 2.1 Signing On to CA-Roscoe . . . . . . . . 2.2 Entering Data . . . . . . . . . . . . . . . 2.3 Review/Summary . . . . . . . . . . . . . Chapter 3. Saving Data and Signing Off 3.1 Introducing the CA-Roscoe Library . . 3.2 Saving Data . . . . . . . . . . . . . . . 3.3 Signing Off . . . . . . . . . . . . . . . 3.4 Review/Summary . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Chapter 4. Retrieving and Displaying Data . . . . . . . . . . . . . 4.1 Displaying Data 4.2 Displaying Data to Modify . . . . . . . 4.3 Detaching and Reattaching Data . . . . 4.4 Review/Summary . . . . . . . . . . . . . Chapter 5. Scrolling Through Data 5.1 Using PF Keys to Scroll . . . . . 5.2 Using Commands to Scroll . . . 5.3 Review/Summary . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Chapter 6. Modifying Data . . . . . . . . . 6.1 Using Multiple Commands . . . . . . . . 6.2 Correcting and Changing Commands . . . 6.3 Moving Data Within the AWS . . . . . . 6.4 Copying Data Within the AWS . . . . . . 6.5 Deleting Data From the AWS . . . . . . . 6.6 Renumbering the AWS . . . . . . . . . . 6.7 Locating Specific Words Within the AWS 6.8 Changing Words Within the AWS . . . . 6.9 Review/Summary . . . . . . . . . . . . . . Chapter 7. Updating Data . . 7.1 Updating a Library Member
6-1 6-2 6-3 6-5 6-8 6-10 6-12 6-13 6-18 6-20 7-1 7-2
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Contents iii
Obtaining Library Member Information Changing Member Attributes . . . . . Renaming a Member . . . . . . . . . . Deleting a Member . . . . . . . . . . . Review/Summary . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7-3 7-6 7-8 7-9 7-10 8-1 8-2 8-3 8-4 9-1 9-2 9-3 9-4 10-1 10-2 10-3 10-4 10-5 10-6 10-7 11-1 11-2 11-4 11-5
Chapter 8. Printing Data . . . 8.1 Identifying What to Print . 8.2 Determining the Print Status 8.3 Review/Summary . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Chapter 9. Communicating With Others 9.1 Sending Messages . . . . . . . . . . . 9.2 Receiving Messages . . . . . . . . . . 9.3 Review/Summary . . . . . . . . . . . . Chapter 10. Other Things You Can Do 10.1 Submitting and Viewing Jobs . . . 10.2 Performing Data Management Tasks 10.3 Learning About RPF . . . . . . . . 10.4 Executing Application Under ETSO 10.5 Executing TSO Commands . . . . . 10.6 Review/Summary . . . . . . . . . .
Chapter 11. Learning More About CA-Roscoe 11.1 Online HELP Facility . . . . . . . . . . . . 11.2 Online Training . . . . . . . . . . . . . . . 11.3 Documentation . . . . . . . . . . . . . . .
Organization
CHAPTER 1 2 3 4 5 6 7 DESCRIPTION Introduces CA-Roscoe and describes how to use this manual. Describes how to sign on to CA-Roscoe and enter data. Describes how to save data in the CA-Roscoe library and then sign off CA-Roscoe. Describes how to display data saved in the CA-Roscoe library, detach that data and then reattach it. Describes how to use PF keys and commands to scroll the displayed data. Describes how to use primary and line commands to change data. Describes how to update data saved in the CA-Roscoe library with changes made to data in the AWS. Also describes how to obtain library member information and how to maintain library members. Describes how to print data. Describes how to send messages to other users. Introduces areas of CA-Roscoe that are described in detail in other manuals. Describes how to obtain additional information about CA-Roscoe.
8 9 10 11
Summary of Revisions
This manual has been updated to reflect enhancements to CA-Roscoe 6.0. For details about these enhancements, see the 'Summary Of Amendments' in the CA-Roscoe Command Reference Guide, CA-Roscoe User Guide, and the CA-Roscoe RPF Language Guide. Editorial and minor technical changes have been made throughout this manual.
CA-Roscoe Publications
The following publications are supplied with CA-Roscoe. They are divided into a User Series and a System Series. User Series Name Command Reference Guide Extended Development Tools Guide Contents Describes all CA-Roscoe primary and line commands and Monitor commands. Describes how: 1) the Application Programming Interface (API) can be used by applications executing under ETSO to take advantage of CA-Roscoe facilities, and 2) the interactive facilities provided by SKETCH can be used to generate and maintain panels used in programs running under CICS or IMS. Introduces CA-Roscoe to non-programmers. Summarizes all CA-Roscoe primary and line commands and Monitor commands. Summarizes all Roscoe Programming Facility (RPF) commands, functions, expressions and variables. Provides a summary of the enhancements included in this release. Describes all components of the RPF language and how to write RPF programs. It also describes the Dialog Management Facility (DMF) which can be used to develop, maintain and execute panel-driven RPF applications. Provides task-oriented descriptions of how to use CA-Roscoe.
Getting Started Guide Reference Summary Reference Summary (for RPF) Release Guide RPF Language Guide
User Guide
System Series Name CA-ACTIVATOR 2.1 Supplement Extended Facilities for System Programmers Guide Installation Guide Messages and Codes Guide Programs and Utilities Guide
Contents Presents CA-ACTIVATOR installation procedures. Describes how sites can make extensions to their CA-Roscoe system. This includes creating site-written Monitor routines and customizing security and other online exits. Describes the steps to follow when installing or upgrading CA-Roscoe. Explains all messages that might be received by individuals using CA-Roscoe and/or by the individual responsible for maintaining CA-Roscoe. Describes CA-Roscoe execution requirements. Also describes maintenance and reporting programs for the accounting facility, Active Work Space (AWS), library system, and user profile system. Describes implementation of internal and external security to protect your CA-Roscoe system. Describes commands used to control and monitor CA-Roscoe and to obtain performance information about that execution. Intended for the individual responsible for maintaining CA-Roscoe. It describes CA-Roscoe and its components.
Related Publications
The following manuals are included in the CA90s Services Documentation set: Title CA90s Services Reference Guide CA90s Services Installation and Maintenance Guide CA90s Services Message Guide CA90s Services CA-ACTIVATOR 2.1 Supplement CA90s Services CA-ACTIVATOR Implementation and User Guide CA-ViewPoint User Guide Contents Operating Instructions for the CA90s Services. Installation procedure and installation JCL for CA90s Services. Messages and codes for CA90s Services. Proceduresa for using CA-ACTIVATOR to install and maintain CA90s Services. Installation and upgrade instructions, and operating instructions for CA-ACTIVATOR. Contains information and examples for implementing and using ViewPoint.
The following manuals relate to CA-Roscoe and are available from Computer Associates. Title CA-Earl Reference Guide Contents Contains detailed information about CA-Earl statements, parameters, and coding rules. Also explains the CA-Earl Reporting Service. Designed for users interested in learning about CA-Earl. It presents an introduction to CA-Earl features and capabilities. Lists the installation options for CA-Earl and instructions for modifying them. Also describes size requirements and program execution. Contains sample programs that show a variety of common applications.
CA90s Services
CA90s Services are a common set of services that may be used by any MVS Computer Associates product. These services are maintained separately from the product and are documented and installed separately as well. CA-Roscoe uses CAIRIM for installation services and security. Licensing Management Program (LMP) CA-Roscoe now interfaces with CAIRIM services to determine product licensing authorization.
Command Notation
The command syntax described in this manual uses the following notation conventions: [] {} UPPERCASE Mixed Cases Indicates optional keywords, operands or parameters from which you may select one or none. Indicates required keywords, operands or parameters from which you must select one. Identifies command, operand or keyword values which must be coded exactly as shown. Identifies command, operand or keyword abbreviations. The uppercase letters are the minimum abbreviation. Lowercase letters are optional. Indicates a default value that you need not supply. Indicates a variable for which a value must be supplied.
underline lowercase
Lowercase alphabetics are shown as: aname charstr Name of an AWS. Any sequence of printable entities specified in character format. If it is shown as /charstr/, the string must be bound by a special character and may include blanks. The special character delimiting the string and the special character used as the command delimiter cannot appear within the string itself. context Keyword operand that identifies the type of string specified with the command (qualifying the type of search operation to be performed). Name of an OS data set or CA-Librarian master file. Name of a PDS member or CA-Librarian master file module. (RPF only.) One or more elements and associated operators. Increment value used for determining line numbers. (RPF only.) Integer or a variable whose value can be converted into an integer. Length of a string or field. Name of a CA-Roscoe library member. If the member belongs to another user, that user's prefix must be included (for example, pfx.mem). Line number.
Destination of an operation, which can be represented using any of the following forms: * B or ,, R T v Line at which the pointer is positioned. After the last line of an AWS. Replaces the contents of the AWS. (This destination/operation is not valid with all commands.) Before the first line of the AWS. Specific line number in an AWS. If the number exists, the destination is after line v. If the line number does not exist, the destination begins with line v.
-p p q
Processing option specified with Monitor commands. Range of lines, where p is the line at which the operation begins and q is the line at which the operation ends. If p is a line number, q must also be a line number. If p is an * (indicating line at which pointer positioned), q must be a line count. If q is omitted, the operation is limited to p If p and q are omitted, all lines are assumed.
position
Keyword operand designating the screen position that is to occur when a string match is found. If omitted, the positioning currently in effect is used. If specified, the positioning affects the single execution of the command. (RPF only.) Real number or a variable whose value can be converted into a real number. Range of columns, where s is the number of the column at which the operation begins and e is the number of the column at which the operation ends. If only one value is specified, it is assumed to be the ending column (e).
real s e
s l
Range of columns, where s is the starting column number of the range and l is the length of the range. If only one value is specified, it is assumed to be the starting column (s).
scope
Keyword operand designating the location of the data to be affected by the command. If omitted, the currently attached data is assumed. (RPF only.) String or a variable whose value can be converted into a string.
str
string
Any sequence of entities specified in either character format or its hexadecimal representation. If shown as /string/, the string must be bound with a special character. The special character delimiting the string and the special character used as the command delimiter cannot appear within the string.
Numeric value.
Every CA-Roscoe command. For a synopsis of all CA-Roscoe commands, see the Reference Summary. For a detailed description of each command, see the CA-Roscoe Command Reference Guide. Every type of task that can be performed using CA-Roscoe. The chapter "Other Things You Can Do" contains a brief description of the types of tasks that are not described within this manual. This manual is written under the assumption that you have: Used a 3270-type terminal before. If you have not, ask someone at your site to explain the various hardware editing keys (particularly the keys to insert and delete data), the cursor positioning keys, the ENTER key, and the PF keys. A sign-on key. If you do not, ask your site management what sign-on key you should use. Also ask whether or not that sign-on key has a password associated with it. If it does, you will need to know the password. It is also useful if you have a copy of the CA-Roscoe User Guide. That book provides detailed information about the AWS, CA-Roscoe library, OS data sets, job output and general session information. We will be referring you to that book to find additional information about specific topics.
Type your sign-on key in the field named KEY. (The cursor is already positioned there.) If you have a password, move the cursor to the field named PASSWORD and type your password. The fields GROUP CODE and NEW PASSWORD can be used to provide additional sign-on security. We are going to ignore them. Your site management will tell you if these fields need to be used. After typing your sign-on key (and password, if needed) press the ENTER key. The following screen illustrates the next screen that you will see.
The cursor is positioned to the first line of the Command Area. By default, the Command Area consists of the first three lines of the screen. (There is a command that you can use to change the number of lines in the Command Area.) This is where you will enter all CA-Roscoe primary commands. The next three lines comprise the System Control Area. CA-Roscoe uses these lines to provide information. The first line (beginning with a >) is the Response Line. It is used to display messages. To illustrate, make sure the cursor is in the Command Area and then, Type -> XXX Press the ENTER key. CA-Roscoe displays the message: CMD 4 COMMAND NOT RECOGNIZED and positions the cursor to the 'command' in error - xxx in this case. You can now correct the command, change it or delete it. (As a matter of fact, please use the ERASE EOF key to delete xxx.) For now, we will ignore the second line beginning with a >. The third line is called the Scale Line. It reflects the margins currently in effect. You can use it to determine the exact position of a character within a 255-character line. The remaining lines of the screen are called the Execution Area. This is where you will enter, edit and display data.
> > AWS() SCRL FULL COLS 1 72 A<ROS1> > ....+....1....+....2....+....3....+....4....+....5... ...... ============================= T O P ================= 1 A: Able. 2 B: Baker. 3 C: Charlie. 4 D: Dog. ...... ========================== B O T T O M ==============
Notice the information appearing on the second line containing an >. This line is called the System Information Line. It tells you: The location and name of the data. In this example, it shows the keyword AWS followed by (). This means that the information you typed has been placed in the AWS. The () means that the information is unnamed. How the display will be scrolled. FULL means that if you press a PF key that is assigned a scrolling function, your display will scroll forward or backward one line less than a full screen of data. You can change the scroll value by positioning the cursor to the SCRL field and typing: number HALF MAX CSR To To To To scroll scroll scroll scroll that number of lines, half the display, to the top or bottom of the AWS, or based on the position of the cursor.
The number of the currently displayed left and right margins. You can change the display margins by: 1. overtyping the column numbers shown in this field, or 2. using the SET DISPLAY command.
The name of the AWS that is active. While we will only be using one AWS with the exercises in this manual, you have two AWSs available for your use. They are named ROSn (where 'n' is a unique identifier). By site option, you may be able to create and use additional AWSs. Notice also that the Execution Area contains lines marking the top and bottom of the data. Later, when we talk about scrolling data, you will see how these markers are useful as reference points. Right now, there is not much data to scroll. So let's add more data to the AWS. If you want to add information to the end of the AWS, you can again use the INPUT command. When information is already in the AWS and you type INPUT, CA-Roscoe makes the last line in the AWS the first displayed line, 'opens' the Execution Area and positions the cursor to the first line available for data entry. If the cursor is not in the Command Area, move it there and then, Type -> INPUT Press the ENTER key. The resulting display starts with line 400. The cursor is placed at the first data entry line (for example, 500). You are now ready to enter more data. Type -> E: Easy. F: Fox. Press the ENTER key. If you want to add information after a specific line, you can do so by specifying that line number with the INPUT command. For example, to add data after line 500, move the cursor to the Command Area and, Type -> INPUT 5 Press the ENTER key. Type -> T: Z: Tango. Zebra. or I 5 or I
Press the ENTER key. The screen 'closes' and the display begins with line 500. You can use a PF key to scroll the display back to the beginning (for example, line 100). (While it may be different at your site, PF7 is the key normally assigned the scroll backward function.) The following screen illustrates how your screen should appear.
Notice the sequence numbers to the left of the screen. By default, CA-Roscoe numbers the AWS beginning with 100 and incremented by 100. When you insert data at the end of the AWS, the line number increment of 100 is still used. However, if you insert data between existing lines, CA-Roscoe increments the new lines by ones. This is done to minimize changes to your existing line numbers. After Using INPUT COMMAND
> > AWS() SCRL FULL COLS 1 72 A<ROS1> > ....+....1....+....2....+....3....+....4....+....5... ...... ============================= T O P ================= 1 A: Able. 2 B: Baker. 3 C: Charlie. 4 D: Dog. 5 E: Easy. 5 1 T: Tango. 5 2 Z: Zebra. 6 F: Fox. 7 ========================== B O T T O M ==============
Now move the cursor to the sequence number field of line 600 and, Type -> IB5 The following screen shows the I and IB line commands before the ENTER key is pressed. Using I and IB Line Commands
> > AWS() SCRL FULL COLS 1 72 A<ROS1> > ....+....1....+....2....+....3....+....4....+....5... ...... ============================= T O P ================= 1 A: Able. 2 B: Baker. 3 C: Charlie. I 4 D: Dog. 5 E: Easy. 5 1 T: Tango. 5 2 Z: Zebra. IB56 F: Fox. 7 ========================== B O T T O M ==============
Press the ENTER key. With the I line command, a blank line is inserted immediately after the line containing the command. With IB, the blank line is inserted before the line containing the command. To insert more than one line, specify a number with the command. (Notice that IB5 causes five lines to be inserted before line 700.) If you do not type on all of the inserted blank lines, the unused lines are deleted when you press ENTER. On the inserted line following line 400, Type -> X: X-ray.
On the inserted lines preceding line 600, Type -> V: Victor. S: Sierra. Press the ENTER key. Notice that the unused lines have been deleted from the display.
2.3 Review/Summary
2.3 Review/Summary
In this chapter, you have learned: How to sign on to CA-Roscoe. The format of the CA-Roscoe screen. That CA-Roscoe supports both primary and line commands. How to use primary and line commands to enter data into the AWS.
You now know that the data you type in the Execution Area of the CA-Roscoe screen is placed in the AWS when you press the ENTER key. The AWS, which is a temporary work area, is the only place where data can be entered and edited. Table 2-1 shows the title of the chapter in the CA-Roscoe User Guide where you can get additional information about the topics discussed in this chapter.
Table 2-1. Summary: Signing On and Entering Data
TOPIC AWS Entering Data Screen Format Signing On plus Establishing and Changing Passwords Primary and Line Commands
CHAPTER Introducing the AWS Entering Data into the AWS Selecting a Screen Format Signing On and Off CA-Roscoe
The CA-Roscoe Command Reference Guide contains a detailed description of the commands described in this chapter. In the next chapter, you will learn how you can save the data you have in the AWS in the CA-Roscoe library.
_ > > AWS(pfx.WORDS) SCRL FULL COLS 1 72 > ....+....1....+....2....+....3....+....4....+....5... ...... ============================= T O P ================= 1 A: Able. 2 B: Baker. 3 C: Charlie. 4 D: Dog. 4 1 X: X-ray. 5 E: Easy. 5 1 T: Tango. 5 2 Z: Zebra. 6 V: Victor. 6 1 S: Sierra. 6 2 F: Fox. 7 ...... ========================== B O T T O M ==============
3.4 Review/Summary
3.4 Review/Summary
In this chapter, you have learned: About the CA-Roscoe library. How to save data in the AWS as a member on the CA-Roscoe library. How to sign off CA-Roscoe. About the special library member named SAVAWSnn.
You now know how to save data that is in the AWS as a member in the CA-Roscoe library. You know that the name to assign to that member will always be unique because CA-Roscoe associates your prefix with the name. You also know that if you forget to save the contents of the AWS before you sign off, CA-Roscoe will save the contents for you. Table 3-1 shows the title of the chapter and/or section in the CA-Roscoe User Guide where you can get additional information about the topics discussed in this chapter.
Table 3-1. Summary: Saving Data and Signing Off
CHAPTER Introducing the Library Facility Saving Data as a Library Member Signing On and Off CA-Roscoe
The CA-Roscoe Command Reference Guide contains a detailed description of the commands described in this chapter.
_ > > LIB(pfx.WORDS) SCRL FULL COLS 1 72 > <...+....1....+....2....+....3....+....4....+....5.... ================================= T O P ============== 1 A: Able. 2 B: Baker.
Notice that the System Information Line now begins with the keyword LIB. This means that you are looking at the contents of a member in your library. (As with the keyword AWS, LIB is followed by the prefixed name of your library member.) Note: The chapter 'Updating Data' describes another way that you can view a library member. Try to move the cursor to the Execution Area of the screen. When a library member is attached, you can look at its contents, use PF keys to scroll through the contents, and enter a variety of commands to locate specific occurrences of words within the contents. You cannot modify the contents of the library member You can only modify the contents of the AWS. Therefore, to change a member, you must first bring a copy of it into the AWS.
You do not have to include your prefix when you are FETCHing a copy of one of your own library members. If you do not include a prefix, CA-Roscoe assumes you are referring a library member that you own. Obviously then, when you reference someone else's library member, you must include their prefix (for example, FETCH XYZ.WORDS). Press the ENTER key. Notice that the System Information Line still shows LIB, indicating that your library member is attached, even though you have brought a copy of that member into the AWS. To view the contents of the AWS, you must connect (or attach) the AWS to your terminal. To do this, Type -> ATTACH Press the ENTER key. Now the System Information Line shows that the AWS is attached. The AWS will remain attached until you detach it. or A
The double commas have a special meaning to CA-Roscoe; they represent the last line in the AWS or the library member. If you omitted them (for example, if you typed ATTACH 500), only the line numbered 500 would be displayed. Press the ENTER key. Another character that has a special meaning to CA-Roscoe is the asterisk (*). You can use it when reattaching data to have the display begin with the line that had been
the previously displayed first line. To illustrate how this works, first detach the AWS. (You can do this using either the DETACH command or by attaching your library member WORDS.) Now, to reattach the AWS, Type -> ATTACH Press the ENTER key. Notice that the display begins with line 500, the same line that had previously been the first line of the display. ,, or A ,,
4.4 Review/Summary
4.4 Review/Summary
In this chapter, you have learned how to: Attach a library member. FETCH a copy of a library member into the AWS and the ATTACH the AWS to the terminal. Detach and reattach a library member and the AWS. Use special CA-Roscoe reserved characters. Table 4-1 shows the title of the chapter and/or section in the CA-Roscoe User Guide where you can get additional information about the topics discussed in this chapter.
Table 4-1. Summary: Retrieving and Displaying Data
TOPIC Attaching the AWS Attaching library members Bringing data into the AWS Reattaching the AWS Using Reserved Characters
CHAPTER Attaching an AWS to the Terminal Attaching Library Data at the Terminal Attaching an AWS to the Terminal Attaching an AWS to the Terminal Commands and Command Components
The CA-Roscoe Command Reference Guide contains a detailed description of the commands described in this chapter. In the next chapter, you will learn how you can scroll through the data in the AWS.
ASSIGNMENT Scroll backward (for example, towards the top of the screen). Scrolls forward (for example, towards the bottom of the screen). Scroll the display to the left. Scroll the display to the right.
By default, a list of all PF and PA key assignments is assigned to PA2. If you press this key, a list of assignments will be displayed. Your site management has the option of changing any PF or PA key assignment. If they have done so, they will have updated the information provided by PA2.
Press the ENTER key. By including a number with the command, you can position the display to begin that number of lines after the top (for example, T+5) or before the bottom (that is, B-5).
5.3 Review/Summary
5.3 Review/Summary
In this chapter, you have learned: How to use the PF keys to scroll through attached data. How to use the POINT command and a variety of line commands to scroll through the contents of the AWS. Table 5-2 shows the title of the chapter and/or section in the CA-Roscoe User Guide where you can get additional information about the topics discussed in this chapter.
Table 5-2. Summary: Scrolling Through Data
The CA-Roscoe Command Reference Guide contains a detailed description of the commands described in this chapter. In the next chapter, you will learn how you can use primary and line commands to modify the data that is in the AWS.
5.3 Review/Summary
FETCH ATTACH > CMD13 INSUFFICIENT NUMBER OF OPERANDS SPECIFIED > AWS(pfx.WORDS) SCRL FULL COLS 1 72 > ....+....1....+....2....+....3....+....4....+....5... ...... ============================= T O P ================= 1 2 B: Baker. 3 C: Charlie. 4 D: Dog.
At this point, you can correct the command in error, change it or delete it. You can change, add or delete any commands that follow the corrected command. You can even insert commands ahead of the corrected command. The following screen illustrates what happens if you enter an invalid or incomplete line command.
> > AWS(pfx.WORDS) SCRL FULL COLS 1 72 > ....+....1....+....2....+....3....+....4....+....5... ...... ============================= T O P ================= 1 2 B: Baker. 3 C: Charlie. XX 4 <<< ATX 1 INVALID COMMAND >>> 4 1 X: X-ray. 5 E: Easy. 5 1 T: Tango. 5 2 Z: Zebra. 6 V: Victor. 6 1 S: Sierra. 6 2 F: Fox.
If you should enter an invalid or incomplete line command, CA- Roscoe displays a message and halts processing. No changes to the data are applied; no line commands are executed; no primary commands are executed. To correct the command in error, you can: 1) overtype it with a valid line command, 2) blank out the sequence number field using the Delete key, the Erase EOF key, or the space bar, or 3) use the RESET line command. You can use the RESET line command to have CA-Roscoe ignore: 1) all of the currently displayed line command (and any pending line commands), and 2) any changes made to the currently displayed data.
As with the primary command, you must designate which lines are to be moved and the line where they are to be inserted. The move line commands require that you use specific destination line commands. Table 6-1 lists some of the destination line commands.
Table 6-1. Destination Line Commands
COMMAND B A BB TT
FUNCTION To insert before the line containing the command. To insert after the line containing the command. To insert after the last line of the AWS. To insert before the first line of the AWS.
To move the line numbered 501 to the top of the AWS, position the cursor to the sequence number field of line 501. Type -> M Now indicate the destination by moving the cursor to the sequence number field of the next line. Type -> TT Press the ENTER key. To move a range of lines, use the MM line commands. Place MM in the sequence number field of the first and last line in the range.
The following screen illustrates how you could move lines 1 and 100 after line 200. Moving Multiple Lines
> > AWS(pfx.WORDS) SCRL FULL COLS 1 72 > ...1....+....2....+....3....+....4....+....5....+.... ...... ============================= T O P ================= MM MM 1 A 2 3 4 4 5 5 6 6 6 1 T: A: B: C: D: 1 X: E: 2 Z: V: 1 S: 2 F: Tango. Able. Baker. Charlie. Dog. X-ray. Easy. Zebra. Victor. Sierra. Fox.
Do the move operation illustrated in the previous screen. Move the cursor to the sequence number field of line 1. Type -> MM Now move the cursor to line 100. Type -> MM Finally, move the cursor to line 200. Type -> A Press the ENTER key.
Notice that you are again using T to indicate that the destination of this operation is the top of the AWS. When specifying a destination, you can use a line number or the positional expressions T (meaning the top of the AWS) or B (meaning the bottom.) Press the ENTER key. To copy multiple lines, you need to include the number of the first and last line to be copied plus the destination of the operation. For example, to copy lines 300 through 500 after line 600, Type -> COPY 3 Press the ENTER key. 5 6 or C 3 5 6
There are also line commands that allow you to repeat one or more lines after themselves. For example, suppose you have a second definition for 'D'. You could insert a blank line and then type your new definition. However, if you use the R line command, you can repeat the existing line and then modify it as needed. In the sequence number field of line 400, Type -> R Press the ENTER key. Now, on line 401, overtype the definition 'Dog' with 'Delta'. Press the ENTER key.
> AWS 7: LINES 1 THRU BOTTOM SEARCH WITH 3 MATCHES > AWS(pfx.WORDS) SCRL FULL COLS 1 72 > ....+....1....+....2....+....3....+....4....+....5....+. ...... ======================= INCL/EXCL DISPLAY ============== 5 X: X-ray. 8 Z: Zebra. 1 S: Sierra.
Notice that the cursor is positioned to the first occurrence of the string. When using the INCL or EXCL line command, the command is typed in the sequence number field of the first line to be searched. Then, the character string is typed in the data portion of the same line.
Use a PF key assigned a scroll function or the ATTACH command to position the display to begin with the first line in the AWS. Move the cursor to the sequence number field of line 10. Type -> EXCL Now move the cursor to the data portion of the same line. Type -> /ra/ When you type a string in the data portion of a line, you need to tell CA-Roscoe where your string starts and stops. You do this by bounding the string with a special character, called a string 'delimiter'. In our examples, we use the slash (/) to delimit character strings. (After you execute this command, the data that you overtyped is redisplayed.) The following screen illustrates how this line command and its string operand should be entered: Using the EXCL Line Command
> > AWS(pfx.WORDS) SCRL FULL COLS 1 72 > ....+....1....+....2....+....3....+....4....+....5... ...... ============================= T O P ================= EXCL /ra/ 2 B: Baker. 3 C: Charlie. 4 D: Dog. 5 X: X-ray. 6 E: Easy. 7 T: Tango. 8 Z: Zebra. 9 V: Victor. 1 S: Sierra. 11 F: Fox.
Press the ENTER key. You will see that with EXCL every line that does not contain the string is displayed. Also, notice that the format of the resulting display is the same as that produced by the INCL primary command.
Actually, you did not have to enter the string 'ra' since you used that string with the INCL primary command. Once you have specified a string, it is remembered and used with every subsequent INCL and EXCL primary or line command that does not include a string. It is also used with every FIRST, LAST, NEXT and PREV primary and line command that does not include a string.
> > AWS(pfx.WORDS) SCRL FULL COLS 1 72 > ....+....1....+....2....+....3....+....4....+....5... ...... ============================= T O P ================= LAST /er/ 2 B: Baker. 3 C: Charlie. 4 D: Dog. 5 X: X-ray. 6 E: Easy. 7 T: Tango. 8 Z: Zebra. 9 V: Victor. 1 S: Sierra. 11 F: Fox.
Press the ENTER key. The resulting display begins with line 100, the line containing the last occurrence of 'er' in the AWS. As their names imply, you can use the NEXT and PREV primary and line commands to find the next occurrence of a string or the previous occurrence of a string. In every instance, the line containing the string is presented as the first displayed line. If you are looking for multiple occurrences of the same string, you need not retype the string each time you use the command. For example, move the cursor to the Command Area. Type -> PREV Press the ENTER key. The previous occurrence of the string 'Female' now begins the display. Once you have specified a string, it is remembered and used in subsequent EXCL, FIRST, INCL, LAST, NEXT and PREV primary and line commands that do not include a string.
One last note about locating a string. When you are using a line command, you must delimit the string. Since you're typing the string in the data portion of the Execution Area, CA-Roscoe needs to know where the string starts and stops. Usually, you do not have to delimit the string you specify with a primary command, as in: FIRST to If, however, the string contains a space or matches an operand of the command, you must delimit the string, as in: FIRST /F: Fox/
The following screen illustrates the placement of this command and its strings. Using the EB Line Command
> > AWS(pfx.WORDS) SCRL FULL COLS 1 72 > ....+....1....+....2....+....3....+....4....+....5... ...... ============================= T O P ================= EB /xx/er/ 2 B: Baker. 3 C: Charlie. 4 D: Dog. 5 X: X-ray.
6.9 Review/Summary
6.9 Review/Summary
In this chapter, you have learned how to use multiple commands and correct any that may have been entered incorrectly. You have also learned how to use primary and line commands to: Move, copy, delete and renumber lines within the AWS. Locate all or specific strings of characters within the AWS. Replace one character string with another within the AWS. Table 6-2 shows the title of the chapter and/or section in the CA-Roscoe User Guide where you can get additional information about the topics discussed in this chapter.
Table 6-2. Summary: Modifying Data
TOPIC Using Multiple Commands and Correcting Commands Session Options Changing Words Copying Lines Deleting Lines Locating Words Moving Lines Repeating Lines
CHAPTER Commands and Command Components Displaying/Changing Session Status Information Changing Character Strings Within the AWS Copying Data Within the AWS Deleting Data Within the AWS Locating a Character String Within the AWS Moving Data Within the AWS Copying Data Within the AWS
The CA-Roscoe Command Reference Guide contains a detailed description of the commands described in this chapter. In the next chapter, you will learn how you can update the contents of a library member, change the attributes of the member, rename and even delete the member.
> > LIB() SCRL FULL COLS 1 79 ....+....1....+....2....+....3....+....4....+....5....+....6. LIBRARY FACILITY FUNCTION PREFIX MEMBER SIGNON KEY FORMAL KEY SEARCH CONFIRM DELETE A C ==> ==> ==> ==> ==> ==> ==> your prefix your signon key your formal key (SHR,RES,EXE,NOD) YES - DELETE MEMBERS - INFO MEMBERS P R X - PRINT MEMBER - RENAME MEMBERS - TERMINATE LIB
If this is the first time you are using the Library Facility, the menu will contain your CA-Roscoe prefix, sign-on key and formal key. The YES with CONFIRM DELETE means that if you try to delete one of your library members, CA-Roscoe will display the name of that member and ask you to confirm that you want the member deleted.
The codes at the bottom of the previous screen indicate the types of actions you can perform. For example, if you type a library member name in the field MEMBER and an A in the FUNCTION field, you can display the contents of that member. We are going to use the code A, however, to attach a list of your library members. Make sure that no library member name appears in the MEMBER field and then, Type -> A (in FUNCTION field) Press the ENTER key. The following screen illustrates the type of information that is contained in the resulting member Selection List. (As you will see later, in addition to displaying information, you can use a Selection List to perform specific actions.) Library Selection List Description
> > LIB() SCRL FULL COLS 1 72 LINE 1 ....+....1....+....2....+....3....+....4....+....5....+....6.. ==================================== T O P =================== SIGNON KEY MEM EXCL BLOCKS M-LINES LINES your-key 3 23 2 34 MEMBER STATUS DESCRIPTION LINES ATR SEQNO XYZ.JUNK XYZ.SAVAWS 1 XYZ.WORDS NROS1 datetime 1 SHR NOSEQ 1 SHR 73,8 23 SHR 73,8
The amount of information provided by this Selection List exceeds the width of 80-column screens. The information is, therefore, divided into alternate displays. You can change the display to view different information. Type -> SELECT ALT Press the ENTER key. Every time you do this, the next sequential display is presented. Eventually, you will return to the original display. The first two lines in the list remain constant as you scroll through the Selection List. They show: SIGNON KEY MEM Your sign-on key. Number of library members included in the Selection List.
Number of library members that site management caused to be excluded from the display. Number of library blocks used by the members included in the List. Maximum number of lines you may save in the library or N/A if you have no limit. Number of lines contained within all of the members included in the display.
The remaining fields identify the individual members comprising the List and include: MEMBER Name of the library member. (The name begins with your two or three character CA-Roscoe prefix, shown as XYZ in the previous screen.) Description of the member, if available. Number of lines the member contains. Member's access attribute, shown as: SHR RES EXE Allows anyone to look at or execute your member. This is the default. Prevents anyone from looking at or executing your member. (Use with RPF programs.) Allows anyone to execute your member; prevents anyone from looking at your member.
SEQNO
Member's sequence number attribute, shown as: NOSEQ col,l No sequence numbers are to be included when you print this member. Numbers indicating where sequence numbers are to be positioned when the member is printed. The default (shown as 073,8) causes sequence numbers to begin in column 73 and be eight digits long. Date the member was created. Date the member was last updated. Date the member was last accessed.
> > LIB() SCRL FULL COLS 1 72 LINE 1 ....+....1....+....2....+....3....+....4....+....5....+....6.. ==================================== T O P =================== SIGNON KEY MEM EXCL BLOCKS M-LINES LINES SMITH 3 23 2 34 MEMBER STATUS DESCRIPTION LINES ATR SEQNO pfx.JUNK pfx.SAVAWS 1 pfx.WORDS NROS1 datetime DEFINITIONS 1 SHR NOSEQ 1 SHR 73,8 23 SHR 73,8
You can also use this Selection List to change the description and/or attributes of a member.
The following screen illustrates how you can change the sequence number attribute of that member. First type AT (for alter attribute) before the member WORDS. (Its shown as the first shaded area.) Then, tab to the sequence number field and overtype 073,8 with NOSEQ. Changing Member Attributes
> > LIB() SCRL FULL COLS 1 72 LINE 1 ....+....1....+....2....+....3....+....4....+....5....+....6.. ==================================== T O P =================== SIGNON KEY MEM EXCL BLOCKS M-LINES LINES SMITH 3 23 2 34 MEMBER STATUS DESCRIPTION LINES ATR SEQNO pfx.JUNK pfx.SAVAWS 1 AT pfx.WORDS NROS1 datetime DEFINITIONS 1 SHR NOSEQ 1 SHR 73,8 23 SHR noseq
Press the ENTER key. To verify that the sequence number has been changed, Type -> REFRESH The resulting display shows that the sequence number attribute has been changed.
> > LIB() SCRL FULL COLS 1 72 LINE 1 ....+....1....+....2....+....3....+....4....+....5....+....6.. ==================================== T O P =================== SIGNON KEY MEM EXCL BLOCKS M-LINES LINES SMITH 3 23 2 34 MEMBER STATUS DESCRIPTION LINES ATR SEQNO pfx.JUNK pfx.SAVAWS 1 pfx.WORDS SAMPLE NROS1 datetime 1 SHR NOSEQ 1 SHR 73,8 23 SHR 73,8
If you try this form of renaming, use the REFRESH command again to verify that your member was successfully renamed.
To remove this member using the Selection List, type a D (for Delete) before the appropriate member name. Deleting a Member
> > LIB() SCRL FULL COLS 1 72 LINE 1 ....+....1....+....2....+....3....+....4....+....5....+....6.. ==================================== T O P =================== SIGNON KEY MEM EXCL BLOCKS M-LINES LINES SMITH 3 23 2 34 MEMBER STATUS DESCRIPTION LINES ATR SEQNO D pfx.JUNK pfx.SAVAWS 1 pfx.WORDS NROS1 datetime 1 SHR NOSEQ 1 SHR 73,8 23 SHR 73,8
When you attempt to delete a member, you may be asked to confirm that the member is to be deleted. With the DELETE command, you must enter DELETE a second time. With the D code, you must enter YES or Y.
7.6 Review/Summary
7.6 Review/Summary
In this chapter, you have learned how to: Update the contents of a library member. Display information about your library members. Change library member attributes. Rename a library member. Delete a library member.
Table 7-1 shows the title of the chapter and/or section in the CA-Roscoe User Guide where you can get additional information about the topics discussed in this chapter.
Table 7-1. Summary: Updating Data
TOPIC Changing Member Attributes Deleting a Member Displaying Member Information Renaming a Member Updating a Member
CHAPTER Performing Library Management Tasks Performing Library Management Tasks Performing Library Management Tasks Performing Library Management Tasks Saving Data as a Library Member
The CA-Roscoe Command Reference Guide contains a detailed description of the commands described in this chapter. In the next chapter, you will learn how you can print the contents of the AWS and/or a library member.
7.6 Review/Summary
To print the contents of a library member, include the name of the member with the PRINT command. Type -> PRINT WORDS In addition, you can: Assign a name or 'tag' to your print request. If you use a tag, it must be: 1- to 8-characters, begin with an alphabetic character, bound by apostrophes, and placed immediately after the PRINT command. The following illustrates how you might assign the tag SAMPLE to your print request: Print 'sample' words Print multiple copies of a request. For example, to print three copies of your print request, you might enter: Print 'sample' words copy 3 A confirmation message is displayed on the Response Line when the PRINT command is executed. The message includes the tag (if you specified one), the print request number assigned by CA-Roscoe and the location at which your request is scheduled to print. or P WORDS
8.3 Review/Summary
8.3 Review/Summary
In this chapter, you have learned how to: Print a copy of the contents of the AWS. Print the contents of a library member. Print multiple copies of a print request. Obtain the status of your outstanding print requests.
If you would like additional information about printing the contents of the AWS or a library member, see the chapter 'Printing Data' in the CA-Roscoe User Guide. The CA-Roscoe Command Reference Guide contains a detailed description of the commands described in this chapter. In the next chapter, you will learn how you can send and receive messages through CA-Roscoe.
8.3 Review/Summary
To send the same message, using the user's prefix, you would enter: send pfx=abc 'meeting at 11: in conference room a'
You must delimit the message with a special character not found in the message itself (for example, an apostrophe (') is used in the preceding example). If you want to send a longer message to a CA-Roscoe user, type the text in either the AWS or a library member. Then when you issue the SEND command, identify the location of the message, as in: send aws key=brown 'report on meeting' In this example, the keyword AWS indicates that the message we want to send is in the AWS. The message with this command is optional. Here it is used to identify the information being sent.
If you are not signed on or sign off before receiving the message, an entry is added to the top of the member ZZZZZMSG in your library. The entries contain: 1. the one-line message and 2. the name of the created library member(s) that contains the multi-line message(s). To view the message, you must ATTACH the member.
9.3 Review/Summary
9.3 Review/Summary
In this chapter, you have learned how to: Send a message to another CA-Roscoe user. Receive messages that other CA-Roscoe users send to you. If you would like additional information, see the chapter 'Sending/Receiving Messages' in the CA-Roscoe User Guide. For a detailed description of the command described in this chapter, refer to the CA-Roscoe Command Reference Guide.
9.3 Review/Summary
10.6 Review/Summary
10.6 Review/Summary
In this chapter, you have learned about: Submitting and viewing job output. Performing OS data management tasks. The RPF programming language. ETSO. Executing TSO commands from CA-Roscoe.
For additional information about any or all of these facilities, see the appropriate chapters in the CA-Roscoe User Guide.
10.6 Review/Summary
_ > > HLP(...HELP...) SCRL FULL COLS 1 79 >....+....1....+....2....+....3....+....4....+....5....+....6 SAVE Function: Places all or part of contents of AWS into library as member. Syntax: SAVE mem < p<q> > < 'string' > < NOSEQ/SEQ <s<l>>/COBOL > < SHARED/EXECONLY/RESTRICTED >
mem p q . . .
Name to be assigned to library member being created. . . . Number of the first and last lines of AWS to be saved.
To obtain information about the HELP facility itself, Type -> HELP Press the ENTER key. Note that with the HELP facility, the scrolling functions have been assigned to specific PF keys. Use: PF7 or PF19 PF8 or PF20 PF10 or PF22 PF11 or PF23 To To To To scroll scroll scroll scroll back to the beginning of the current level. forward within the current level. back to the previous level. forward to the next level. or H
11.3 Documentation
11.3 Documentation
The section in the beginning of this manual entitled 'About This Guide' includes a description of all the documentation that is distributed with CA-Roscoe. The documentation set consists of a User series and a System series. The User series contains all documentation required for users to perform online processing, including creating and updating library members and data sets, and submitting jobs. The System series contains all information necessary for CA-Roscoe system administrators to install, maintain, and customize the CA-Roscoe system.
11.3 Documentation