Professional Documents
Culture Documents
ROSCOE - B001733e - User Guide
ROSCOE - B001733e - User Guide
ROSCOE - B001733e - User Guide
Interactive Environment
User Guide
r6
This documentation and any related computer software help programs (hereinafter referred to as the
“Documentation”) is for the end user’s informational purposes only and is subject to change or withdrawal by CA at
any time.
This Documentation may not be copied, transferred, reproduced, disclosed, modified or duplicated, in whole or in
part, without the prior written consent of CA. This Documentation is confidential and 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 the documentation for
their own internal use, and may make one copy of the related software as reasonably required for back-up and
disaster recovery purposes, 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 provisions of the license for
the product are permitted to have access to such copies.
The right to print copies of the documentation and to make a copy of the related software is limited to the period
during which the applicable license for the Product remains in full force and effect. Should the license terminate for
any reason, it shall be the user’s responsibility to certify in writing to CA that all copies and partial copies of the
Documentation have been returned to CA or destroyed.
EXCEPT AS OTHERWISE STATED IN THE APPLICABLE LICENSE AGREEMENT, 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 the Documentation is governed by the end user’s applicable license
agreement.
Provided with “Restricted Rights.” Use, duplication or disclosure by the United States Government is subject to the
restrictions set forth in FAR Sections 12.212, 52.227-14, and 52.227-19(c)(1) - (2) and DFARS Section 252.227-
7014(b)(3), as applicable, or their successors.
All trademarks, trade names, service marks, and logos referenced herein belong to their respective companies.
Contents iii
4.2.1.1 When to Use STATUS DISPLAY . . . . . . . . . . . . . . . . . 4-3
4.2.1.2 When to Use STATUS AWS . . . . . . . . . . . . . . . . . . . . 4-3
4.2.2 Using the SET BOUNDS Command . . . . . . . . . . . . . . . . . . 4-4
4.2.3 Using the BOUNDS Line Command . . . . . . . . . . . . . . . . . 4-5
iv User Guide
8.1 Screen Format Description . . . . . . . . . . . . . . . . . . . . . . . . . . 8-2
8.1.1 The Command Area . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-2
8.1.2 The System Control Area . . . . . . . . . . . . . . . . . . . . . . . . 8-3
8.1.3 The Execution Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-6
8.2 Splitting the Screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-7
8.2.1 Invoking a Full-Screen Split . . . . . . . . . . . . . . . . . . . . . . . 8-7
8.2.2 Invoking a Partial-Screen Split . . . . . . . . . . . . . . . . . . . . . 8-9
8.2.3 Resplitting Screens . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-10
8.2.4 Swapping Active Screens . . . . . . . . . . . . . . . . . . . . . . . 8-10
8.2.5 Terminating Split Screens . . . . . . . . . . . . . . . . . . . . . . . 8-11
8.3 Changing the Screen Size . . . . . . . . . . . . . . . . . . . . . . . . . . 8-12
8.4 Locking the Screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-13
Contents v
12.2 The HELP Facility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-3
12.3 The Online Tutorial . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-5
Chapter 15. AWS: Copying Data Within and Into an AWS . . . . . . 15-1
15.1 Copying Data Within the Active AWS . . . . . . . . . . . . . . . . . 15-2
15.1.1 Using a Primary Command . . . . . . . . . . . . . . . . . . . . . 15-2
15.1.1.1 To Copy a Single Line: . . . . . . . . . . . . . . . . . . . . . 15-2
15.1.1.2 To Copy a Range of Lines: . . . . . . . . . . . . . . . . . . . 15-2
15.1.1.3 To Duplicate the Copied Lines at the Destination: . . . . . 15-2
15.1.2 Using Line Commands . . . . . . . . . . . . . . . . . . . . . . . . 15-2
15.1.2.1 Copy Line Commands . . . . . . . . . . . . . . . . . . . . . . 15-3
15.1.2.2 Using Overlay Destination Line Commands . . . . . . . . 15-5
15.1.2.3 Repeat Line Commands . . . . . . . . . . . . . . . . . . . . . 15-5
15.2 Copying Data to an AWS . . . . . . . . . . . . . . . . . . . . . . . . . 15-7
15.2.1 Alternate Form of Screen Copy . . . . . . . . . . . . . . . . . . . 15-8
15.2.2 Copying All or a Range of Lines . . . . . . . . . . . . . . . . . . 15-8
15.2.3 Copying Based on a Character String . . . . . . . . . . . . . . . 15-9
15.3 Copying Data Between Screens . . . . . . . . . . . . . . . . . . . . . . 15-11
15.3.1 Copying All or a Range of Lines . . . . . . . . . . . . . . . . . . 15-12
vi User Guide
15.3.2 Copying Based on a Character String . . . . . . . . . . . . . . . 15-12
Contents vii
19.5.2 Using Line Commands . . . . . . . . . . . . . . . . . . . . . . . . 19-16
19.5.2.1 Splitting Lines . . . . . . . . . . . . . . . . . . . . . . . . . . . 19-16
19.5.2.2 Joining Lines . . . . . . . . . . . . . . . . . . . . . . . . . . . 19-17
Chapter 24. Data Sets: Introducing the Data Set Facility . . . . . . . . 24-1
24.1 Attaching the Data Set Facility . . . . . . . . . . . . . . . . . . . . . . 24-2
24.1.1 Using Wildcard Characters to Create a Catalog or VTOC
Selection List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24-7
24.1.2 Using Wildcard Characters to Create an AllFusion
CA-Librarian, PDS or Volume Selection . . . . . . . . . . . . . . . . . 24-8
24.2 Using Data Set Facility Function Panels . . . . . . . . . . . . . . . . 24-9
24.3 Using Data Set Facility Selection Lists . . . . . . . . . . . . . . . . . . 24-11
Chapter 25. Data Sets: Attaching a Data Set Object at the Terminal . 25-1
25.1 Attaching an AllFusion CA-Librarian Selection List . . . . . . . . . 25-2
25.1.1 Using a Primary Command . . . . . . . . . . . . . . . . . . . . . 25-2
25.1.2 Using the Data Set Facility . . . . . . . . . . . . . . . . . . . . . . 25-3
25.1.3 Selection List Description . . . . . . . . . . . . . . . . . . . . . . 25-3
25.1.3.1 Selecting Alternate Displays . . . . . . . . . . . . . . . . . . 25-4
25.1.3.2 Display Format . . . . . . . . . . . . . . . . . . . . . . . . . . 25-5
25.1.3.3 Field Descriptions . . . . . . . . . . . . . . . . . . . . . . . . 25-5
25.2 Attaching a Catalog Selection List . . . . . . . . . . . . . . . . . . . . 25-7
25.2.1 Using a Primary Command . . . . . . . . . . . . . . . . . . . . . 25-7
25.2.2 Using the Data Set Facility . . . . . . . . . . . . . . . . . . . . . . 25-8
25.2.3 Selection List Description . . . . . . . . . . . . . . . . . . . . . . 25-9
25.2.3.1 Selecting Alternate Displays . . . . . . . . . . . . . . . . . . 25-10
25.2.3.2 Display Format . . . . . . . . . . . . . . . . . . . . . . . . . . 25-10
25.2.3.3 Field Descriptions . . . . . . . . . . . . . . . . . . . . . . . . 25-10
25.3 Attaching a Generation Data Group Data Set . . . . . . . . . . . . . 25-13
25.4 Attaching a PDS Member/AllFusion CA-Librarian Module . . . . . 25-15
25.4.1 Using a Primary Command . . . . . . . . . . . . . . . . . . . . . 25-15
25.4.2 Using the Data Set Facility Menu . . . . . . . . . . . . . . . . . . 25-15
25.4.3 Using a Selection List . . . . . . . . . . . . . . . . . . . . . . . . . 25-16
25.4.4 Attached Data Description . . . . . . . . . . . . . . . . . . . . . . 25-17
25.5 Attaching a PDS Selection List . . . . . . . . . . . . . . . . . . . . . . 25-18
25.5.1 Using a Primary Command . . . . . . . . . . . . . . . . . . . . . 25-18
25.5.2 Using the Data Set Facility . . . . . . . . . . . . . . . . . . . . . . 25-19
25.5.3 Selection List Description . . . . . . . . . . . . . . . . . . . . . . 25-19
25.5.3.1 Load Library Selection List . . . . . . . . . . . . . . . . . . . 25-19
25.5.3.2 Selecting Alternate Displays . . . . . . . . . . . . . . . . . . 25-20
25.5.3.3 Display Format . . . . . . . . . . . . . . . . . . . . . . . . . . 25-20
25.5.3.4 Field Descriptions . . . . . . . . . . . . . . . . . . . . . . . . 25-20
25.5.3.5 Non-Load Selection List . . . . . . . . . . . . . . . . . . . . . 25-22
25.5.3.6 Selecting Alternate Displays . . . . . . . . . . . . . . . . . . 25-23
25.5.3.7 Display Format . . . . . . . . . . . . . . . . . . . . . . . . . . 25-23
25.5.3.8 Field Descriptions . . . . . . . . . . . . . . . . . . . . . . . . 25-23
25.6 Attaching a Sequential Data Set . . . . . . . . . . . . . . . . . . . . . 25-25
25.6.1 Using a Primary Command . . . . . . . . . . . . . . . . . . . . . 25-25
25.6.2 Using the Data Set Facility Menu . . . . . . . . . . . . . . . . . . 25-25
25.6.3 Using a Selection List . . . . . . . . . . . . . . . . . . . . . . . . . 25-26
25.6.4 Attached Data Description . . . . . . . . . . . . . . . . . . . . . . 25-26
25.7 Attaching a Volume Selection List . . . . . . . . . . . . . . . . . . . . 25-27
25.7.1 Using a Primary Command . . . . . . . . . . . . . . . . . . . . . 25-27
25.7.2 Using the Data Set Facility . . . . . . . . . . . . . . . . . . . . . . 25-28
25.7.3 Selection List Description . . . . . . . . . . . . . . . . . . . . . . 25-28
25.7.3.1 Selecting Alternate Displays . . . . . . . . . . . . . . . . . . 25-29
25.7.3.2 Display Format . . . . . . . . . . . . . . . . . . . . . . . . . . 25-29
25.7.3.3 Field Descriptions . . . . . . . . . . . . . . . . . . . . . . . . 25-30
25.8 Attaching a VTOC Selection List . . . . . . . . . . . . . . . . . . . . . 25-32
25.8.1 Using a Primary Command . . . . . . . . . . . . . . . . . . . . . 25-32
Contents ix
25.8.2 Using the Data Set Facility . . . . . . . . . . . . . . . . . . . . . . 25-33
25.8.3 Selection List Description . . . . . . . . . . . . . . . . . . . . . . 25-34
25.8.3.1 Selecting Alternate Displays . . . . . . . . . . . . . . . . . . 25-35
25.8.3.2 Display Format . . . . . . . . . . . . . . . . . . . . . . . . . . 25-35
25.8.3.3 Field Descriptions . . . . . . . . . . . . . . . . . . . . . . . . 25-35
25.9 Selecting the Display . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25-37
x User Guide
27.10.1 Using a Primary Command . . . . . . . . . . . . . . . . . . . . 27-40
27.10.1.1 Printing a Selection List . . . . . . . . . . . . . . . . . . . . 27-40
27.10.2 Using a Function Panel . . . . . . . . . . . . . . . . . . . . . . . 27-41
27.10.3 Using a Selection List . . . . . . . . . . . . . . . . . . . . . . . . 27-45
27.11 Releasing Allocated Space . . . . . . . . . . . . . . . . . . . . . . . . 27-47
27.12 Renaming Data Sets/Members/Modules . . . . . . . . . . . . . . . 27-48
27.12.1 Using a Primary Command . . . . . . . . . . . . . . . . . . . . 27-48
27.12.2 Using a Function Panel . . . . . . . . . . . . . . . . . . . . . . . 27-48
27.12.3 Using a Selection List . . . . . . . . . . . . . . . . . . . . . . . . 27-51
27.12.3.1 Renaming Members/Modules . . . . . . . . . . . . . . . . 27-51
27.12.3.2 Renaming Data Sets . . . . . . . . . . . . . . . . . . . . . . 27-52
27.13 Uncataloging a Data Set . . . . . . . . . . . . . . . . . . . . . . . . . 27-53
27.14 Writing to a Data Set . . . . . . . . . . . . . . . . . . . . . . . . . . . 27-54
Contents xi
30.2.1.2 Using the Job Facility . . . . . . . . . . . . . . . . . . . . . . 30-8
30.2.2 Locating Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30-8
30.2.2.1 Locating Specific Occurrences . . . . . . . . . . . . . . . . . 30-8
30.2.2.2 Including/Excluding Lists Containing a String . . . . . . . 30-9
30.2.2.3 Customizing the Operation . . . . . . . . . . . . . . . . . . . 30-10
30.2.2.4 Specifying the Hexadecimal Representation of a String . . 30-11
30.2.2.5 Screen Positioning . . . . . . . . . . . . . . . . . . . . . . . . 30-11
30.2.3 Positioning the Display . . . . . . . . . . . . . . . . . . . . . . . . 30-12
30.2.3.1 Positioning Between Multiple Files . . . . . . . . . . . . . . 30-12
30.2.3.2 Positioning Within a File . . . . . . . . . . . . . . . . . . . . 30-13
30.2.3.3 Positioning to Named Lines . . . . . . . . . . . . . . . . . . 30-13
30.2.4 Reattaching Job Output . . . . . . . . . . . . . . . . . . . . . . . . 30-14
30.2.4.1 Using the Job Facility . . . . . . . . . . . . . . . . . . . . . . 30-15
30.3 Performing Output Management Tasks . . . . . . . . . . . . . . . . . 30-16
30.3.1 Altering File Attributes . . . . . . . . . . . . . . . . . . . . . . . . 30-16
30.3.1.1 Using Primary Commands . . . . . . . . . . . . . . . . . . . 30-16
30.3.1.2 Using the Job Facility . . . . . . . . . . . . . . . . . . . . . . 30-17
30.3.1.3 Using a Job Selection List . . . . . . . . . . . . . . . . . . . . 30-18
30.3.2 Copying Job Output . . . . . . . . . . . . . . . . . . . . . . . . . . 30-19
30.3.2.1 Using Primary Commands . . . . . . . . . . . . . . . . . . . 30-19
30.3.2.2 Using the Job Facility . . . . . . . . . . . . . . . . . . . . . . 30-19
30.3.2.3 Using a Job Selection List . . . . . . . . . . . . . . . . . . . . 30-21
30.3.3 Displaying File Attributes . . . . . . . . . . . . . . . . . . . . . . 30-22
30.3.3.1 Using a Primary Command . . . . . . . . . . . . . . . . . . 30-22
30.3.3.2 Using the Job Selection List . . . . . . . . . . . . . . . . . . . 30-24
30.3.4 Printing Job Output . . . . . . . . . . . . . . . . . . . . . . . . . . 30-25
30.3.4.1 Using Primary Commands . . . . . . . . . . . . . . . . . . . 30-25
30.3.4.2 Using the Job Facility . . . . . . . . . . . . . . . . . . . . . . 30-25
30.3.4.3 Using the Job Selection List . . . . . . . . . . . . . . . . . . . 30-28
30.3.5 Canceling a Job . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30-28
30.3.5.1 Using Primary Commands . . . . . . . . . . . . . . . . . . . 30-29
30.3.5.2 Using the Job Facility . . . . . . . . . . . . . . . . . . . . . . 30-29
30.3.5.3 Using the Job Selection List . . . . . . . . . . . . . . . . . . . 30-30
Contents xiii
Part VI. Additional Facilities
Appendixes
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . X-1
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . X-1
Contents xv
xvi User Guide
About This Guide
Chapter Description
1 Introduces Advantage CA-Roscoe.
2 Provides general information about Advantage
CA-Roscoe commands.
3 Controling character recognition.
4 Defining column boundaries.
5 Defining the display format.
6 Displaying and changing the display and column
boundaries and session attributes. Also describes how to
display site-defined attribute values, the time, and the
date.
7 Printing data at a system or 328x-type printer.
8 Describes the Advantage CA-Roscoe screen format, how
to split the screen, change screen sizes and lock the
screen.
9 Sending and receiving messages.
10 Signing on and off Advantage CA-Roscoe.
11 Using and customizing PF and PA key assignments.
12 Obtaining additional information about Advantage
CA-Roscoe.
13 Introduces the AWS and describes how to attach,
change, create, detach, discard, position, and reattach an
AWS.
14 Changing data within an AWS by adding or changing
character strings.
15 Coping data within and into an AWS.
16 Deleting data from an AWS.
17 Displaying and changing AWS information.
18 Entering data into an AWS and formating that data.
19 Formating text within the AWS.
20 Locating all or specific occurrences of data within an
AWS.
21 Moving data within an AWS.
22 Renumbering the contents of an AWS.
23 Saving and updating data as a library member.
Service Pack 6
To allow multiple archiving products, two new Advantage CA-Roscoe start-up
parameters (RECALVL2 and RECALVL3) have been added.
When installing and using the JCK monitor to check JCL in Advantage
CA-Roscoe's AWS, a blank screen is often encountered without any error
messages or indication of any kind that there is a problem. Messages and
options have been added to specify and list out the options passed to
JCLCHECK. New options for JCL include: -D, -X, and -A. JCK-D display
parms passed to JCLCHECK. JCK-X turns off Advantage CA-Roscoe's SVC
screening of issues and JCK-A places output to an Advantage CA-Roscoe
AWS.
New messages have been added to describe problems that can occur during
execution of JCK that would have normally returned with no indication of a
problem.
Service Pack 5
Editorial and minor technical changes have been made throughout this
manual.
xx User Guide
Summary of Revisions in this Edition
Advantage CA-Roscoe supports the six-digit job number support added with
z/OS JES2/JES3 1.2. See Chapter 29, “Jobs: Displaying Job-Related
Information” and 30.1.1, “Using a Primary Command” for more information.
Title Contents
Advantage CA-Earl Reference Guide Contains detailed information about
Advantage CA-Earl statements,
parameters, and coding rules. Also
explains the Advantage CA-Earl
Reporting Service.
Advantage CA-Earl User Guide Designed for users interested in
learning about Advantage CA-Earl. It
presents an introduction to
Advantage CA-Earl features and
capabilities.
Advantage CA-Earl Systems Lists the installation options for
Programmer Guide Advantage CA-Earl and instructions
for modifying them. Also describes
size requirements and program
execution.
Advantage CA-Earl Examples Guide Contains sample programs that show
a variety of common applications.
COMMAND
Required parameters appear on the same horizontal line (the main path of the
diagram) as the command or statement. The parameters must be separated by
one or more blanks.
Where you see a vertical list of parameters as shown in the following example,
you must choose one of the parameters. This indicates that one entry is
required and only one of the displayed parameters is allowed in the statement.
You can choose one of the parameters from the vertical list, such as in the
following examples:
COMMAND PARM1
COMMAND PARM2
COMMAND PARM3
If you specify the command, you must write one of the following:
A single optional parameter appears below the horizontal line that marks the
main path.
Optional Parameter
──COMMAND──┬───────────┬──────────────────────────────────────
└─PARAMETER─┘
You can choose (or not) to use the optional parameter, as shown in the
following examples:
COMMAND
COMMAND PARAMETER
If you have a choice of more than one optional parameter, the parameters
appear in a vertical list below the main path.
You can choose any of the parameters from the vertical list, or you can write
the statement without an optional parameter, such as in the following
examples:
COMMAND
COMMAND PARM1
COMMAND PARM2
COMMAND VALUEX
COMMAND VALUEX VALUEY
COMMAND VALUEX VALUEX VALUEZ
If the repeat symbol contains punctuation such as a comma, you must separate
multiple parameters with the punctuation. The following example includes the
repeat symbol, a comma, and parentheses.
COMMAND (VALUEC)
COMMAND (VALUEB,VALUEC)
COMMAND (VALUEB,VALUEA)
COMMAND (VALUEA,VALUEB,VALUEC)
The following example shows a list of parameters with the repeat symbol.
COMMAND PARM1
COMMAND PARM1 PARM2 PARM3
COMMAND PARM1 PARM1 PARM3
For example, YES in the following diagram, its special treatment indicates it is
the default value for the parameter. If you do not include the parameter when
you write the statement, the result is the same as if you had actually specified
the parameter with the default value.
COMMAND PARM2
Choices you can make from this syntax diagram therefore include (but are not
limited to) the following:
COMMAND PARM1
COMMAND PARM3
COMMAND PARM3 PARM4
Note: Before you can specify PARM4 or PARM5 in this command, you must
specify PARM3.
──COMMAND──┬─────────┬────────────────────────────────────────
(1)
└─PARM1─── ┘
Note:
1 This is a note about the item.
User Guide
10.2.2 Creating a Sign-on Program . . . . . . . . . . . . . . . . . . . . . 10-9
10.3 Signing Off . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-12
10.3.1 Automatic Signoff . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-12
10.3.2 Explicit Signoff . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-13
Advantage CA-Roscoe can be used at any 3270-type terminal (such as the IBM
3278 or 3290) and at typewriter devices (such as the IBM 3767 or any device
that operates in a manner similar to a teletype terminal).
The sample screen displays used in this manual assume that you are using a
3270-type terminal. While the content of the displays is accurate, the width of
the displays has been modified so that they will fit within the margins of this
manual.
The following example shows a screen where SET DISPLAY AWS NUMX is in
effect. Here, primary and line commands are used together. When the Enter
key is pressed, a line for data entry is inserted after line 3600, and then all
occurrences of PRT are changed to PART.
EDIT /PRT/PART/
>
> AWS(PRI.INVLIST) SCRL FULL COLS 7 72
> ...1....+....2....+....3....+....4....+....5....+....
...... ============================= T O P =================
34 RECORD CONTAINS 133 CHARACTERS
35 LABEL RECORDS ARE OMITTED
I36 DATA RECORD IS INVENTORY-REPORT-LINE.
37 1 INVENTORY-REPORT-LINE.
38 5 CARRIAGE-CONTROL PIC X.
39 5 FILLER PIC X(9).
>
> AWS(PRI.INVLIST) SCRL FULL COLS 7 72
> ...1....+....2....+....3....+....4....+....5....+....
...... ============================= T O P =================
D3 4 RECORD CONTAINS 133 CHARACTERS
35 LABEL RECORDS ARE OMITTED
36 DATA RECORD IS INVENTORY-REPORT-LINE.
INCL /DIVISION/TORY-REPORT-LINE.
38 5 CARRIAGE-CONTROL PIC X.
When using a string operand, the line command can be placed anywhere
within the sequence number field.
The first two examples shown below indicate how the deletion of all or part of
the sequence number field following a line command eliminates the concern
about cursor positioning. The remaining examples show how the cursor
position can affect command interpretation.
> ...1....+....2....+....3....+....4....+....5....+....
...... ============================= T O P =================
1
D2_ Cmd is D2; 2 lines deleted
D3 _ Cmd is D3; 3 lines deleted
4
D55 Cmd is D5; 5 lines deleted (cursor after
D56 Cmd is D5; 5 lines deleted (cursor one
7 forward from cmd)
8D9 _ Cmd is D9; 9 lines deleted
D9 _ Cmd is D9; 9 lines deleted
1
D11 _ Cmd is D; 1 line deleted
D212 _ Cmd is D2; 1 line deleted
The characters that may be used in Advantage CA-Roscoe commands fall into
the categories shown in the following table.
The double comma can be used in a command to represent the last line of the
active AWS, library member, attached data set object or attached job output
file. For example, to display line 500 through the end of the active AWS, you
would enter:
ATTACH 5 ,,
To copy lines 800 through the end of the library member INVLIST to the
bottom of the active AWS, you would enter:
COPY INVLIST 8 ,, B
Use the minus sign to reexecute the last executed primary command, Monitor
command or RPF program. For example, if you have just issued the command
DISPLAY ROS+ to see the status of all jobs whose names begin with ROS,
enter:
Use the plus sign to redisplay one or more previously executed primary
commands, Monitor commands, or RPF program names. For example, assume
the last command you executed was:
ATTACH DSN ROSCOE.TEST(SOURCE1)
To redisplay this command so that you can modify it, all you need enter is:
+
Optionally, you may include a number with the + to specify which previously
executed command you want displayed. For additional information about
using the plus sign, see the section, 2.5, “Displaying Previously Executed
Commands.”
The special character used to delimit the operand and the special character
used as the command delimiter cannot be used within the string.
For consistency, the Advantage CA-Roscoe documentation uses the slash (/) as
a string delimiter. Other valid characters include:
| vertical bar
'%' percent sign
¬ logical not - if not used as the default tab character
& ampersand - if not used as the default command delimiter
( left parentheses
) right parentheses
_ underscore
- dash or minus sign
+ plus sign
= equal sign
! exclamation point
¢ cent sign
: colon
' '
semi-colon
" quotation mark
' apostrophe
} right brace
{ left brace
? question mark
< less than sign
> greater than sign
. period
--<-- DOES THE 'WORD' MATCH A PRIMARY COMMAND OR COMMAND ->--
| NO ABBREVIATION? YES |
| |
|-<-- DOES THE 'WORD' MATCH THE FIRST THREE CHARACTERS -->-|
| NO OF A MONITOR COMMAND NAME? YES |
| |
|-<-- DOES THE 'WORD' MATCH THE NAME OF A MEMBER IN THE -->-|
| NO USER'S LIBRARY? YES |
| |
|-<-- DOES THE 'WORD' MATCH THE NAME OF A MEMBER IN THE -->-|
| NO SITE/USER EXECUTION LIBRARY? YES |
| |
ß ß
DISPLAY EXECUTE
ERROR MESSAGE
Note: If you press a PF/PA key instead of the Enter key, the PF/PA key is
evaluated before any other action is taken. See Chapter 11,
“Using/Customizing PF/PA Keys” for additional information.
Invalid/Incomplete Commands
Line commands are evaluated before primary commands. Also, all line
commands are evaluated before any is executed. If one or more errors are
found, a message is displayed in the data portion of the affected line(s) and
halts processing. No changes to the data are applied; no line commands are
executed; no primary commands are executed. The following example
illustrates the type of message displayed when an invalid command is
encountered.
2. Blank out the sequence number field using the DELETE key, the ERASE
EOF key or the space bar.
When the Enter key is pressed, the line containing the error is restored,
changes made to the displayed data are recorded and any other line
commands are executed.
3. Use the RESET line command.
RESET causes all outstanding line commands (both valid and invalid) and
all changes made to the currently displayed data to be ignored.
After evaluating and executing any line commands that may have been
entered, each primary command is evaluated before it is executed. If no errors
are found, the commands are executed in the order in which they are
encountered.
You can now correct that command. You can also add, delete or change any
command that is displayed. You can even insert commands ahead of the
corrected command. When you press the Enter key, the commands are
executed.
that command is displayed when you press PF1. (A message explaining the
error is displayed on the Response Line.)
To continue execution, you can correct the displayed command and press the
Enter key. (You should correct the PF key assignment as soon as possible.)
If the length of the unexecuted commands exceeds the length of a line in the
Command Area and the Command Area is comprised of:
■ One Line: unexecuted commands that do not fit on that line are truncated.
■ Two or Three Lines: unexecuted commands that do not fit on the first line
are displayed on the second and subsequent lines.
For example, assume that you have just executed the following series of
commands:
IMPORT DSN=ROSCOE.TEST(SAMPLE1)
RENUMBER 1 1
SAVE WIDGET
EDIT /AAA/BBB/
UPDATE
The following example illustrates the display that might be produced if you
now entered the command STATUS COMMAND.
_
>
>
....+....1....+....2....+....3....+....4....+....5....+....6.
COMMAND BUFFER IS 256 BYTES AND CONTAINS 8 COMMANDS
1 STATUS COMMAND
2 UPDATE
3 EDIT /AAA/BBB/
4 SAVE WIDGET
5 RENUMBER 1 1
6 IMPORT DSN=ROSCOE.TEST(SAMPLE1)
7 rpf-program-name
8 EXEC pfx.rpf-program-name
The executed commands are stored in a command buffer. (The size of the
buffer is defined by site management.) When the contents of the buffer are
displayed, it begins with the most recently executed command (like STATUS
COMMAND), and includes all of the commands that are currently stored
within the buffer area.
This list of commands is useful when, for example, you want to redisplay or
reexecute a previously executed command.
To redisplay:
■ The last executed primary command, Monitor command, or RPF program:
Use the plus sign (+), as in:
+
| Optionally, you can indicate to Advantage CA-Roscoe to save or not save the
| command in the command recall buffer if the command is equal to the
| previous command. This option called "DUPCR" can be set as a system wide
| variable and defaults that duplicate commands will always be saved.
If the terminals at your site support a different language character set, your
site management will have established that language character set as the
default.
If your site management has designated that multiple character sets may be
used, you will be told which ones are supported. To change from one
character set to another, you can use either:
■ SET CHARSET command
■ Modifiable displays provided by the STATUS SESSION and STATUS AWS
commands
This chapter describes how you can change column boundaries for the
following:
■ Execution of a single command
■ Remainder of your terminal session. When you alter the boundaries for
your session, you can use:
– Modifiable displays provided by the STATUS DISPLAY command and
STATUS AWS commands
– SET BOUNDS primary command
– BOUNDS line command, when an AWS is attached
By default, the operation of primary and line commands that edit, locate, or
shift data extends the full width of the line. If you enter:
FIRST PROCEDURE
the full width of every line is searched until either the string is found or the
end of the data or the search limit is reached.
and you now want to find the next occurrence of the same string
within columns 50 through 70, all you need to enter is:
NEXT 5 7
Once set, they remain in effect until you change them or end your session.
For example, suppose the boundary settings for the active AWS are 10 and 72.
To changes these values to 1 and 80, respectively, type 1 in the LEFT BOUNDS
field, and then position the cursor to the RIGHT BOUNDS field and type 80
there. (When STATUS DISPLAY is issued, the cursor is automatically placed in
the LEFT BOUNDS field for AWS.) The next time you attach the contents of
the active AWS, your column boundaries will be set to 1 and 80.
When you are working with multiple AWSs, use the STATUS AWS command
to display information about the active, and all existing, AWSs that you are
using. In addition to the current display format information, this modifiable
display provides information about all attributes associated with the AWSs.
See Chapter 17, “AWS: Displaying/Changing AWS Information” for details.
To set or reset the column boundaries for all forms of attached data, use the
ALL keyword with the command, as in:
SET BOUNDS ALL 9 12 or SET BOUNDS ALL OFF
To illustrate the use of temporary and session boundaries, assume you have
attached an AWS and are currently editing its contents. If you enter the
commands:
SET BOUNDS 1 5 & EDIT /ABC/XYZ/
FILL 1 6 /XXXXXX/ & FIRST AAA
then SET BOUNDS sets the boundaries to columns 10 through 50. EDIT
changes every occurrence of ABC within those columns to XYZ. FILL
temporarily overrides the boundaries so that the string XXXXXX can be placed
in columns 1 through 6. Finally, FIRST uses the session boundaries (columns
10 through 50) to locate the first occurrence of the string AAA.
The following example shows how you would set the boundaries to columns 9
and 43, respectively.
>
> AWS(PRI.INVLIST) SCRL FULL COLS 7 72
> ...1....+....2....+....3....+....4....+....5....+
...... ============================= T O P =============
BOUNDS ID<NTIFICATION DIVISION. >
>
> AWS(PRI.INVLIST) SCRL FULL COLS 7 72
> ..<1....+....2....+....3....+....4..>.+....5....+
...... ============================= T O P =============
1 IDENTIFICATION DIVISION.
2 PROGRAM-ID. INVLIST.
3 ENVIRONMENT DIVISION.
The Scale Line in the previous example reflects the designated column
boundary locations (the < and > are displayed in the appropriate positions on
the Scale Line).
When the display is invoked by SET DISPLAY NUMX, the Scale Line always
reflects the column boundaries, whether they are set by the SET BOUNDS
primary command or the BOUNDS line command.
When using the SET DISPLAY command, you can include one or more
changes with the command. For example, you could enter:
SET DISPLAY 1 5 (to change display margins)
SET DISPLAY NUMX (to change sequence number display)
SET DISPLAY CHAR (to change data format display)
or
SET DISPLAY 1 5 NUMX CHAR
The resulting display begins with the right margin and continues until the left
margin or the maximum width of the screen is filled.
When you specify a new margin setting, leading zeros are not required. If they
are omitted, eliminate the old value so that the field contains only your new
margin setting.
These margins apply only to what is currently attached and remain in effect
until the attachment is changed. For example, if an AWS is currently attached
and you press the PF key to which SCROLL RIGHT is assigned, the new
display margins will:
■ Remain in effect while the current AWS contents is displayed.
■ Revert to the previous setting when you:
– Delete or replace the contents of this AWS. The margins revert to the
previously established margins.
– Attach a data set object, job, or library member. The margins revert to
the previous setting if you are reattaching, or default setting if the
designated data was not previously attached.
Display margins can be changed using the modifiable screen provided by the
STATUS DISPLAY or STATUS AWS command.
For example, assume the display margins for the active AWS are 10 and 50. To
change these values to 1 and 72, respectively, type 1 in the SET DISPLAY
LEFT field and type 1; then position the cursor to the SET DISPLAY RIGHT
field and type 72. When you reattach the active AWS, your display margins
will be set to 1 and 72.
When you are working with multiple AWSs, use the STATUS AWS command
display information about the active, and all existing, AWSs that you are
using. In addition to the current display format information, this modifiable
display provides information about all attributes associated with the AWSs.
See Chapter 17, “AWS: Displaying/Changing AWS Information” for details.
All of the preceding examples affect the data that is currently displayed. To set
display margins for data that is not currently displayed, include the keyword
ALL or any combination of the keywords AWS, DSN, JOB or LIB. For
example, to set all display margins to 50 through 80, you would enter:
SET DISPLAY ALL 5 8
the display margins in effect when you attach the active AWS or a library
member will be set to columns 7 through 72; while the display margins for job
output and data set objects will remain set at columns 50 through 80.
In all cases, specify the keywords NUM, NUMX, NONUM and NUM2, with:
NUM Each line begins with a six digit protected sequence number
field that is followed by data.
NUMX Each line begins with a six digit unprotected sequence number
field that is followed by data. NUMX must be in effect if you
want to use line commands to edit the contents of the active
AWS.
NONUM Each line contains only data; no sequence numbers are
displayed.
NUM2 Two lines are displayed for each data line. The first line
contains the six digit protected sequence number field; the
second line contains only data.
Notes:
■ If you include the FLIP operand when you assign SET DISPLAY to a PF
key, you can bounce the display between sequence number display
settings. For example, if you assign PF2 the value:
LET PF2 = 'SET DISPLAY FLIP NONUM NUMX'
The display format changes every time you press PF2.
■ You can use ALL or any combination of the keywords AWS, DSN, JOB
and LIB to qualify the scope of the SET DISPLAY command. For example,
to enable the use of line commands when editing the active AWS and to
prohibit the display of sequence numbers with all other forms of attached
data, you would enter:
SET DISPLAY AWS NUMX DSN JOB LIB NONUM
Since the display margins and data display operands are not included with
these commands, those that are currently in effect will remain unchanged.
You can change the data display format to have the data displayed in both its
character format and its hexadecimal representation by:
■ Changing the modifiable STATUS DISPLAY or STATUS AWS screen by
overtyping the appropriate field with either CHAR or HEX.
■ Specifying the HEX or CHAR operand with the SET DISPLAY command.
The following example illustrates the display before issuing the SET DISPLAY
HEX command.
Character Display
The following example illustrates the display that results after issuing the
command SET DISPLAY HEX. (SET DISPLAY CHAR returns the data to
character format.)
>
> AWS() SCRL FULL COLS 1 72
> <...+....1....+....2....+....3....+....4....+....5.
...... ============================= T O P ===============
1 HOWARD THOMAS W
4CDECDC4444444ECDDCE4444E4
86619438641261
---------------------------------------------------
2 SMITHSOM SALLY S
4EDCECEDD44444ECDDE44444E4
249382652133822
---------------------------------------------------
3 WALTERS JOHN
4ECDECDE444444DDCD44444444
613359216851
---------------------------------------------------
When data are displayed in HEX format, the resulting data are:
■ Modifiable when displaying the contents of the active AWS. You can
modify:
– Printable characters on the character line. (Non-printable characters are
shown as blanks, which are not modifiable.)
To ensure your changes are properly applied, no character translation
occurs when SET DISPLAY HEX is in effect. This means that even if
you have specified SET MODE BASIC, lowercase characters are not
translated to uppercase characters.
– Hexadecimal representation on the two vertical hexadecimal lines.
These lines are always modifiable.
Since there can be no confusion about the hexadecimal representation
of a character, lowercase characters are translated to uppercase when
SET MODE BASIC is in effect.
■ Not modifiable when a library member, job output file or data set object is
displayed.
Notes:
■ If you include the FLIP operand when you assign SET DISPLAY to a PF
key, you can bounce the display between its character and hexadecimal
formats. For example, if you assign PF1 the value:
LET PF1 = 'SET DISPLAY FLIP CHAR'
The display format changes every time you press PF1.
■ As with the other forms of SET DISPLAY, you can use the ALL, AWS,
DSN, JOB and LIB keywords to qualify the scope of the command. These
operands are useful when you want to designate the data display format
for data that is not currently attached.
At any time during your session, you can display information about the
attributes that are currently in effect. For example, to display the current
column search boundaries and display margins, you would enter:
STATUS DISPLAY
You can change most of the session attributes using either modifiable displays
or primary commands. (The section, 6.5, “Synopsis of Session Attributes”
contains a list of the primary commands, associated STATUS displays and a
brief description of the attributes affected.)
Changing these attributes allows you to customize your session to meet your
own unique needs. If you find that you always want certain attributes to be in
effect, you can include the appropriate primary commands in a sign-on
program. (A sign-on program is executed every time you sign on to Advantage
CA-Roscoe or split the screen. See Chapter 10, “Signing On and Off
Advantage CA-Roscoe” for additional information.)
Note: For information about displaying and changing AWS attributes, see
Chapter 17, “AWS: Displaying/Changing AWS Information.”
>
> AWS() SCRL FULL COLS 1 79 A<name>
>....+....1....+....2....+....3....+....4....+....5....+....6
ROSCOE BOUNDS/DISPLAY STATUS
SET CURRENT
BOUNDS DISPLAY DISPLAY
LEFT RIGHT LEFT RIGHT LEFT RIGHT
AWS: 1 8 1 72 1 72 NUMX CHAR CJUST
LIB: 1 8 1 72 1 72 NUM CHAR CJUST
JOB: 1 255 1 72 1 72 NUM CHAR CJUST
DSN: 1 32767 1 72 1 72 NUM CHAR CJUST
Note: STATUS DISPLAY provides information about the active AWS. When
working with one or more AWSs, use the STATUS AWS command to
display and change the display formats and column boundaries or all
existing AWSs. See Chapter 17, “AWS: Displaying/Changing AWS
Information” for additional information.
To begin the display with the line containing a specific attribute, include the
first one to four characters of the field name. For example, to begin the
display with the line containing DATE FMT, you could enter:
STATUS SESSION D or
STATUS SESSION DA or
STATUS SESSION DAT or
STATUS SESSION DATE
|
> APPLID(A4IROS3) USER(PH,DORDA2) L PENDING
| > AWS(PH.DUPCR) SCRL CSR COLS 1 79 PAU(PH.RAMB) A<AMB>3
| >....+....1....+....2....+....3....+....4....+....5....+....6....+....7..
| ROSCOE SESSION STATUS
_
>
>
....+....1....+....2....+....3....+....4....+....5....+....6.
ROSCOE SYSTEM STATUS
TIME Command
TIME
>
> AWS(AAA.SHIPRATE) SCRL FULL COLS 7 72
> ..<1....+....2....+....3....+....4....+....5....+
============================= T O P =============
1 IDENTIFICATION DIVISION
>
>
....+....1....+....2....+....3....+....4....+....5....+..
9/6/88 15.3.27 - ELAPSED 1:29:4 - CPU .34
After viewing this information, you can reattach the data you were working
with, or issue any other Advantage CA-Roscoe command.
This chapter describes how you can print data at a system or 328x (or
compatible) printer. The descriptions cover how to:
■ Identify the data you want to print. It can be all or part of:
– The currently displayed screen.
– The active AWS.
– One or more library members or the Library Selection List.
Also see Chapter 34, “Library: Performing Library Management
Tasks” for information about printing data through the Library Facility
Print Function panel or the Selection List.
– The currently attached job output file.
Also see Chapter 30, “Jobs: Viewing Job Output” for information
about using the modifiable STATUS JOB display to print job output.
– The currently attached data set object.
Also see Chapter 27, “Data Sets: Performing Data Management Tasks”
for information about printing data through the Data Set Facility Print
Function panel or a Selection List.
■ Qualify the data that you want printed (for example, printing multiple
copies or printing only selected lines or columns of the data).
■ Control printers and printing locations. This includes:
– Displaying information about available printers and printing locations.
– Directing your data to print at an alternate location (like a different
system or 328x-type printer).
■ Control and monitor the data after it has been scheduled for printing.
Data from any of the sources identified in the previous figure can be combined
as long as the total number does not exceed 12. To illustrate, the following
example shows how you can combine data from eight different sources. This
example also uses the INSEP operand to cause the data from each source to
begin on a new page:
PRINT MEM1 DSN AWS 1 4 AWS 9 1 JOB LIB AAA.MEM2 SCR INSEP
1 2 3 4 5 6 7 8
You can also print a copy of the current screen display when an RPF program
or other application (like ETSO or CA-eMAIL+) is in control of the terminal.
Assuming that the CA defaults are in effect, you can do this by entering:
:P
in any unprotected field and pressing PF12. (The cursor must immediately
follow the command :P.)
If the CA defaults are not in effect, the STATUS SYSTEM display will identify
the site-defined:
■ Escape character: The field RSCESCCH identifies the character to use. The
default is a colon (:).
■ PF key: The field RCSESCPF identifies the PF key to use. The default is
PF12.
CAPS Operand:
TYPE Operand:
>
> AWS(PRI.INVLIST1) SCRL FULL COLS 1 72
> <...+....1....+....2....+....3....+....4....+....5...
================================ T O P ==============
1 This data illustrates the use of the formatting
2 pseudo-commands.
3 :p.
4 The preceding .SK 2 command causes two blank
5 lines to be inserted in the printed output.
6 :TOP
7 The :TOP command causes a page EJECT to occur.
8
9 The pseudo-commands must begin in the first posi-
1 tion of a line and be the only data on that line.
FORMAT Operand:
where:
tag Optional name that you can assign to the print request.
number Print request number assigned by Advantage CA-Roscoe.
id Location at which the request is scheduled for printing.
Note: A print request is any data that you direct to a system or 328x-type
printer.
You can assign a name (referred to as a tag) to a print request. If included, the
tag must be one- to eight- characters in length, begin with an alphabetic
character, and be bound by apostrophes, as in:
PRINT 'MASTER' DSN
Here, the name MASTER is assigned to the print request that prints the
contents of the currently attached data set object.
To reference a scheduled print request (that is, to hold a request), you must
include either the Advantage CA-Roscoe-assigned request number or the
user-assigned tag name with the appropriate command. See 7.4, “Controlling
and Monitoring Print Requests” for additional information.
■ To print a range of lines within the active AWS, include the appropriate
starting and ending line numbers with the command, as in:
PRINT 1 5
■ To print a range of lines within an attached data set object, job output file
or library member, specify the appropriate line numbers after identifying
the data to be printed, as in:
PRINT JOB 1 5
■ When printing data from multiple sources, identify the data to be printed
and the appropriate line numbers, as in:
PRINT INVLIST 6 1 AWS 12 23 DSN 1 5
■ To print any display that does not include line numbers (like the current
screen display or a Data Set Facility Selection List), assume that the data
are numbered from one by one. To print the first ten lines of the current
screen display,
PRINT SCREEN 1 1
You can also limit a print request to include only the data appearing within
specific columns.
■ If the display includes a Scale Line (like the active AWS, a library member,
attached job output file or data set object), use the Scale Line values to
determine the appropriate column numbers. For example, if you enter:
PRINT JOB COLS 1 3
only the data appearing within column 10 through 30 will be included in
the print request.
■ If the display does not include a Scale Line (like the current screen
display), the left-most displayed position is assumed to be column one. If
you enter:
PRINT SCREEN COLS 1 1
only the data appearing in the first ten positions on the screen are included
in the print request.
FCB can be used to specify the Forms Control Buffer to be used when
producing the output, as in:
PRINT JOB FCB B6
When you issue the PRINT command, your data are directed to the default
printing location associated with your terminal.
You can change your printing location for a single request or for the remainder
of your terminal session.
To specify an alternate location for a single request, use the DEST operand
with the PRINT command. For example, to print the contents of the active
AWS at the location identified as PR05, you would enter:
PRINT DEST PR5
Use the SET RPSDEST command to alter the default printing location for the
duration of your terminal session (or until you execute another SET RPSDEST
command). For example, to change the default printing location to PR12, you
would enter:
SET RPSDEST PR12 2
PRINT LOCATION
The resulting display provides information about the location where your
print requests are normally directed. The information shows, for example,
the maximum number of lines and copies you can print at that location.
When you issue the command:
STATUS SESSION
the field RPSDEST contains the name of your current (or default) printing
location.
■ To display information about a specific location, enter the command
followed by the name of that location. For example, if you entered:
PRINT LOCATION PR17
Information associated with the printing location identified as PR17 is
displayed.
where printer-name is the name your site has assigned to that printer.
You can use the tag name in place of the request number, as in:
PRINT CANCEL MASTER
To check the status of all of your outstanding print requests, you can enter
either:
PRINT STATUS or PRINT STATUS ALL
To check the status of a particular request, you must include the tag or print
request number of the desired request. For example, to check the status of a
print request whose tag name is MASTER, enter:
PRINT STATUS MASTER
To check the status of the print request assigned the number 278, enter:
PRINT STATUS 278
Having held one or more requests, you can release them using the PRINT
RELEASE command, as in:
PRINT RELEASE MASTER
or
PRINT RELEASE 598
or
PRINT RELEASE ALL
You can use PRINT HOLD and PRINT RELEASE to rearrange the priorities of
your own print requests. The steps you follow are:
1. Hold all of your outstanding requests at the appropriate location.
2. Release the print request you want printed first, then release your
remaining print requests.
This example assumes that the terminal's default printing location is PRT01
and that ABC was implicitly scheduled to print at that location. If you reroute
a held request, the request is automatically released.
This chapter describes the basic format of the screen displayed during an
Advantage CA-Roscoe session. It also discusses how you can:
■ Split the screen, (allowing two concurrent Advantage CA-Roscoe
subsessions)
■ Lock the screen by invoking the Terminal Lock Facility
_
1
>
> AWS(PRI.INVLIST) SCRL FULL COLS 1 72 2
> <...+....1....+....2....+....3....+....4....+....5....+....6.
================================ T O P ======================
1 IDENTIFICATION DIVISION.
2 PROGRAM-ID. INVLIST.
3
4
5 ENVIRONMENT DIVISION.
6
7 CONFIGURATION SECTION.
8 SOURCE-COMPUTER. IBM-381.
9 OBJECT-COMPUTER. IBM-381.
1 3
11 INPUT-OUTPUT SECTION.
12 FILE-CONTROL.
13 SELECT INVENTORY-FILE
14 ASSIGN TO UT-S-SYSIN.
15 SELECT INVENTORY-REPORT
16 ASSIGN TO UT-S-SYSPRINT.
Note: This screen and all others shown in this manual are representations of
the actual screens. The screen widths are modified to allow them to fit
within the margins of this manual. This results in an abbreviated
System Information and Scale Line.
This area is where you enter all primary commands, Monitor commands and
RPF program names. You can enter one or more commands or program names
per line. (See Chapter 2, “Commands and Command Components” for
additional information about entering commands in this area.)
When an AWS is attached, line commands can be used to enter and modify
the displayed data. (For additional information about using line commands,
see Chapter 2, “Commands and Command Components.”)
When the screen is split, each presentation area represents a single Advantage
CA-Roscoe subsession. Each subsession is allocated its own AWS and can be
used to perform any command or function handled through the single display
format. These subsessions allow you to have two simultaneous independent
Advantage CA-Roscoe sessions. (If there is a site sign-on program or if you
have a sign-on program, these programs are executed each time you split the
screen.)
When you split the physical screen into two logical presentation areas, each
screen contains:
■ A Command Area, consisting of one to three lines. (Use the SET
CMDLINES command to specify the number of lines comprising this area.)
■ A System Control Area, containing a Response Line, System Information
Line and Scale Line.
■ An Execution Area, containing the maximum number of lines allowed as
determined by the type of split screen you invoked.
>
> AWS() SCRL FULL COLS 1 72
> <....+....1....+....2....+....3....+....4....+....5....+....6.
...... ================================= T O P ======================
1 AAAAA
...... ============================== B O T T O M ===================
-
> S1 PENDING
>
>....+....1....+....2....+....3....+....4....+....5....+....6....+....7
:S
in any unprotected field of the screen and pressing PF12. (The cursor must
immediately follow the command.) Note that the colon and PF key
assignment are the Advantage CA-Roscoe defaults. Use the STATUS SYSTEM
command to determine if your site management has changed these defaults.
Partial-Screen Split
>
> AWS() SCRL FULL COLS 1 72
> <....+....1....+....2....+....3....+....4....+....5....+....6..
...... ================================= T O P =======================
1 AAAAA
...... ============================== B O T T O M ====================
_
>
>
>....+....1....+....2....+....3....+....4....+....5....+....6....+....7
If the physical screen contains an even number of lines, the upper
presentation area will contain one more line than the lower presentation
area.
■ divide the screen unequally:
Position the cursor to any line other than those used to perform an equal-
or full-screen split and press PF1 or PF13. (For example, if you position
the cursor to the thirteenth line of a 43-line terminal screen and press PF1
or PF13, the upper screen will contain 12 lines, the separator will be on the
thirteenth line and the lower presentation area will use the remaining lines.
Note that you cannot change the screen size if an RPF program executing in
either presentation area contains the command SET SCREEN NOMODIFY.
When a partial-screen split is in effect, use the cursor positioning keys to move
the cursor from one area to the other, the new presentation area becomes
active; the old presentation area is inactive.
■ If the newly activated presentation area is less than three-fourths the size
of the deactivated presentation area, the sizes of the two areas are
interchanged.
■ If the cursor is positioned to the line separating the two areas, both
presentation areas are considered inactive.
You can activate one presentation area while deactivating the other by pressing
PF2 or PF14, the Advantage CA-Roscoe default PF-key assignments for
swapping. This bounces the cursor from the active presentation area to the
inactive area. Thus, activating the new area.
When a full-screen split is in effect, pressing PF2 or PF14 causes the logical
screens to be bounced, where the new screen contains the cursor and is, thus,
the active screen.
:W
in any unprotected field of the screen and pressing PF12. (The cursor must
immediately follow the command.) Note that the colon and PF key
assignment are the Advantage CA-Roscoe defaults. Use the STATUS SYSTEM
command to determine if your site management has changed these defaults.
You can end your Advantage CA-Roscoe session while the screens are split by
entering OFF or OFFON in either presentation area.
If, when you terminate split screens or sign-off Advantage CA-Roscoe, there is
data in an AWS with a RECOVERABLE attribute, it is saved in a library
member named SAVAWSnn, where nn is a unique identifier.
:E
in any unprotected field of the screen and pressing PF12. (The cursor must
immediately follow the command.) Note that the colon and PF key
assignment are the Advantage CA-Roscoe defaults. Use the STATUS SYSTEM
command to determine if your site management has changed these defaults.
allows you to bounce between the terminal's primary and alternate screen
sizes. Additional operands of this command permit you to switch to a specific
size, as in:
SCREEN 2
which changes the screen size to 24 rows by 80 columns. See the Advantage
CA-Roscoe Interactive Environment Command Reference Guide for additional
information about using this command.
the terminal lock screen (as illustrated in the following example) is displayed.
>
....+....1....+....2....+....3....+....4....+....5....+....6....+....7.
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
||||| TLO1 TERMINAL LOCKED ||||||||
||||| ||||||||
||||| KEY your-key DATE 9/19/94 ||||||||
||||| TERMID terminal-id TIME 14.35.5 ||||||||
||||| APPLID application-id VERSION 6. ||||||||
||||| ||||||||
||||| To continue enter password => ||||||||
||||| To terminate enter 'OFF' => ||||||||
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
||||||||| ||||| ||||| || ||| ||||| |||||
|||||||| || |||| || ||||| ||||||||| |||||| || ||||| ||||||||||
|||CA-| || |||| || ||||| ||||||||| |||||| || ||||| |||||||||||
|||||| |||| || ||||| ||| |||||| || ||||| ||||||||
||||| ||| |||| || ||||||||||| ||| |||||| || ||||| |||||||||||||
|||| ||| ||| || ||||||||||| ||| |||||| || ||||| ||||||||||||||
||| ||| ||| ||| ||| || ||||| |||||||||
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
When this screen is displayed, you must enter either your Advantage
CA-Roscoe password (to resume your session) or the OFF command (to
terminate your session).
Note: The Terminal Lock Facility is not available if you have no Advantage
CA-Roscoe password, are using a typewriter device, or are accessing
Advantage CA-Roscoe through a terminal defined to CICS.
There are two other ways the Terminal Lock Screen can be displayed.
1. When an RPF program or another application (like ETSO or CA-EMAIL+)
is in control of the terminal, you can force the Terminal Lock screen by:
■ Checking the STATUS SYSTEM display to verify the site-defined
escape character prefix (identified by the RCSESCCH field) and PF key
(identified by the RCSESCPF field).
■ Assuming the defaults are in effect, entering in any unprotected field
of the display:
:L
and pressing PF12. (The cursor must immediately follow the command
:L.)
2. Site management can force the terminal to be locked if there is no activity
for a site-specified period of time. (If the Advantage CA-Roscoe Automatic
Signoff Facility is in use when the Terminal Lock screen is displayed, you
will be signed off Advantage CA-Roscoe if there is no terminal activity
within the site-specified time period.)
In addition to causing the Terminal Lock screen to be displayed, you can use
the SET TLOCK command to: 1) activate the Terminal Lock Facility, if it is
inactive and 2) change the site-defined inactivity period. See the Advantage
CA-Roscoe Interactive Environment Command Reference Guide for additional
information about the SET TLOCK command.
You can use the SEND command or the BulletinBoard System to direct a
message containing one or more lines to any other Advantage CA-Roscoe user.
only messages sent by the operator are displayed. (Regardless of the setting,
the messages are always added to your library member ZZZZZMSG.)
If you are signed on and receiving messages when someone sends you a
message and it is a:
■ One-Line Message:
The message is displayed on the Response Line the next time you press the
Enter key or a PF key. As shown in the following example, the message
text is preceded by the sender's prefix.
> pfx RECEIVED YOUR REPORT. THANKS, JOHN
> AWS() SCRL FULL COLS 7 72
> ...1....+....2....+....3....+....4....+....5....+....
...... ============================= T O P =================
1 IDENTIFICATION DIVISION.
■ Multi-Line Message:
The following example illustrates the format of the message you receive
the next time you press the Enter key or a PF key.
On the ZMsg screen, fill in the fields with the appropriate information. Enter
the Advantage CA-Roscoe prefix or the key of the user you are sending the
message to. If the key or prefix does not exist, you will receive an error
message on the Error/Status line. Enter the message text in the Message field.
To send the message, press Enter. The message is sent, and your message field
is immediately updated to include this information. The Status line on the top
of the screen tells you that the message was sent, and to what prefix.
10.1 Signing On
In addition to describing the Advantage CA-Roscoe sign-on screen, this section
provides information about how to bypass the sign-on screen when signing on
from VTAM terminals or accessing Advantage CA-Roscoe from CICS
terminals, a TSO session or another Advantage CA-Roscoe.
>APPLID(A4IROS3)
>
....+....1....+....2....+....3....+....4....+....5....+....6....+....7
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|||| |||||||
|||| |||||||
|||| KEY _ DATE 9/19/92 |||||||
|||| PASSWORD TIME 14.35.49 |||||||
|||| GROUP CODE TERMID A1IX17 |||||||
|||| NEW PASSWORD > |||||||
|||| > (Repeat for verification) |||||||
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|||||||| ||||| ||||| ||| ||| ||||| |||||
||||||| || |||| || ||||| ||||||||| |||||| || ||||| ||||||||||
||CA-| || |||| || ||||| ||||||||| |||||| || ||||| |||||||||||
||||| |||| || ||||| ||| |||||| || ||||| ||||||||
|||| ||| |||| || ||||||||||| ||| |||||| || ||||| ||||Ver 6.||
||| ||| ||| || ||||||||||| ||| |||||| || ||||| ||||Glvl 944|
|| ||| ||| ||| ||| || ||||| |||||||||
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|||| COPYRIGHT (C) 1994 COMPUTER ASSOCIATES INTERNATIONAL, INC. ||||||
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
To sign on to Advantage CA-Roscoe, complete the following fields:
KEY (Required.) Enter the sign-on key assigned to you by
site management. The cursor is positioned to this field
when the sign-on screen is displayed.
PASSWORD (May be required.) Enter your password if you have
been assigned one.
A password protects you against unauthorized access.
Thus, for security reasons, your password is not
displayed when you enter it.
After completing the appropriate fields, press the Enter key to have the
information transmitted to Advantage CA-Roscoe. As soon as you are signed
on:
■ The system sign-on message is displayed, if established by your site
management.
■ The system sign-on program is executed, if established by your site
management.
■ Your sign-on program is executed, if you have created one.
Your site management will tell you what application ID to use. If the ID is, for
example, ROSCOE, you can display the Advantage CA-Roscoe sign-on screen
by entering:
ROSCOE
and pressing the Enter key. You can now sign on as described earlier.
You can bypass the Advantage CA-Roscoe sign-on screen by entering sign-on
information with the VTAM application ID. To do this, you would use the
format:
──applid──signonkey──┬─────────────────────────────┬──────────
└─/password─┬─────────────┬─/─┘
└─/group-code─┘
Examples:
If your sign-on key is SMITH and you have no password or group code, you
would enter:
ROSCOE SMITH
If you sign-on key is SMITH and your password is MYPASS, you would enter:
ROSCOE SMITH/MYPASS
──CALL──prog──┬────────────────────┬──┬────────────┬──────────
└─signonkey/password─┘ └─ROSID=code─┘
Notes:
■ If you do not enter your sign-on key and password, either:
– The information is provided by your site security system and the
Advantage CA-Roscoe sign-on screen is bypassed
– The Advantage CA-Roscoe sign-on screen is displayed
■ There is an optional user group code:
– If specified explicitly, will be passed to the target Advantage
CA-Roscoe.
– If specified implicitly with an asterisk (*), the user group code from
your current Advantage CA-Roscoe session will be passed to the target
Advantage CA-Roscoe.
– If your site security system is providing the sign-on information, the
user group code from your current Advantage CA-Roscoe session will
be passed to the target Advantage CA-Roscoe.
■ ROSID= allows you to designate which Advantage CA-Roscoe you want to
sign on to. You may omit ROSID= if:
– Your site is executing a single Advantage CA-Roscoe, or
– You have no preference as to which Advantage CA-Roscoe you are
signed on to when your site is executing multiple Advantage
CA-Roscoe systems.
First, create a full-screen split. In the new screen, enter the CALL command
with the appropriate program name and identify the target Advantage
CA-Roscoe, as in:
──CALL──prog──┬──────────────────────┬──ROSID=ROSA────────────
└─signonkey──/password─┘
;W
and press PF12, where the ; is defined as the host Advantage CA-Roscoe RCS
escape character.
Since the target Advantage CA-Roscoe has a different RCS escape character, it
is possible to request a full-screen split on that Advantage CA-Roscoe. This
gives you four Advantage CA-Roscoe screens, two on the host and two on the
target. It is also possible for you to access yet another Advantage CA-Roscoe
from the target.
When you end your target Advantage CA-Roscoe session you are returned to
your host Advantage CA-Roscoe session.
──transid──┬──────────────────────────┬──┬────────────┬───────
└─signonkey─┬───────────┬──┘ └─ROSID=code─┘
└─/password─┘
Notes:
■ See the Advantage CA-Roscoe Interactive Environment Installation Guide for
complete information about setting up CICS interface modules and
TRANSID resources.
■ If you do not enter your sign-on key and password, either:
– The information is provided by your site security system and, thus, the
Advantage CA-Roscoe sign-on screen is bypassed, or
– The Advantage CA-Roscoe sign-on screen is displayed.
■ ROSID= allows you to designate which Advantage CA-Roscoe you want to
sign on to. You can omit ROSID= if:
– Your site is executing a single Advantage CA-Roscoe, or
– You have no preference as to which Advantage CA-Roscoe you are
signed on to when your site is executing multiple Advantage
CA-Roscoe systems.
When you end your Advantage CA-Roscoe session, you are returned to CICS.
From the TSO READY prompt or from ISPF/PDF Option 6, you can access
Advantage CA-Roscoe using the sign-on format:
──cpid──┬──────────────────────────┬──┬──────────────────┬────
└─signonkey─┬───────────┬──┘ └─ROSID=─┬──────┬──┘
└─/password─┘ └─code─┘
Notes:
■ If you do not enter your sign-on key and password, either:
– The information is provided by your site security system and, thus, the
Advantage CA-Roscoe sign-on screen is bypassed, or
– The Advantage CA-Roscoe sign-on screen is displayed.
■ ROSID= allows you to designate which Advantage CA-Roscoe you want to
sign on to. You may omit ROSID= if:
– Your site is executing a single Advantage CA-Roscoe, or
– You have no preference as to which Advantage CA-Roscoe you are
signed on to when your site is executing multiple Advantage
CA-Roscoe systems.
When you end your Advantage CA-Roscoe session, you are returned to TSO.
WARNING:
The TSO restriction on the use of PA1 is applicable during your Advantage
CA-Roscoe session. If you should press the PA1 key, it is ignored.
If your site permits you to control your password, you have two different
methods for creating, changed and deleting it.
You can use the NEW PASSWORD fields on the Advantage CA-Roscoe
sign-on screen to:
■ Create a Password.
Enter your password in the NEW PASSWORD field. To verify that the
password is spelled correctly, reenter it on the next line. The password
must be one to ten characters in length and cannot contain a slash (/) as
one of its characters.
■ Change a Password.
Enter your current password in the PASSWORD field. Then enter your
new password in the NEW PASSWORD field (and on the following line
for verification). The next time you sign on to Advantage CA-Roscoe, your
new password is in effect.
■ Eliminate a Password.
Enter spaces in the NEW PASSWORD field and on the following line.
A sign-on program is useful when, for example, you want certain Advantage
CA-Roscoe session attributes to always be in effect. Rather than entering the
commands establishing each attribute every time you sign on to Advantage
CA-Roscoe, you can include the commands in a library member and then have
the commands in that member automatically executed for you. (See Chapter 6,
“Displaying Session Attributes/Information” for additional information.)
SAVE MYSIGN_
>
> AWS( ) SCRL FULL COLS 1 72
> <...+....1....+....2....+....3....+....4....+....5....6....+
...... ================================ T O P =====================
1 <<MYSIGN>>
2 SET MODE XTENDED : Set character translation
3 SET DISPLAY ALL 1 72 NUM : Set display format
4 SET DISPLAY AWS 7 8 NUMX : Set AWS display format
5 TAB $ : Set tab character
6 TAB 16 2 42 : Set tab positions
7 SET ; : Set command delimiter
8 : PF key assignments follow
9 LET AWS.PF13 = '+FETCH +C1+/ATTACH'
1 LET JOB.PF13 = '+ATTACH JOB +C1+'
11 LET DSN.PF13 = '+ATTACH DSN +C1+'
12 LET LIB.PF13 = '+ATTACH +C1+'
13 LET PF14 = '+DETACH +C1+'
14 LET PF15 = '+SCROLL +C1+ +C2+ +C3+'
============================= B O T T O M ==================
When creating a library member that is to be your sign-on program:
■ Only one command may appear per line in the member.
■ The first line in the member should contain the library member name.
If you do include the name, it must be bound by angle brackets (<< and
>>). (Notice line 100 in the previous figure contains <<MYSIGN>>, where
MYSIGN is the name of the member.)
■ Comments may be included in the program.
A comment is indicated by a colon (:) that is preceded and followed by at
least one space. Any words following the colon are treated as comments
and ignored. (Notice the use of comments in the sample sign-on program
in the previous figure.)
To establish or change the member containing your sign-on program, enter the
command SIGNON followed by the appropriate library member name. For
example:
SIGNON MYSIGN
Eliminating a sign-on program does not delete the library member. It simply
prevents the commands comprising that member from being executed each
time you sign on to Advantage CA-Roscoe.
If any existing AWS with a RECOVERABLE attribute contains data when you
sign off (or are automatically signed off), the contents of each AWS is saved as
a library member named SAVAWSnn, where nn is a unique ID.
The time that you specify may not exceed your site-defined maximum. (Use
the STATUS SYSTEM command to display the site-defined default and
maximum inactivity time periods.)
If your site is not using this facility, it is noted on the STATUS SYSTEM
display. You then have the option of activating and deactivating the facility
using the SET AUTOFF command.
in the Command Area and pressing PF8. For the assignment, 5 LINES is
treated as a single value; when the assignment is performed, it is treated as
SCROLL FORWARD 5 LINES.
■ Enter Variables and Other Commands/Data:
When a PF/PA key with a variable assignment is pressed, the entire
Command Area is read to build a valid PF/PA key assignment. All of the
information needed by a PF/PA key must appear on the same line and
precede any other command or data.
When an assignment includes variables, the combined length of the
assignment after the variables have been replaced by values plus any
additional commands/data found in the Command Area must not exceed
255 characters in length.
You have the option of changing any of the PF/PA key assignments provided
by your site. New assignments:
■ Can be established at any time during a terminal session.
■ Remain in effect until you sign off or change them. If you decide that you
always want certain assignments to be in effect, you can add the
commands establishing those assignments to your signon program. Then,
each time you sign on, the commands are executed and the PF/PA
functions are automatically reassigned for you.
11.4.1 Syntax
The syntax to assign a function to a PF or PA key is:
──LET──┬────────┬──┬─PAv─┬──=──'string'───────────────────────
└─scope.─┘ └─PFv─┘
PA Keys You can assign one or more commands or one of the designated
keyword functions of a PA key.
PF Keys You can assign one or more commands or any keyword function to
a PF key. When assigning commands and keyword functions, you
may include multiple commands but only one function.
the active AWS and explicitly execute a program named FETCH when you
press PF10:
LET PF1 = 'RENUMBER//FETCH'
Remember that the slashes in this example are serving two purposes. The
first slash separates the commands; the second slash explicitly invokes RPF
program execution.
■ Assigning Variable Values:
You can include Command Line and RPF variables in a PF key
assignment. RPF variables can be included in a PA key assignment.
– Defining Variables:
When variables are used within an assignment, the assignment must
begin with a special character (a plus sign in these examples) that is
also used to delimit the variable portion of the assignment, as in:
LET PF4 = '+FETCH +C1+/ATTACH' or
LET PF5 = '+RENUMBER/SAVE +C1+'
If you omit the special character, the variable is not recognized. (In
both cases, C1 is assumed to be a library member name, not a
Command Line variable.)
Caution IMPORTANT:
When variables are used in an assignment, the length of the
assignment, after all variable substitution has been performed, plus
any other commands/data specified in the Command Area may
not exceed 255 characters.
The following functions can be used to position the display. Unless noted
otherwise:
■ These functions can only be assigned to PF keys, and
■ Any changes made to the current frame are applied.
This chapter describes the user documentation and online tools that are
provided with Advantage CA-Roscoe.
Finally, each user should have a copy of the Advantage CA-Roscoe Reference
Summary and, optionally, a copy of the RPF Reference Summary.
_
>
> HLP(...HELP...) SCROLL FULL DISPLAY 1 79
>....+....1....+....2....+....3....+....4....+....5....+....6
SAVE
. . .
As with all HELP displays, the information presented includes:
Function A one-sentence description of the command or facility.
Syntax The syntax of the command.
Level List of HELP members that provide additional or related
information about the command or facility.
The following figure identifies the PF keys that are used to position within and
between HELP displays.
To obtain information about the HELP facility itself, enter the command:
HELP
The resulting HELP display explains how to invoke the Tutorial at your
company.
Chapter 15. AWS: Copying Data Within and Into an AWS . . . . . . 15-1
15.1 Copying Data Within the Active AWS . . . . . . . . . . . . . . . . . 15-2
15.1.1 Using a Primary Command . . . . . . . . . . . . . . . . . . . . . 15-2
15.1.2 Using Line Commands . . . . . . . . . . . . . . . . . . . . . . . . 15-2
15.2 Copying Data to an AWS . . . . . . . . . . . . . . . . . . . . . . . . . 15-7
15.2.1 Alternate Form of Screen Copy . . . . . . . . . . . . . . . . . . . 15-8
15.2.2 Copying All or a Range of Lines . . . . . . . . . . . . . . . . . . 15-8
15.2.3 Copying Based on a Character String . . . . . . . . . . . . . . . 15-9
15.3 Copying Data Between Screens . . . . . . . . . . . . . . . . . . . . . . 15-11
15.3.1 Copying All or a Range of Lines . . . . . . . . . . . . . . . . . . 15-12
15.3.2 Copying Based on a Character String . . . . . . . . . . . . . . . 15-12
User Guide
Chapter 21. AWS: Moving Data Within an AWS . . . . . . . . . . . . . 21-1
21.1 Using a Primary Command . . . . . . . . . . . . . . . . . . . . . . . . 21-2
21.2 Using Line Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . 21-3
When you sign on to Advantage CA-Roscoe, an AWS (or Active Work Space)
is automatically allocated for your use. If you split the screen, a second AWS is
automatically allocated for that subsession (a split screen appears). These
AWSs are named ROSn, where n is a unique identifier. (The name of the AWS
that you are currently working with is shown at the right side of the System
Information Line.) All data entry and editing that you do during your
Advantage CA-Roscoe session is done in one of these temporary work areas.
Note: See Chapter 8, “Selecting a Screen Format” for information about the
Advantage CA-Roscoe split screen facility.
You can place data in an AWS by entering it from the terminal or copying it
from the Advantage CA-Roscoe library, an attached job output file or an OS
data set. After editing the data, you can store it as a member in the Advantage
CA-Roscoe library, print a copy of it at a 328x-type or system printer, submit it
to the operating system, write it to a data set or delete it.
The data in an AWS is stored in the form of variable length records not
exceeding 255 characters in length. (Each line in an AWS is considered to be a
record.) These records are kept in order by six-digit sequence numbers that
are created and maintained externally from your data. The maximum number
of records that you can have in an AWS is set by your site management.
Any data remaining in an AWS when you sign off is automatically saved for
you if the AWS has a RECOVERABLE attribute. The data is saved in the
Advantage CA-Roscoe library as a member. One member is created for each
recoverable AWS that you are using. The members are named SAVAWSnn,
where nn is a unique identifier. These members are also created in the event of
a network shutdown or system failure. The next time you sign back on to
Advantage CA-Roscoe, you can use these members to restore your AWS(s).
To view the entire contents of a specific AWS and make it the active AWS, you
might enter:
ATTACH AWS SAMPLE
When working with the currently active AWS, you can use ATTACH to:
■ Limit the display to a particular range of lines. For example, to view only
lines 200 through 800 of the currently active AWS, you would enter:
ATTACH 2 8
■ Begin the display with the first occurrence of a particular character string.
For example, assume that the active AWS contains a COBOL program and
you want to begin the display with the line containing PROCEDURE
DIVISION. To do this, enter:
ATTACH 'PROCEDURE DIVISION'
The display begins with the first line in the active AWS that contains the
specified string. (Note that the string specified with ATTACH must be
enclosed by a special character that is not found within the string itself.)
See Chapter 27, “Data Sets: Performing Data Management Tasks” and
Chapter 34, “Library: Performing Library Management Tasks” for additional
commands that can be used to place data within an AWS.
You can also use the modifiable display provided by the STATUS AWS
command to rename or change AWS attributes. See Chapter 17, “AWS:
Displaying/Changing AWS Information” for details.
You can use the CREATE command to name and define the attributes of one
or more additional AWSs. The maximum number of additional AWSs that you
can work with is set by site management.
where SAMPLE is the name assigned to this AWS. You can use almost any
one- to eight-character name that conforms to Advantage CA-Roscoe member
naming conventions. (The restricted names are FLIP, NEXT, PREV, ROSn,
SYSn and TMPn (where n is a numeric value); B, F, N, P, T, and R are also
restricted.)
Since no attributes are defined with the CREATE command in the preceding
example, the default values are used. The attributes that you can assign to an
AWS (and their default values) are:
■ RECOVERABLE or NONRECOVERABLE
These define whether the contents of the AWS is to be backed up on disk
and recovered in the event of a session or system failure. The default is
RECOVERABLE.
■ SESSION, SPLIT, RPF or LEVEL:
These define the retention period for the AWS, where:
SESSION Discards the AWS when you end your session. (Default)
SPLIT Discards the AWS when the screen in which the AWS was
created is terminated.
RPF Discards the AWS when the RPF application containing
the CREATE command terminates (In this case,
application refers to the initiating RPF program and all of
its subordinate RPF programs.)
LEVEL Discards the AWS when the RPF program containing the
CREATE command terminates.
■ ACTIVE or INACTIVE
These define whether the AWS is to become the active AWS for the screen
containing the command. The default is ACTIVE.
■ IMPLICIT or EXPLICIT
These define how the AWS is to be identified when a SELECT command is
issued. The default is IMPLICIT. (See 13.10, “Selecting an AWS” for
additional information.)
■ NEW, REUSE or RETAIN
These define the type of AWS being created, where:
NEW Indicates this is a new AWS. (Default)
REUSE Reuses an existing AWS after deleting its contents.
RETAIN Reuses an existing AWS while retaining its contents.
The attributes described thus far relate only to an AWS that you create. Once
created, each AWS has its own attributes that affect how data are displayed
and handled. To display all of the attributes associated with each existing
AWS, use the command:
STATUS AWS
You can also use the modifiable display provided by the STATUS AWS
command to discard one or more AWSs. (See Chapter 17, “AWS:
Displaying/Changing AWS Information” for details.)
Finally, the retention attribute associated with an AWS also controls when that
AWS will be discarded. For example, if you create an AWS with the retention
attribute of SPLIT, that AWS is discarded when the split screen where the
CREATE command was executed is terminated. (See 13.5, “Creating an AWS”
for additional information.)
This example assumes that all three commands appear in the Command Area
when the Enter key is pressed. The results would be different if the active
AWS is attached and the commands are entered one at a time, where:
■ Lines 600 through 900 are deleted. The AWS pointer is positioned to the
line following the last deleted line. The data are then redisplayed. The
redisplay of attached data causes the pointer to be positioned to the first
displayed line.
■ The line where the pointer is currently positioned (the first line of the
active AWS) is then copied after line 2100. The data are again redisplayed.
Again, the AWS pointer is positioned to the first displayed line.
■ The AWS contents are then explicitly redisplayed. The display begins with
the first line of the active AWS.
When using the asterisk (*) to reference the current pointer position, you can
qualify it with a positive or negative value, as in:
*-5 References the line that is five lines after the current pointer position.
*+5 References the line that is five lines before the current pointer position.
If the AWS that you are viewing exceeds the number of lines in your terminal
screen, you can reposition the display by:
■ Pressing any of the scrolling PF keys.
■ Using the POINT command with the LINE operand. For example, to
reposition the display to begin with line 2500, you would enter:
POINT AWS LINE 25
To position to the first or last line of the display, you would enter:
POINT AWS LINE T or POINT AWS LINE B
When browsing the STATUS AWS display, entering an * (asterisk) in the
first unprotected field for a specific entry repositions the display to begin
with that entry.
The line commands shown in the following figure can be used to reposition
the displayed data. Simply enter the appropriate line command in the
sequence number field of the display.
COMMAND ACTION AFTER COMMAND EXECUTED
v Display begins with line v (display begins with line 500 if that
value is typed in the sequence number field of any line).
* Display begins with the line that contained the *. Can be
qualified with:
+v Display begins v number of lines after the line that
contained the command.
-v Display begins v number of lines before the line that
contained the command.
+P [v] Display scrolled forward one or v number of pages, where a page
equals the number of lines in the Execution Area.
-P [v] Display scrolled backward one or v number of pages.
T+ Display begins with the first line of the active AWS. Can be
qualified with:
v Display begins v number of lines after the first line of the
active AWS.
B- Display contains the last line of the active AWS. Can be qualified
with:
v Display begins v number of lines before the last line of the
active AWS.
ATTACH INVLIST
>
> AWS(XYZ.SAMPLE) SCRL FULL COLS 7 72 LINE 1
> ...1....+....2....+....3....+....4....+....5....+....6....+..
...... ============================== T O P ========================
1 IDENTIFICATION DIVISION.
2 PROGRAM-ID. SAMPLE.
3 ENVIRONMENT DIVISION.
ATTACH AWS
>
> LIB(XYZ.INVREPT) SCRL FULL COLS 7 72
> ...1....+....2....+....3....+....4....+....5....+....6....+..
============================== T O P ========================
1 IDENTIFICATION DIVISION.
2 PROGRAM-ID. INVREPT.
3 ENVIRONMENT DIVISION.
>
> AWS(XYZ.SAMPLE) SCRL FULL COLS 7 72 LINE 1
> ...1....+....2....+....3....+....4....+....5....+....6....+..
============================== T O P ========================
1 IDENTIFICATION DIVISION.
2 PROGRAM-ID. SAMPLE.
3 ENVIRONMENT DIVISION.
When you reATTACH the AWS, the display begins with the first line of the
prior display. To reattach at a different location within the same data, you can:
■ Use the AWS operand with the FIRST, NEXT, LAST and PREV commands
to begin the display with the line containing a specific string, as in:
FIRST AWS /DD/
■ Use the AWS operand with the INCL or EXCL command to begin the
display with a list of lines containing (or not containing) a specific string,
as in:
INCL AWS /DD/
■ Use the AWS operand of the POINT command to begin the display with a
specific line, as in:
POINT AWS LINE 72
Note: At most sites, data that you add or change in an AWS is automatically
translated to its corresponding uppercase characters (the word division
is translated to DIVISION). You can control how the data that you
change is to be treated. See Chapter 3, “Controlling Character
Recognition” for additional information.
where columns 73 through 79 of every line in the active AWS will contain the
string INVLIST. If column numbers are omitted, the column boundaries
currently in effect are used. Thus, if the current column boundaries are 1
through 80 and you enter:
FILL ''
columns 1 through 80 of every line in the active AWS will contain ***. (If the
column range is greater than the string, the string is repeated.)
Note: Column boundaries specified with the command effect only the
execution of the command. See Chapter 4, “Defining Column
Boundaries” for additional information.
To limit the operation to specific lines, specify the appropriate line numbers
after the string, as in:
FILL 73 79 'INVLIST' 1 12
Both PREFIX and SUFFIX allow you to limit their operation to a specific range
of lines by including the appropriate line numbers after the string, as in:
SUFFIX 'SAMPLE' 3 9
Neither operation is performed if the result would cause a line to exceed 255
characters.
Use the ORDER command to invoke the Advantage CA-Roscoe internal sort
routine. Reorder specific records of the AWS in descending order, as in:
ORDER AWS COL 1 7 DES
If more than one AWS is active, specify the name of the AWS to be reordered,
as in:
ORDER AWS TMP2 COL 1 7 DES
You can reorder multiple groups of AWS records. Specify the columns to be
reordered, and the sorting order (ASCending or DEScending). If no order is
specified, the data will be sorted in ASCending order. You must use the word
'AND' (or its character equivalent) to separate the sorting boundaries, as in:
ORDER AWS COL 1 7 DES AND COL 17 24
Note: The word 'AND' can also be represented by the '&' (ampersand) or '@'
(the at sign).
If sites or users set the '&' as a command delimiter, it will override the
sort syntax and function as a delimiter. To use '&' within the ORDER
command, the command delimiter must be set to another character.
See 6.5, “Synopsis of Session Attributes” on page 6-16 for information
on changing the command delimiter.
A maximum of six order criteria are permitted. When sorting multiple column
groups, the sort is done in order of the columns specified. So, in the example
above, columns 1 through 7 are reordered, and then columns 17 through 24
are sorted with respect to the first sort.
You can limit an operation to specific columns and/or lines. Specify the
columns to be searched before the character(s). Specify the line numbers to be
searched after the character(s), as in:
XLATE 2 75 /-/ / 1 92
where only the data within columns 20 through 75 of lines 100 through 9200
are to be affected.
Note: Column boundaries specified with the command effect only the
execution of that command. See Chapter 4, “Defining Column
Boundaries” for additional information.
Enter the appropriate command in the sequence number field. Then enter the
search and replacement character(s) in the data portion of the same line. As
illustrated in the following screen, the strings must be delimited.
>
> AWS(AAA.DATEFILE) SCRL FULL COLS 7 72
> <..1....+....2....+....3....+....4....+....5....
61 ORDER NO. DATE REQUESTED DATE DELIVERED
XLB2 '/'- '
63 A12984-XX 9/14/91 12/15/91
64 A23563-XX 1/4/92 2/1/92
65 A45887-XX 6/2/92 9/19/92
>
> AWS(AAA.DATEFILE) SCRL FULL COLS 7 72
> <..1....+....2....+....3....+....4....+....5....
61 ORDER NO. DATE REQUESTED DATE DELIVERED
62
63 A12984-XX 9-14-91 12-15-91
64 A23563-XX 1-4-92 2-1-92
65 A45887-XX 6-2-92 9-19-92
Once search and replacement characters are specified, they are remembered
until you change them. This allows you to selectively change specific
occurrences of a character.
You can limit an edit operation to specific columns and/or lines. Specify the
columns to be searched before the character strings. Specify the line numbers
to be searched after the strings. For example:
EDIT 2 75 /INVENTORY-BALANCE/INVENTORY-AMOUNT/ 1 92
causes the command to affect only the data within columns 20 through 75 of
lines 100 through 9200.
Note: Column boundaries specified with the command affect only the
execution of that command. See Chapter 4, “Defining Column
Boundaries” for additional information.
By default, the search is for any string of characters that match the edit string.
To avoid possible confusion, you can qualify the string with the keyword
WORD, BEGIN, PREFIX, EMBED, SUFFIX, or END. (See Chapter 20, “AWS:
Locating Data Within an AWS” for additional information about these
qualifiers.) For example, if you enter:
EDIT /THE/AN/ WORD
the search is for every occurrence of THE that is preceded and followed by a
non-alphanumeric character. If you omitted the qualifier, words such as
OTHER and THERE would match the search string and would be changed.
In addition to replacing a character string, you can also use EDIT to:
■ Delete a character string from one or more lines.
By defining a null replacement string, every occurrence of the search string
will be deleted. For example, to delete every occurrence of the string
INVENTORY-BALANCE from the active AWS, you would specify:
EDIT /INVENTORY-BALANCE//
Lines containing the string are not deleted; only the string is deleted from
those lines.
■ Replace the entire contents of one or more lines.
Defining a null search string, the contents of every line will be overlaid
with the replacement string. For example, to replace the current contents of
lines 1800 through 2000 with the string FILLER, you would enter:
Enter the appropriate command in the sequence number field. Then enter the
search and replacement character strings in the data portion of the same line.
The strings must be delimited.
>
> AWS(AAA.DATEFILE) SCRL FULL COLS 7 72
> <..1....+....2....+....3....+....4....+....5....+6....+....
...... ============================= T O P =======================
EB 1 /PART-NUMBER-MSTR/PART-NUMBER-OUT/_
2 PROGRAM-ID. INVLIST.
3 ENVIRONMENT DIVISION.
Once edit strings are specified, they are remembered until you change them by
entering another edit line command. This allows you to selectively change
specific occurrences of a string. For example, assume you only want to change
certain occurrences of the string THIS to THAT. Once you have specified the
string, you can scroll through the active AWS, entering the appropriate edit
line command where needed.
Using the primary command to illustrate, you can activate the tracking facility
by entering:
SET EDITCHNG ON
When the facility is active, any subsequent EDIT primary command or E, EB,
or ET line command causes a change indicator to appear in the sequence
number field of affected lines. The indicator remains in the sequence number
field until you:
■ Replace the contents of the active AWS,
■ Issue the RESET line command or SET EDITCHNG RESET command, or
■ Enter the SET EDITCHNG OFF command, or deactivate the facility via the
STATUS SESSION display.
The following examples illustrate how you might use this facility. Notice that
the search string is qualified as a prefix. Therefore, line 6700 is not affected.
SET EDITCHNG ON
EDIT /IN-/INPUT-/ PREFIX
>
> AWS(AAA.DATEFILE) SCRL FULL COLS 7 72
> <..1....+....2....+....3....+....4....+....5....+6....+....
61 WORKING-STORAGE SECTION.
62 1 HOLDING-AREA.
63 2 IN-NAME PIC X(6) 'ROSCOE'.
64 2 IN-ADDR PIC X(9) 'PRINCETON'.
65 2 IN-STATE PIC X(2) VALUE 'NJ'.
66 1 WORK-AREA.
67 2 DATE-IN-PROCESS PIC X(8) 'XX/XX/XX'.
>
> AWS(AAA.DATEFILE) SCRL FULL COLS 7 72
> <..1....+....2....+....3....+....4....+....5....+6....+....7...
61 WORKING-STORAGE SECTION.
62 1 HOLDING-AREA.
==CHG> 2 INPUT-NAME PIC X(6) 'ROSCOE'.
==CHG> 2 INPUT-ADDR PIC X(9) 'PRINCETON'.
==CHG> 2 INPUT-STATE PIC X(2) VALUE 'NJ'.
66 1 WORK-AREA.
67 2 DATE-IN-PROCESS PIC X(8) 'XX/XX/XX'.
The change indicators placed in the sequence number field are modifiable. This
means you can overtype any indicator with a line command. After the
command is executed, the indicator is redisplayed.
If you want to track another edit operation, you can remove the change
indicators by issuing the RESET line command or:
SET EDITCHNG RESET
To deactivate the facility, either modify the STATUS SESSION display, or issue
the command:
SET EDITCHNG OFF
TRACE causes all affected lines to be displayed. While this facility is active,
each time you execute the EDIT command, a list of affected lines is displayed.
The NOTRACE command deactivates this facility.
Chapter 15. AWS: Copying Data Within and Into an AWS 15-1
15.1 Copying Data Within the Active AWS
Enter the COPY command followed by the number of the line to be copied
and the destination line number, as in:
COPY 295 36
In this example, the contents of line 2950 is to be copied at or after line 3600.
(If the destination line number exists, the data are inserted after it. If the line
number does not exist, the data are placed at that line number.)
Enter the COPY command with the number of the first and last line to be
copied plus the destination. For example, to copy lines 2500 through 2700 to
the top of the active AWS, you would enter:
COPY 25 27 T
Use the Nv operand to duplicate lines, where v is the number of times the
data are to be repeated. For example, to copy lines 700 through 900 at, or after,
line 2500 and have those lines repeated three times, you would enter:
COPY 7 9 25 N3
As with the primary commands, you must indicate the line(s) to be copied and
the destination of that operation. (The destination line commands are shown
in the following table.)
■ To copy a single line:
Type C in the sequence number field of the line to be copied. (Also
include a destination line command in the sequence number field of the
appropriate line.)
■ To copy a block of lines:
Type CC in the sequence number field of the first and last lines to be
copied. (Also include a destination line command in the appropriate
sequence number field.)
Note: The lines involved in the operation need not appear on the same
screen. You can scroll the display forward or backward while the
command is pending (waiting for a matching copy or destination
line command).
■ To copy a range of lines:
In addition to the appropriate destination line command, type one of the
following line commands in the appropriate sequence number field:
Cv To copy v number of lines (for example, entering C5 causes the
line containing the command plus the next four lines to be
copied).
CB To copy all lines from the line containing the command through
the last line of the active AWS.
CT To copy all lines from the first line in the active AWS through the
line containing the command.
■ To copy repeatedly:
Type CR (for a single line copy) or CCR (on the first and last lines, for a
block copy) in the appropriate sequence number field. Then, type a
destination line command on the appropriate target sequence number field.
The destination line command that you use will either cause the CR or
CCR command(s) to remain displayed, allowing you to copy the same
line(s) to multiple locations, or remove the commands. (You can also use
the RESET line command to remove a pending CR or CCR command.)
The following table shows all of the destination line commands for Copy.
Chapter 15. AWS: Copying Data Within and Into an AWS 15-3
15.1 Copying Data Within the Active AWS
The following example illustrates how you can use overlay destination line
commands. Only the blank characters in the target lines are overlaid with
corresponding data from the source lines.
>
> AWS(PRI.INVLIST) SCRL FULL COLS 7 72
> ...1....+....2....+....3....+....4....+....5....+
C 8 SAMPLE PIC X( ).
O2 9 PART-DESCRIPTION-IN
1 INVENTORY-BALANCE-IN
>
> AWS(PRI.INVLIST) SCRL FULL COLS 7 72
> ...1....+....2....+....3....+....4....+....5....+
8 SAMPLE PIC X( ).
9 PART-DESCRIPTION-IN PIC X( ).
1 INVENTORY-BALANCE-IN PIC X( ).
To copy one line immediately after itself, enter the R line command in the
appropriate sequence number field. To repeat one line multiple times, use Rv
where v is the number of times the line is to be repeated. To repeat a block of
lines, enter the RR line command in the sequence number field of the first and
last line to be repeated.
Chapter 15. AWS: Copying Data Within and Into an AWS 15-5
15.1 Copying Data Within the Active AWS
>
> AWS(PRI.INVLIST) SCRL FULL COLS 7 72
> ...1....+....2....+....3....+....4....+....5....+
3 PART-DESCRIPTION-IN PIC X(26).
31 INVENTORY-BALANCE-IN PIC S9(5).
R4 2 FILLER PIC X(3).
33 FD INVENTORY-REPORT
>
> AWS(PRI.INVLIST) SCRL FULL COLS 7 72
> ...1....+....2....+....3....+....4....+....5....+
3 PART-DESCRIPTION-IN PIC X(26).
31 INVENTORY-BALANCE-IN PIC S9(5).
32 FILLER PIC X(3).
321 FILLER PIC X(3).
322 FILLER PIC X(3).
323 FILLER PIC X(3).
324 FILLER PIC X(3).
33 FD INVENTORY-REPORT
──┬─COPY──┬──source ...──AWS-destination──┬─────────┬─────────
├─COPYS─┤ └─TP name─┘
└─COPYX─┘
The destination of the copy operation within the active AWS or designated
AWS must be specified as:
v Number of the line at, or after, which the data are to be inserted in
the AWS.
* After the line at which the AWS pointer is currently positioned.
T Before the first line of the AWS.
B or ,, After the last line of the AWS.
R Replace the contents of the AWS.
Chapter 15. AWS: Copying Data Within and Into an AWS 15-7
15.2 Copying Data to an AWS
By default, the commands COPY, COPYS and COPYX bring data into the
active AWS. You can designate a different existing AWS by using the TO
name operand. Thus,
COPY DSN T
copies the currently attached data set object to the currently active AWS, while:
COPY AWS SAMPLE1 B TO SAMPLE2
copies the entire contents of the AWS named SAMPLE1 to the bottom of the
AWS named SAMPLE2.
:C
in any unprotected field and pressing PF12. (The cursor must immediately
follow the command :C.)
If the CA defaults are not in effect, the STATUS SYSTEM display identifies the:
■ Escape character: The field RCSESCCH identifies the character to use. The
default is a colon (:).
■ PF key: The field RCSESCPF identifies the PF key to use. The default is
PF12.
The screen is copied to the AWS identified by the SET COPYDEST command.
Note: An AWS destination must be in effect for this type of copy operation to
work successfully.
Both COPYS and COPYX allow you to specify a range of lines to be searched
for a string. To do this, include the appropriate line numbers after the string.
For example, to copy every line between 1 and 300 that contain the string
NAME from the library member UPLIST into the active AWS at, or
immediately after, line 1200, you would enter:
COPYS UPLIST /NAME/ 1 3 12
By default, the entire line of the source data are searched for the specified
string.
You can limit the search operation to a specific range of columns. To limit the
search operation when copying from:
■ A library member, attached data set object or attached job output file:
– Use the SET BOUNDS primary command or BOUNDS line command
to change the column boundaries associated with the source data. (See
Chapter 4, “Defining Column Boundaries” for additional information.
– Specify a column range with the command, using the values shown on
the Scale Line. For example, to copy every line containing the string
FILLER within columns 10 through 50 of the attached job output file to
the bottom of the active AWS, you would enter:
COPYS JOB 1 5 /FILLER/ B
Chapter 15. AWS: Copying Data Within and Into an AWS 15-9
15.2 Copying Data to an AWS
──┬─XCOPY──┬──┬────────────┬──AWS-destination─────────────────
├─XCOPYS─┤ └─source ...─┘
└─XCOPYX─┘
The source operands allow you to designate the data that is to be copied. The
operands are:
DSN From the data set object attached in the other screen. (Also see
Chapter 27, “Data Sets: Performing Data Management Tasks” for
information about other ways you can copy a data set object into
the active AWS.)
JOB From the job output file attached in the other screen.
LIB From the library member or Selection List attached in the other
screen. (See Chapter 34, “Library: Performing Library Management
Tasks” for information about other ways you can copy library data
into the active AWS.)
mem Name of the library member to be copied.
The destination of the copy operation within the active AWS can be specified
as:
v Number of the line at, or after, which the data are to be inserted in
the active AWS.
* After the line at which the AWS pointer is currently positioned.
T Before the first line of the active AWS.
B or ,, After the last line of the active AWS.
R Replace the contents of the active AWS.
Chapter 15. AWS: Copying Data Within and Into an AWS 15-11
15.3 Copying Data Between Screens
By default, the entire line in the source data are searched for the specified
string.
■ A library member, attached data set object or attached job output file. You
can limit the search operation to specific columns by:
– Using the SET BOUNDS primary command or BOUNDS line
command to change the column boundaries associated with the source
data. (See Chapter 4, “Defining Column Boundaries” for additional
information.
– Specifying a column range with the command, using the values shown
on the Scale Line, as in:
XCOPYS JOB 1 5 /FILLER/ B
where every line containing the string FILLER in columns 10 through
50 of the job attached in the other screen is copied to the bottom of the
active AWS in the screen containing the command.
■ The displayed screen or a Selection List: You can limit the search to a
specific column by assuming that the left-most displayed position is
column one and include the appropriate numbers, as in:
XCOPYS SCR 1 3 // R
where every line from other screen containing *** in the first thirty
positions of the line is copied to the active AWS of the screen containing
the command and replaces its contents.
where only columns 10 through 50 of lines 1200 through 2500 of the attached
job are searched for the string FILLER. All matching lines are copied to the
active AWS, replacing its prior contents.
Chapter 15. AWS: Copying Data Within and Into an AWS 15-13
15-14 User Guide
Chapter 16. AWS: Deleting Data From an AWS
This chapter describes how you can delete data from the active AWS using:
■ The DELETE primary command to delete one or more lines.
■ The DELETES and DELETEX primary commands to delete lines containing
(or not containing) a specific string.
■ The delete line commands.
■ 3270 hardware facilities (for example, ERASE EOF and DELETE keys).
By default, every line in the AWS is searched for the specified string. With
both DELETES and DELETEX, you can limit the number of lines searched. For
example, to delete all lines from the active AWS containing the string XYZ
within lines 1 through 400, enter the line numbers after the string:
DELETES 'XYZ' 1 4
Also by default, the area within the current (or default) column boundaries is
searched for the string. To limit the columns involved, enter the number of the
starting and ending columns searched. For example, to delete only those lines
that do not contain INVENTORY-BALANCE in columns 1 through 50 of the
active AWS, enter the column numbers before the string:
DELETEX 1 5 'INVENTORY-BALANCE'
You can combine the operands to limit the search to a specific column range
within specific lines, as in:
DELETEX AWS SAMPLE 1 5 'NEW RECORD' 1 12
where every line within the AWS named SAMPLE not containing NEW
RECORD in columns 1 through 500 of lines 100 through 1200 is deleted.
To display information about the active AWS plus all of the AWSs that are
currently in use, enter the command:
STATUS AWS
The following example illustrates the type of information displayed. Note that
if the bottom marker (== END OF LIST ==) is not displayed, the number of
AWSs exceeds the screen size. Use PF keys to scroll the display.
>
> AWS() SCRL FULL COLS 1 79 A<ROS1>+
>....+....1....+....2....+....3....+....4....+....5....+....6....+....7....
ROSCOE AWS STATUS TOTAL SESSION\SPLIT RECOVERABLE
MAX: 6 CURR: 2 MAX: 2 CURR: 2 M
NAME STATUS ROS MEMBER CHG LINES INCR LAST CURRENT ACT
ASSOCIATED DATASET NAME VOLUME UNIT
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ROS1 (NONE) CHG 24 1 24 24
(NONE)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
MYAWS ABC.MYMEM 1137 1 1137 1
TEST.SOURCE(MYSOURCE) MUROS1 338
======================= END OF LIST =======================
When appropriate, the second shaded area (the STATUS field) will indicate the
result of the operation after it is performed.
where v is the number of the display to be viewed next. If you omit the
number, you will proceed sequentially through the different displays. (The
ALT field in the following figures contains the number of the alternate display
in which each field appears.) The first two lines in the Execution Area remain
constant as you scroll the display, and contain the fields:
TOTAL Made up of two fields of information:
1. CURRENT: Number of AWSs currently in effect for
the user session.
2. MAX: Number of AWSs that can be created for the
user session.
SESSION\SPLIT Made up of two fields of information:
1. CURRENT: Number of AWSs with the SESSION or
SPLIT attributes that are active for the user session.
2. MAX: Number of AWSs that can be created with the
SESSION or SPLIT attributes.
RECOVERABLE Made up of two fields of information:
1. CURRENT: Number of recoverable AWSs in effect.
2. MAX: Number of recoverable AWSs that can be
created.
Note: See 13.5, “Creating an AWS” on page 13-6 for more information.
This chapter describes the different facilities that you can use to enter data into
the active AWS. It also describes how you can manually or automatically
format the data while entering it.
Note: At most sites, data that you enter into the active AWS is automatically
translated to its corresponding uppercase characters (for example, if
you enter division, it is translated to DIVISION). You can control how
the data that you enter is to be recognized and treated. See Chapter 3,
“Controlling Character Recognition” for additional information.
>
> AWS() SCRL FULL COLS 7 72
> ...1....+....2....+....3....+....4....+....5....+....
...... ============================= T O P =================
1 _
2
3
4
5
6
7
8
9
1
11
12
13
14
15
========================== B O T T O M ==============
If you fill all lines in the Execution Area and still have more data to enter,
press the Enter key. The data you have entered is recorded in the active AWS
and a new screen is displayed. The first line in the Execution Area of the new
screen will contain the last line of data that you entered.
Either of these actions causes the screen to close. Any data that had not been
recorded in the active AWS is now recorded, all unused lines are deleted from
the Execution Area, and the beginning and end of the data in that AWS is
noted with TOP and BOTTOM markers.
You can also use the INPUT command to:
■ Insert data between existing lines.
Enter INPUT and the number of the line after which data are to be
inserted, as in:
INPUT 38
The following example illustrates the resulting screen. Notice that line 3800
is the first line in the Execution Area. The next existing line, 3900, is
displayed as the last line and is unnumbered to allow for multiple screens
of data entry. The intervening lines are available for data entry. To avoid
renumbering the existing contents, these inserted lines are incremented by
one.
If the designated line number (for example, 3800) does not exist, the
insertion begins at that line number. The first AWS line with a number less
than the specified line number is shown as the top line in the Execution
Area.
>
> AWS() SCRL FULL COLS 7 72
> ...1....+....2....+....3....+....4....+....5....+....
38 5 CARRIAGE-CONTROL PIC X.
381 _
382
383
384
...... 5 FILLER PIC X(3).
The current line number increment is used for sequence numbering. If the
next generated sequence number will exceed 999999, Advantage CA-Roscoe
stops accepting input. While this condition rarely occurs, issuing the
RENUMBER command with a lower starting sequence number and increment
value usually resolves the problem.
In all cases, the cursor is automatically positioned to the first line in the
Execution Area, ready for data entry.
If you fill the Execution Area, press the Enter key to continue entering data.
The entered data are recorded in the active AWS and a new screen is
displayed. The first line in the Execution Area of the new screen contains the
last line of data that you entered. (If the data you inserted generates sequence
numbers that overflow into existing AWS sequence numbers, the contents is
renumbered by 1 until the overflow condition is rectified.)
Either of these actions causes the screen to close. All unused lines are deleted
from the Execution Area, any data that has not been recorded in the active
AWS is then recorded, and the beginning and end of the data in this AWS is
noted with TOP and BOTTOM markers.
When you use the TEXTENTR operand of the INPUT command, the format of
the Execution Area is different than when this operand is not used.
>
> AWS() SCRL FULL COLS 7 72
> ...<....+....2....+....3....+....4....+....>....+
1 THIS IS A SAMPLE.
_
>
> AWS() SCRL FULL COLS 7 72
> ...<....+....2....+....3....+....4....+....>....+
1 THIS IS A SAMPLE.
This sample shows how you can enter data in a wra
p mode and have it formatted for you when you dep
>
> AWS() SCRL FULL COLS 7 72
> ...<....+....2....+....3....+....4....+....>....+
...... ========================== T O P ================
1 THIS IS A SAMPLE.
2 This sample shows how you can enter data
21 in a wrap mode and have it formatted for
You can use the I and IB line commands to insert one or more empty lines in
the active AWS. Use:
I To insert one or more lines after the line containing the command.
IB To insert one or more lines before the line containing the command.
The following example illustrates how you would insert one line after line
1900 and three lines before line 2300.
>
> AWS(PRI.INVLIST) SCRL FULL COLS 7 72
> ...1....+....2....+....3....+....4....+....5....+
I19 5 FILLER PIC X(7).
2 5 PART-DESCRIPTION-IN PIC X(26).
21 5 INVENTORY-BALANCE-IN PIC S9(5).
22 5 FILLER PIC X(3).
IB33 PROCEDURE DIVISION.
>
> AWS(PRI.INVLIST) SCRL FULL COLS 7 72
> ...1....+....2....+....3....+....4....+....5....+
19 5 FILLER PIC X(7).
...... _
2 5 PART-DESCRIPTION-IN PIC X(26).
21 5 INVENTORY-BALANCE-IN PIC S9(5).
22 5 FILLER PIC X(3).
......
......
......
23 PROCEDURE DIVISION
When you press the Enter key after entering your data, the Execution Area is
examined. If there are any unused lines, they are removed. Lines containing
data are retained and assigned line numbers incremented by one.
You can use the SET AUTOINSERT command to activate an automatic line
insertion facility. When this facility is active, one or more data entry lines are
inserted after you have used all of the lines provided by an I or IB line
command. (If the facility is not active, the insert operation terminates.) The
following examples show how to activate the facility with a default line
insertion value of 1. Once activated, new lines are provided as long as you
continue to enter data.
>
> AWS(PRI.INVLIST) SCRL FULL COLS 7 72
> ...1....+....2....+....3....+....4....+....5....+
19 5 FILLER PIC X(7).
...... _
2 5 PART-DESCRIPTION-IN PIC X(26).
>
> AWS(PRI.INVLIST) SCRL FULL COLS 7 72
> ...1....+....2....+....3....+....4....+....5....+
19 5 FILLER PIC X(7).
191 5 filler pic X(1)._
2 5 PART-DESCRIPTION-IN PIC X(26).
>
> AWS(PRI.INVLIST) SCRL FULL COLS 7 72
> ...1....+....2....+....3....+....4....+....5....+
19 5 FILLER PIC X(7).
191 5 FILLER PIC X(1).
...... _
>
> AWS() SCRL FULL COLS 7 72
> ...<....+....2....+....3....+....4....+....>....+
...... ========================== T O P ================
TE1 THIS IS A SAMPLE.
...... ======================= B O T T O M =============
>
> AWS() SCRL FULL COLS 7 72
> ...<....+....2....+....3....+....4....+....>....+
...... ========================== T O P ================
1 THIS IS A SAMPLE.
_
>
> AWS() SCRL FULL COLS 7 72
> ...<....+....2....+....3....+....4....+....>....+
...... ========================== T O P ================
1 THIS IS A SAMPLE.
This sample shows how you can enter data in a wra
p mode and have it formatted for you when you dep
To define a mask,
■ Enter the command MASK in the sequence number field of any line in the
active AWS.
■ Then, enter the mask in the data portion of the same line. The mask must
be the only data on the line. Ensure that this is the case by overlaying
any other data on the line with spaces, or by using the DELETE or ERASE
EOF keys to delete the remaining data.
■ Finally, press the Enter key to establish the mask.
After the MASK command has been executed, the original contents of the line
are redisplayed.
Once the mask is defined, it remains in effect until you: 1) replace it with a
new mask definition, or 2) eliminate it.
To eliminate a mask, enter the command MASK in the sequence number field
of any line in the active AWS and press the Enter key.
You can insert your data mask in the active AWS by using the:
■ IM (Insert Mask) line command
To insert one copy of the mask, position the cursor to the sequence
number field of the line after which you want the line inserted. Type IM in
the sequence number field and press the Enter key. A new line containing
the mask is inserted immediately after the line that contained the IM
command.
To insert multiple copies of the mask, include the appropriate numeric
value with the command, as illustrated in the following figure.
The first screen in the following examples shows the mask being defined
on line 3200. (Notice that only the mask appears on that line. The original
contents are restored when the command is executed.) The second screen
shows how multiple copies of the mask can be inserted. The third screen
shows the resulting display.
>
> AWS(PRI.INVLIST) SCRL FULL COLS 7 72
> ...1....+....2....+....3....+....4....+....5....+
3 5 PART-DESCRIPTION-IN PIC X(26).
31 5 INVENTORY-BALANCE-IN PIC S9(5).
MASK 5 FILLER PIC X(3).
33 1 INVENTORY-REPORT.
>
> AWS(PRI.INVLIST) SCRL FULL COLS 7 72
> ...1....+....2....+....3....+....4....+....5....+
IM2 5 PART-DESCRIPTION-IN PIC X(26).
31 5 INVENTORY-BALANCE-IN PIC S9(5).
32 5 PART-NUMBER-OUT PIC X(6).
33 1 INVENTORY-REPORT.
>
> AWS(PRI.INVLIST) SCRL FULL COLS 7 72
> ...1....+....2....+....3....+....4....+....5....+
3 5 PART-DESCRIPTION-IN PIC X(26).
31 5 FILLER PIC X(3).
32 5 FILLER PIX X(3).
31 5 INVENTORY-BALANCE-IN PIC S9(5).
You can also use the OMT and OMB commands to overlay multiple lines.
OMT overlays all of the lines from the first line of the active AWS through the
line containing the command. OMB overlays all of the lines from the line
containing the command through the end of this AWS.
The following example illustrates how you can overlay lines with a mask. (It is
assumed the mask defined in the previous figure is still in effect.)
>
> AWS(PRI.INVLIST) SCRL FULL COLS 7 72
> ...1....+....2....+....3....+....4....+....5....+
33 1 INVENTORY-REPORT.
OM3 5 FILLER
35 5 OUT-MONTH
36
>
> AWS(PRI.INVLIST) SCRL FULL COLS 7 72
> ...1....+....2....+....3....+....4....+....5....+
33 1 INVENTORY-REPORT.
34 5 FILLER PIC X(3).
35 5 OUT-MONTH PIC X(3).
36 5 FILLER PIC X(3).
The screen is opened for data entry immediately after the line at which the
cursor was positioned. Note that the column position of the cursor has no
affect on this operation.
To insert data at the top or bottom of the active AWS, position the cursor
before the first line, or after the last line, of that AWS and again press the
appropriate PF key.
If the number you specify already exists within the active AWS, your line
replaces the existing line. If it does not, your line is added to the active AWS.
Using the following examples to illustrate, when the Enter key is pressed, the
previous contents of line 3100 are replaced with the information appearing in
the Command Area, while line 3101 is added to this AWS.
>
> AWS(PRI.INVLIST) SCRL FULL COLS 7 72
> ...1....+....2....+....3....+....4....+....5....+
3 5 PART-DESCRIPTION-IN PIC X(26).
31 5 PART-NUMBER PIC X(9).
311 5 PART-TOTAL-IN PIC X(3).
32 5 FILLER PIC X(3).
All of the lines comprising the Command Area can be used to enter data in
this manner. You can also use the command delimiter to enter more than one
line of data per Command Area line.
When this facility is active, the cursor is automatically positioned under the
first data character when you insert data using the INPUT primary command,
I or IB line command or a PF key to which the INPUT function is assigned.
The following example illustrates how the cursor is positioned when you use
the I line command.
>
> AWS(PRI.INVLIST) SCRL FULL COLS 1 8
> <...+....1....+....2....+....3....+....4....+...
...... ============================= T O P ============
I1 IDENTIFICATION DIVISION.
2 ENVIRONMENT DIVISION.
3 CONFIGURATION SECTION.
>
> AWS(PRI.INVLIST) SCRL FULL COLS 1 8
> <...+....1....+....2....+....3....+....4....+...
...... ============================= T O P ============
1 IDENTIFICATION DIVISION.
...... _
2 ENVIRONMENT DIVISION.
3 CONFIGURATION SECTION.
To define tab positions, use the TAB command. You can define a maximum of
eight different tab positions. For example:
TAB 12 16 2 32
The default tab character (the special character you include with your data) is
the logical not sign (¬). To change this character, use the TAB command again.
For example, to establish the percent sign (%) as the tab character, you would
enter:
TAB %
As illustrated in the following example, the tab character and tab positions
must be defined in separate executions of the TAB command. When tab
positions are in effect, the tab character is used to indicate those positions on
the Scale Line.
TAB %
TAB 12 16 2 32
>
> AWS(PRI.INVLIST) SCRL FULL COLS 1 8
> <...+....1....+....2....+....3....+....4....+...
...... ============================= T O P ============
1 IDENTIFICATION DIVISION.
>
> AWS(PRI.INVLIST) SCRL FULL COLS 1 8
> <...+....1.%..+%...%....+....3.%:
...... ============================= T O P ============
1 IDENTIFICATION DIVISION.
When the tab character and tab positions are set, you can format your data by
including the tab character with your data. You can do this when you are:
■ Initially entering data in the active AWS, or
■ Formatting data that is already in the active AWS.
To shift the contents of a line to the appropriate location, enter one or more tab
characters. As illustrated in the following example, entering one tab positions
the data following it to the next defined tab position (for example, entering a
single tab character at the beginning of line 3800 shifts the line to begin in
column 12). To skip one or more tab positions (as illustrated in line 3400),
enter contiguous tab characters (that is, not separated by spaces).
>
> AWS(PRI.INVLIST) SCRL FULL COLS 7 72
> ...1.%..+%...2....+....3....+....%....+....5....+..
33 FD INVENTORY-REPORT
34 %%RECORD CONTAINS 133 CHARACTERS
35 %%LABEL RECORDS ARE OMITTED
36 %%DATA RECORD IS INVENTORY-REPORT-LINE.
37 1 INVENTORY-REPORT-LINE.
38 %5 CARRIAGE-CONTROL%PIC X.
39 %5 FILLER%PIC X(9).
4 %5 PART-NUMBER-OUT%PIC X(1).
>
> AWS(PRI.INVLIST) SCRL FULL COLS 7 72
> ...1.%..+%...2....+....3....+....%....+....5....+..
33 FD INVENTORY-REPORT
34 RECORD CONTAINS 133 CHARACTERS
35 LABEL RECORDS ARE OMITTED
36 DATA RECORD IS INVENTORY-REPORT-LINE.
37 1 INVENTORY-REPORT-LINE.
38 5 CARRIAGE-CONTROL PIC X.
39 5 FILLER PIC X(9).
4 5 PART-NUMBER-OUT PIC X(1).
Note: The tab character is treated as a data character if either of the following
conditions occur:
■ The data includes the tab character but no tab positions have been defined.
■ The data includes more tab characters than the number of defined tab
positions (for example, four tab positions are defined and the data includes
five tab characters.)
The commands described in this chapter can be used to format data or text
that is in the active AWS. These commands allow you to:
■ Center text lines
■ Control the capitalization of alphabetic characters within the data
■ Reformat text lines
■ Shift one or more lines to the left or right
■ Split and join text lines
Note: The software tab facility (described in Chapter 18, “AWS: Entering and
Formatting Data in an AWS”) can also be used to position data within
the active AWS.
You can override the default or current column boundaries by including the
BOUNDS operand with the command. The following example shows how you
can center the text on multiple lines between columns 9 and 45.
>
> AWS(AAA.SHIPRATE) SCRL FULL COLS 7 72
> ..<1....+....2....+....3....+....4....+....5....+
...... ============================= T O P =============
1 ------------------------------------------------
2 THIS PROGRAM PRINTS AN ESTIMATED
3 SHIPPING COST REPORT. RATES
4 DEPEND ON WEIGHT OF ORDER AND
5 DISTRICT TO WHICH ORDER SHIPPED.
6 ------------------------------------------------
In the following example, the BOUNDS line command is used to change the
column boundaries. The TCC line commands then center the text in the
designated block of lines between the boundaries.
>
> AWS(AAA.SHIPRATE) SCRL FULL COLS 7 72
> ...1....+....2....+....3....+....4....+....5....+
...... ============================= T O P =============
BOUNDS -<----------------------------------->----------
TCC2 THIS PROGRAM PRINTS AN ESTIMATED
3 SHIPPING COST REPORT. RATES
4 DEPEND ON WEIGHT OF ORDER AND
TCC5 DISTRICT TO WHICH ORDER SHIPPED.
6 ------------------------------------------------
>
> AWS(AAA.SHIPRATE) SCRL FULL COLS 7 72
> ..<1....+....2....+....3....+....4....>....5....+
...... ============================= T O P =============
1 ------------------------------------------------
2 THIS PROGRAM PRINTS AN ESTIMATED
3 SHIPPING COST REPORT. RATES
4 DEPEND ON WEIGHT OF ORDER AND
5 DISTRICT TO WHICH ORDER SHIPPED.
6 ------------------------------------------------
7 IDENTIFICATION DIVISION.
There may be occasions when you want to retranslate one or more lines within
the active AWS. While you can do this by changing the current translation
mode setting and then modifying the appropriate lines, you can also use the
primary and line commands shown in the following table.
None of these commands, however, are text sensitive. When dealing with lines
containing text, you should use the TXTLCASE primary command or TLC line
command to control capitalization.
For example, to lowercase the characters within the current or default column
boundaries of line 100 through 500, you would enter:
TXTLCASE 1 5
You can use the optional BOUNDS operand to override the default or current
column boundaries. For example, to lowercase the characters between columns
9 and 45 of lines 700 through 1200, you would enter:
TXTLCASE 7 12 BOUNDS 9 45
To use this command, enter TLC in the sequence number field of the
appropriate line. When the Enter key is pressed, all of the characters on the
line containing the command through the end of the current paragraph are
translated to their corresponding lowercase characters. The end of a paragraph
is indicated by:
■ A blank line
■ A change in indentation
■ The end of the active AWS
Note: Only the characters found within the default or current column
boundaries are translated. To change the column boundaries, you can
use the SET BOUNDS primary command or the BOUNDS line
command.
The resulting display shows the reformatting text comprising those lines. Each
reformatted line:
■ Begins at the default or current left column boundary. (In these examples,
that is column 9.)
EXCEPTION:
If the text within the designated lines begins inside the left column
boundary, the reformatted lines begin at the column that contained the
left-most character comprising those lines. For example, if the left
column boundary is set to 9 and all of the text lines begin in column
15, the reformatted lines begin in column 15.
You can override the right column boundary for the execution of a command
by specifying the COLS operand. In the following example, lines 2 through 7
will be reformatted and the reformatted lines will not extend beyond column
30.
TXTFLOW 2 7 COLS 3
>
> AWS(AAA.SHIPRATE) SCRL FULL COLS 7 72
> ..<1....+....2....+....3....+....4....+....5....+
...... ============================= T O P =============
1 ------------------------------------------------
2 THIS PROGRAM PRINTS AN ESTIMATED
3 SHIPPING COST REPORT. SHIPPING RATES
5 DEPEND ON WEIGHT OR ORDER AND
7 DISTRICT TO WHICH ORDER SHIPPED
9 ------------------------------------------------
>
> AWS(AAA.SHIPRATE) SCRL FULL COLS 7 72
> ..<1....+....2....+....3....+....4....+....5....+
...... ============================= T O P =============
1 ------------------------------------------------
2 THIS PROGRAM PRINTS AN
3 ESTIMATED SHIPPING
4 COST REPORT. SHIPPING
5 RATES DEPEND ON WEIGHT
6 OF ORDER AND DISTRICT
7 TO WHICH ORDER
8 SHIPPED.
9 ------------------------------------------------
1 IDENTIFICATION DIVISION.
>
> AWS(AAA.SHIPRATE) SCRL FULL COLS 7 72
> ..<1....+....2....+....3....+....4....+....5....>
...... ============================= T O P =============
TF1 THIS PROGRAM PRINTS AN ESTIMATED
2 SHIPPING COST REPORT. SHIPPING RATES
3 DEPEND ON WEIGHT OR ORDER AND
4 DISTRICT TO WHICH ORDER SHIPPED.
>
> AWS(AAA.SHIPRATE) SCRL FULL COLS 7 72
> ..<1....+....2....+....3....+....4....+....5....>
...... ============================= T O P =============
1 THIS PROGRAM PRINTS AN ESTIMATED SHIPPING COST
2 REPORT. SHIPPING RATES DEPEND ON WEIGHT OF
3 ORDER AND DISTRICT TO WHICH ORDER SHIPPED.
By specifying a numeric value with the command, you can override the right
column boundary. The following example illustrates how you would reformat
the lines within a paragraph so that the text does not extend beyond column
35.
>
> AWS(AAA.SHIPRATE) SCRL FULL COLS 7 72
> .<.1....+....2....+....3....+....4....+....5....>
...... ============================= T O P =============
TF351 THIS PROGRAM PRINTS AN ESTIMATED SHIPPING COST
2 REPORT. SHIPPING RATES DEPEND ON WEIGHT OF
3 ORDER AND DISTRICT TO WHICH ORDER SHIPPED.
>
> AWS(AAA.SHIPRATE) SCRL FULL COLS 7 72
> .<.1....+....2....+....3....+....4....+....5....>
...... ============================= T O P =============
1 THIS PROGRAM PRINTS AN
2 ESTIMATED SHIPPING COST
3 REPORT. SHIPPING RATES
4 DEPEND ON WEIGHT OF ORDER
5 AND DISTRICT TO WHICH ORDER
6 SHIPPED.
To limit the operation to specific lines, you can include the appropriate line
numbers with the command, as in:
LSHIFT 2 1 5
where only the contents of lines 100 through 500 are shifted two positions to
the left.
By default, the data within the default (or current) column boundaries is
shifted. You can use the SET BOUNDS command to change the column
boundaries for your session. To change the boundaries for a single execution of
the command, use the BOUNDS operand, as in:
RSHIFT 5 BOUNDS 8 2
where only the data within columns 8 through 20 are shifted five positions to
the right.
Note: SET BOUNDS is described in Chapter 4, “Defining Column
Boundaries.”
If you shift the contents of a line beyond right or left column boundary, the
data are lost. This may be useful if you want to clear a field. For example, if
you enter:
LSHIFT 7
RSHIFT 7
the first seven positions within the default (or current) column boundary of
each active AWS line is blank-filled.
To prevent data from being lost by such an operation, include the TEXTSTOP
operand with the command. For example, if you enter:
LSHIFT 3 TEXTSTOP
every line in the active AWS is shifted 30 positions to the left. However, if any
line contains data that would be shifted beyond the left margin, the operation
is stopped for that line when the left margin is reached.
To change the column boundaries that are currently in effect, you can use the
SET BOUNDS primary command or BOUNDS line command. See Chapter 4,
“Defining Column Boundaries” for additional information.
The following example illustrates how you can use these line commands to
format data. The upper screen contains the unformatted data and appropriate
line commands; the lower screen shows the correctly formatted data (how the
data will look after the line commands are executed).
>
> AWS(PRI.INVLIST) SCRL FULL COLS 1 72
> <...+....1....+....2....+....3....+....4....+....5.
...... ================================ T O P ============
>41 IDENTIFICATION DIVISION.
<42 PROGRAM-ID. INVLIST.
>>43 ENVIRONMENT DIVISION.
>>4 CONFIGURATION SECTION.
5 SOURCE-COMPUTER. IBM-37.
6 OBJECT-COMPUTER. IBM-37.
>
>
> AWS(PRI.INVLIST) SCRL FULL COLS 1 72
<...+....1....+....2....+....3....+....4....+....5.
...... ================================ T O P ============
1 IDENTIFICATION DIVISION.
2 PROGRAM-ID. INVLIST.
3 ENVIRONMENT DIVISION.
4 CONFIGURATION SECTION.
5 SOURCE-COMPUTER. IBM-37.
6 OBJECT-COMPUTER. IBM-37.
You can split one line into two using the TXTSPLIT primary or TS line
command. You can use the TXTSPLIT command to split a line at a specific
location. The following example shows line 300 being split at column 31 (top
screen). Everything from that position to the right column boundary is moved
to the next line. The text will begin at the left column boundary of that line. In
this case, it means that the word RATES is moved to line 301 and begins in
position 9, which is the current left boundary (bottom screen).
>
> AWS(AAA.SHIPRATE) SCRL FULL COLS 7 72
> ..<1....+....2....+....3....+....4....+....5....+
...... ============================= T O P =============
1 ------------------------------------------------
2 THIS PROGRAM PRINTS AN ESTIMATED
3 SHIPPING COST REPORT.
31 RATES
4 DEPEND ON WEIGHT OF ORDER AND
5 DISTRICT TO WHICH ORDER SHIPPED.
6 ------------------------------------------------
7 IDENTIFICATION DIVISION.
A variation of the example shown in the previous figure uses the CURSOR
operand. For example, you could have split the line by positioning the cursor
to column 31 on line 300 and entering:
TXTSPLIT CURSOR TXTSPLIT
>
> AWS(AAA.SHIPRATE) SCRL FULL COLS 7 72
> ..<1....+....2....+....3....+....4....+....5....+
...... ============================= T O P =============
1 ------------------------------------------------
2 THIS PROGRAM PRINTS AN ESTIMATED
3 SHIPPING COST REPORT.
4 RATES
5 DEPEND ON WEIGHT
6 OF ORDER AND
7 DISTRICT TO WHICH
8 ORDER SHIPPED.
9 ------------------------------------------------
1 IDENTIFICATION DIVISION.
You can use the TXTJOIN command to rejoin two lines. In the following
example, the modified contents of line 4 are being rejoined to line 3. Since no
column number is specified, the contents of line 4 begins one space after the
current last word on line 3.
TXTJOIN 3
>
> AWS(AAA.SHIPRATE) SCRL FULL COLS 7 72
> ..<1....+....2....+....3....+....4....+....5....+
...... ============================= T O P =============
1 ------------------------------------------------
2 THIS PROGRAM PRINTS AN ESTIMATED
3 SHIPPING COST REPORT.
4 SHIPPING RATES
5 DEPEND ON WEIGHT
6 OR ORDER AND
7 DISTRICT TO WHICH
8 ORDER SHIPPED.
9 ------------------------------------------------
>
> AWS(AAA.SHIPRATE) SCRL FULL COLS 7 72
> .<.1....+....2....+....3....+....4....+....5....+
...... ============================= T O P =============
1 ------------------------------------------------
2 THIS PROGRAM PRINTS AN ESTIMATED
3 SHIPPING COST REPORT. SHIPPING RATES
5 DEPEND ON WEIGHT
6 OR ORDER AND
7 DISTRICT TO WHICH
8 ORDER SHIPPED.
9 ------------------------------------------------
1 IDENTIFICATION DIVISION.
The following example shows how you can rejoin multiple lines (lines 5
through 8, in this case). The example also shows how you can have the joined
lines begin in a specific location. When a column number is specified with the
command, the joined text begins one space after the designated column (in the
example, the joined text begins one space after column 26).
TXTJOIN 5 8 COLS 26
>
> AWS(AAA.SHIPRATE) SCRL FULL COLS 7 72
> ..<1....+....2....+....3....+....4....+....5....+
...... ============================= T O P =============
1 ------------------------------------------------
2 THIS PROGRAM PRINTS AN ESTIMATED
3 SHIPPING COST REPORT. SHIPPING RATES
5 DEPEND ON WEIGHT
6 OR ORDER AND
7 DISTRICT TO WHICH
8 ORDER SHIPPED.
9 ------------------------------------------------
>
> AWS(AAA.SHIPRATE) SCRL FULL COLS 7 72
> .<.1....+....2....+....3....+....4....+....5....+
...... ============================= T O P =============
1 ------------------------------------------------
2 THIS PROGRAM PRINTS AN ESTIMATED
3 SHIPPING COST REPORT. SHIPPING RATES
5 DEPEND ON WEIGHT OR ORDER AND
7 DISTRICT TO WHICH ORDER SHIPPED.
9 ------------------------------------------------
1 IDENTIFICATION DIVISION.
You can also insert lines for data entry when you split a line. In the following
example, TS2 is typed in the sequence number field of line 200 and the cursor
is positioned to column 31. When the Enter key is pressed, everything from the
cursor position to the right column boundary is moved to begin at the left
column boundary of the new next line. Since a numeric value was specified
with the command, the appropriate number of data entry lines is inserted
between the split.
>
> AWS(AAA.SHIPRATE) SCRL FULL COLS 7 72
> ..<1....+....2....+....3....+....4....+....5....+
...... ============================= T O P =============
1 THIS PROGRAM PRINTS AN ESTIMATED
TS22 SHIPPING COST REPORT. RATES
-
3 DEPEND ON WEIGHT OF ORDER AND
4 DISTRICT TO WHICH ORDER SHIPPED.
>
> AWS(AAA.SHIPRATE) SCRL FULL COLS 7 72
> ..<1....+....2....+....3....+....4....+....5....+
...... ============================= T O P =============
1 THIS PROGRAM PRINTS AN ESTIMATED
2 SHIPPING COST REPORT.
......
......
21 RATES
3 DEPEND ON WEIGHT OF ORDER AND
4 DISTRICT TO WHICH ORDER SHIPPED.
If anything is typed on the inserted lines (like text or a space), the lines are
retained when the next operation is performed. If nothing is entered, the lines
are removed.
You can use the TJ line command to rejoin two lines. When this command is
executed, the joined line begins one space after the last word on the preceding
line.
The following example shows how you can rejoin the modified contents of line
201 to line 200. Since nothing was entered on the inserted lines, they are
removed when the operation is performed.
>
> AWS(AAA.SHIPRATE) SCRL FULL COLS 7 72
> ..<1....+....2....+....3....+....4....+....5....+
...... ============================= T O P =============
1 THIS PROGRAM PRINTS AN ESTIMATED
TJ2 SHIPPING COST REPORT.
......
......
21 SHIPPING RATES
3 DEPEND ON WEIGHT OR ORDER AND
4 DISTRICT TO WHICH ORDER SHIPPED.
>
> AWS(AAA.SHIPRATE) SCRL FULL COLS 7 72
> ..<1....+....2....+....3....+....4....+....5....+
...... ============================= T O P =============
1 THIS PROGRAM PRINTS AN ESTIMATED
2 SHIPPING COST REPORT. SHIPPING RATES
3 DEPEND ON WEIGHT OR ORDER AND
4 DISTRICT TO WHICH ORDER SHIPPED.
To have the joined line begin in a specific location, include a numeric value
with the command, where the value represents the column after which the text
from the following line is to be placed. For example, entering TJ35 causes the
following line to begin one space after column 35 of the line containing the
command.
While the examples in this chapter show strings that are in character format,
you can also locate and display data that is in hexadecimal representation. See
20.3, “Customizing the Operation” for details.
The resulting display begins with the first line containing the string DATA.
For example, to locate and position the display to the first line containing the
string TEST-DATA, enter:
FIRST TEST-DATA
To locate and display the next occurrence of the same string, all you need
enter is:
NEXT
Once specified, the string is remembered until you specify a different one. It is
used with any subsequent EXCL, FIRST, INCL, LAST, NEXT or PREV primary
or line command that does not include a string. (The string specified with the
ATTACH command is also remembered and used with any subsequent EXCL,
FIRST, INCL, LAST, NEXT or PREV primary or line command that does not
include a string.)
By default, the entire AWS is searched for the string (every column of every
line). You can limit the extent of the operation to specific columns or lines. For
example, to locate the last occurrence of TEST-DATA and to limit the search to
columns 10 through 50, you would enter:
LAST 1 5 TEST-DATA
where the column numbers are specified before the string. To limit the search
to a specific number of lines, specific the appropriate value after the string. For
example, to search the previous 200 lines for the first occurrence of
TEST-DATA, enter:
Note: Column boundaries specified with the command affect only the
execution of that command. See Chapter 4, “Defining Column
Boundaries” for information about changing boundaries for the
terminal session.
Finally, you can combine a column range and line limit within a command, as
in:
FIRST 1 5 TEST-DATA 2
To locate a string, enter the appropriate line command in the sequence number
field and the delimited search string in the data portion of the same line. The
following example shows how to find the last occurrence of the string
PRINT-FILE.
>
> AWS(PRI.INVLIST) SCRL FULL COLS 7 72
> ...1....+....2....+....3....+....4....+....5....+....
...... ============================= T O P =================
LAST /PRINT-FILE/TEST-DATA ASSIGN TO S-SYSIN.
-
37 SELECT PRINT-FILE ASSIGN TO S-SYSPRINT.
38 DATA DIVISION.
39 FILE SECTION.
4 FD TEST-DATA
41 LABEL RECORDS ARE OMITTED
42 DATA RECORD IS TEST-RECORD.
43 1 TEST RECORD PIC X(8).
44 FD PRINT-FILE
45 LABEL RECORDS ARE OMITTED
If the string was specified with a previously executed ATTACH, EXCL, FIRST,
INCL, LAST, NEXT or PREV primary or line command, you need not respecify
it. Once a character string is specified, it is remembered and available for use
until you change it.
By default, the entire line is searched. To limit the search to specific columns,
you can use the modifiable STATUS DISPLAY screen, the SET BOUNDS
primary command or the BOUNDS line command. See Chapter 4, “Defining
Column Boundaries” for additional information.
To locate all lines not containing a specific string, use the EXCL primary or
line command. Again, the resulting display is modifiable. To produce a
non-modifiable display, use the OMIT primary command.
The INCL and EXCL primary commands display all lines including or
excluding a specific character string. For example, to display all lines that do
not contain the string TEST-DATA, specify:
EXCL TEST-DATA
To then display all of the lines that contain the same string, all you need enter
is:
INCL
When you do not specify a string, the string specified with the previous
ATTACH, EXCL, FIRST, INCL, LAST, NEXT or PREV primary or line
command is assumed.
To limit the search to specific columns or numbers of lines, specify the column
numbers before the string and the number of lines after the string. For
example,
EXCL 12 4 DATA 4
limits the search for DATA to columns 12 through 40 of the next 400 lines.
Note: Column boundaries specified with the command affect only the
execution of that command. See Chapter 4, “Defining Column
Boundaries” for information about changing boundaries for the
remainder of the terminal session.
The following example illustrates the type of display resulting from the
execution of an INCL or EXCL command.
If the number of lines containing (or not containing) the string exceeds the size
of your terminal screen, you can:
1. Press one of the PF keys to which a scroll function is assigned. The
direction of the scan depends on the value of the PF key that is pressed, or
2. Enter the INCL or EXCL line command, with no operand, in the sequence
number field of a line and press Enter. The scan begins with that line and
continues towards the end of the data.
After pressing the Enter key, the resulting display begins with the designated
line.
Note: While the INCL/EXCL display shows only the appropriate lines within
the active AWS, all of the lines may be affected by the action of a
primary or line command. If, for example, you delete a range of lines
(using either a primary or line command), all of the displayed and
non-displayed lines within that range are deleted.
Use the OMIT command to produce a non-modifiable display of all lines not
containing a specific string.
_
>
>
> ...1....+....2....+....3....+....4....+....5....+....6
31 5 INVENTORY-BALANCE-IN PIC S9(5).
46 5 INVENTORY-BALANCE-OUT PIC ZZ,ZZ9.
75 MOVE INVENTORY-BALANCE-IN
76 TO INVENTORY-BALANCE-OUT.
With both commands, you can limit the operation to: 1) a specific range of
columns and 2) a specific range of lines. For example,
OMIT 2 5 'PIC' 15 9
displays all lines that do not contain the string PIC in columns 20 through 50
of lines 150 through 900.
The following example shows the display that might result after executing an
INCL line command.
>
> AWS(PRI.INVLIST) SCRL FULL COLS 7 72
> ...1....+....2....+....3....+....4....+....5....
...... ============================= T O P ============
INCL /WS-END-OF-FILE-SWITCH./
2 PROGRAM-ID. INVLIST.
3 ENVIRONMENT DIVISION.
4 CONFIGURATION SECTION.
5 SOURCE-COMPUTER. IBM-381.
If INCL or EXCL retrieve more lines than can be displayed on the screen at
one time, you can reposition the display by:
1. Entering the INCL or EXCL line command, with no operand, in the
sequence number field of a line and pressing Enter. The scan begins with
that line and continues towards the end of the data, or
2. Pressing one of the PF keys to which a scroll function is assigned. The
direction of the scan depends on the value of the PF key that is pressed.
After pressing the Enter key, the resulting display begins with the designated
line.
Note: While the INCL/EXCL display shows only the appropriate lines within
the active AWS, all of the lines may be affected by the action of a
primary or line command. If, for example, you delete a range of lines
(using either a primary or line command), all of the displayed and
non-displayed lines within that range are deleted.
and you want to search for the string THE. Without qualification, the words
THE, OTHER, BROTHER and THEIR match the search string. By including a
qualifier, you can designate the type of string match that is to occur, as in:
THE WORD Qualifies THE as a word, only THE matches.
THE PREFIX Qualifies THE as beginning a word, only THEIR matches.
When using:
■ The primary commands FIRST, LAST, NEXT, PREV, INCL or EXCL, you
do not need to delimit the hexadecimal string.
When using the comparable line commands, as illustrated in the following
example, the string must be bound by delimiters.
■ For primary commands SEARCH or OMIT, the string must be bound by
delimiters. (Note that the resulting display is not modifiable and shows
only the character format of matching lines.)
>
> AWS() SCRL FULL COLS 7 78
> <...+....1....+....2....+....3....+....4....+....5...
...... ============================= T O P =================
LAST /X'C1'/ THOMAS W
4CDECDC4444444ECDDCE4444E44444444444444444444444444
866194386412613
-----------------------------------------------------
2 SMITHSOM SALLY S
4EDCECEDD44444ECDDE44444E44444444444444444444444444
2493826521338221
-----------------------------------------------------
3 WALTERS JOHN
4ECDECDE444444DDCD444444444444444444444444444444444
6133592168513
-----------------------------------------------------
LOCKED The display margins are not to be altered even if the matching
string occurs to the left or right of the current margins.
If the string is not found, the display is repositioned to: 1) the end of the active
AWS or given range if FIRST or NEXT are specified, or 2) the beginning of the
active AWS or given range if LAST or PREV are specified.
This chapter describes how you can use primary and line commands to move
one or more lines within the active AWS.
Note that a move operation (unlike a copy operation) is destructive (the lines
being moved are deleted from their original location after being inserted in
their new location).
In addition to a line number, the destination can also be indicated through the
keyword operands:
* After the line at which the AWS pointer is currently positioned.
T Before the first line of the active AWS.
B or ,, After the last line of the active AWS.
For example, to move lines 1200 through 2800 to the bottom of the active
AWS, you would enter:
MOVE 12 28 B
The following example illustrates how you can use overlay destination line
commands. Notice that only the blank characters in the target lines are
overlaid with corresponding data from the source lines.
>
> AWS(PRI.INVLIST) SCRL FULL COLS 7 72
> ...1....+....2....+....3....+....4....+....5....+
M 8 SAMPLE PIC X( ).
O2 9 PART-DESCRIPTION-IN
1 INVENTORY-BALANCE-IN
>
> AWS(PRI.INVLIST) SCRL FULL COLS 7 72
> ...1....+....2....+....3....+....4....+....5....+
8 SAMPLE PIC X( ).
9 PART-DESCRIPTION-IN PIC X( ).
1 INVENTORY-BALANCE-IN PIC X( ).
Advantage CA-Roscoe stores data in the form of variable length records not
exceeding 255 characters in length. (There is one record for each line in an
AWS). To keep these records in their proper order, a six-digit sequence
number is assigned to each line. These sequence numbers are maintained by
Advantage CA-Roscoe and are stored externally to the data records
themselves.
When you begin entering data in the active AWS, default sequence numbering
begins with 100 and is incremented by 100. If you copy, move or insert lines
within the existing data, the new lines are incremented by one (for example, if
you insert three lines between lines 200 and 300, the new lines are numbered
201, 202 and 203). If you add lines to the end of the AWS, the current line
number increment value is used. If you then delete any lines, a gap is left in
the sequence numbers.
renumbers the entire contents of the AWS from 100 by 100. You can change
the starting and increment values, as in:
RENUMBER 5 1
You can also renumber a range of lines within the AWS. For example,
RENUMBER FROM 9 TO 251 START 9 BY 1
renumbers only lines 900 through 2501, where the starting line number is 900
and the increment value is 10.
Finally, you can also renumber data when you bring it into the AWS using the
FETCH command. For example if you enter:
FETCH INVLIST START 5 BY 5
renumbers the AWS from 100 by 50 and places the new line numbers within
columns 1 through 6 of the data. To place the current line numbers in the data
(without renumbering), use the SEQ command, as in:
SEQ IN 73 8
which places the current sequence numbers in the data beginning in column 73
and extending for eight positions.
If you add sequence numbers to the AWS and data exists in the designated
columns, the data are overlaid by the sequence numbers.
the sequence number attribute is set so that line numbers are placed in
columns 1 through 6 when this AWS data are PRINTed or SUBMITted. (If data
appears in the designated sequence number field, the number is omitted; data
are not overlaid.)
To prevent sequence numbers from being included, you can change the
attribute by issuing the command:
NOSEQ
An AWS is a temporary work area. Data that is within the active AWS may be
saved at any time as a member in the Advantage CA-Roscoe library. To
modify that member, you must bring a copy of it back into the active AWS.
Once there, you can use any of the primary or line commands to change the
data. The contents of the library member remains intact until you specifically
replace it.
where the entire contents of the active AWS is saved in a member named
INVLIST. (The following figure lists the Advantage CA-Roscoe member
naming conventions.)
If you do not want to save the entire AWS, you can include line numbers with
the command. Only the data within the designated range of lines will be saved
as the member. For example, if you enter:
SAVE INVLIST 1 12
only lines 100 through 1200 of the active AWS are saved in the member named
INVLIST.
it applies to all keyword operands and their abbreviaions. For example, NOW
is a keyword operand of the SEND command. If you name a library NOW and
then attempt to send the contents of that member to another user by issuing
SEND NOW, Advantage CA-Roscoe treats NOW as an operand, not as a
member name.
If you do use keyword operands as library member names, you must specify
your prefix when referencing these members. For example, if your prefix is
AAA, you would enter:
ATTACH AAA.JOB
COPY AAA.DSN
SEND AAA.NOW
It is also recommended that you do not use member names beginning with:
ZZZZZ or SAVAWS. Members created with these characters can be
deleted when the Advantage CA-Roscoe site administrator runs Advantage
CA-Roscoe library maintenance.
The following table summarizes the various options you can specify.
To update the contents of a member with specific lines from the active AWS,
include the appropriate line numbers with the command, as in:
UPDATE INVLIST 7 49
In this example, the entire contents of the member INVLIST is replaced with
lines 700 through 4900 of the active AWS.
If you want to update the last member that you FETCHed, SAVEd or
UPDATEd, you can use an asterisk (*) in place of a library member name, as
in:
FETCH INVLIST
RENUMBER
UPDATE
At the same time you are updating the contents of a member, you can also
change its description, sequence number attribute and/or access attribute, as
in:
UPDATE INVLIST 'New Inventory List' SHARED
In this example, the member description and access attribute are changed;
since no sequence number attribute is specified, that attribute is not changed.
(See 23.1.3, “Assigning a Description and/or Attributes” for additional
information about member descriptions and attributes.)
Chapter 24. Data Sets: Introducing the Data Set Facility . . . . . . . . 24-1
24.1 Attaching the Data Set Facility . . . . . . . . . . . . . . . . . . . . . . 24-2
24.1.1 Using Wildcard Characters to Create a Catalog or VTOC
Selection List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24-7
24.1.2 Using Wildcard Characters to Create an AllFusion
CA-Librarian, PDS or Volume Selection . . . . . . . . . . . . . . . . . 24-8
24.2 Using Data Set Facility Function Panels . . . . . . . . . . . . . . . . 24-9
24.3 Using Data Set Facility Selection Lists . . . . . . . . . . . . . . . . . . 24-11
24.3.1 Entering Function Codes . . . . . . . . . . . . . . . . . . . . . . . 24-11
24.3.2 Refreshing a Selection List . . . . . . . . . . . . . . . . . . . . . . 24-14
Chapter 25. Data Sets: Attaching a Data Set Object at the Terminal . 25-1
25.1 Attaching an AllFusion CA-Librarian Selection List . . . . . . . . . 25-2
25.1.1 Using a Primary Command . . . . . . . . . . . . . . . . . . . . . 25-2
25.1.2 Using the Data Set Facility . . . . . . . . . . . . . . . . . . . . . . 25-3
25.1.3 Selection List Description . . . . . . . . . . . . . . . . . . . . . . 25-3
25.2 Attaching a Catalog Selection List . . . . . . . . . . . . . . . . . . . . 25-7
25.2.1 Using a Primary Command . . . . . . . . . . . . . . . . . . . . . 25-7
25.2.2 Using the Data Set Facility . . . . . . . . . . . . . . . . . . . . . . 25-8
25.2.3 Selection List Description . . . . . . . . . . . . . . . . . . . . . . 25-9
25.3 Attaching a Generation Data Group Data Set . . . . . . . . . . . . . 25-13
25.4 Attaching a PDS Member/AllFusion CA-Librarian Module . . . . . 25-15
25.4.1 Using a Primary Command . . . . . . . . . . . . . . . . . . . . . 25-15
25.4.2 Using the Data Set Facility Menu . . . . . . . . . . . . . . . . . . 25-15
25.4.3 Using a Selection List . . . . . . . . . . . . . . . . . . . . . . . . . 25-16
25.4.4 Attached Data Description . . . . . . . . . . . . . . . . . . . . . . 25-17
25.5 Attaching a PDS Selection List . . . . . . . . . . . . . . . . . . . . . . 25-18
25.5.1 Using a Primary Command . . . . . . . . . . . . . . . . . . . . . 25-18
25.5.2 Using the Data Set Facility . . . . . . . . . . . . . . . . . . . . . . 25-19
25.5.3 Selection List Description . . . . . . . . . . . . . . . . . . . . . . 25-19
25.6 Attaching a Sequential Data Set . . . . . . . . . . . . . . . . . . . . . 25-25
25.6.1 Using a Primary Command . . . . . . . . . . . . . . . . . . . . . 25-25
25.6.2 Using the Data Set Facility Menu . . . . . . . . . . . . . . . . . . 25-25
25.6.3 Using a Selection List . . . . . . . . . . . . . . . . . . . . . . . . . 25-26
25.6.4 Attached Data Description . . . . . . . . . . . . . . . . . . . . . . 25-26
25.7 Attaching a Volume Selection List . . . . . . . . . . . . . . . . . . . . 25-27
25.7.1 Using a Primary Command . . . . . . . . . . . . . . . . . . . . . 25-27
25.7.2 Using the Data Set Facility . . . . . . . . . . . . . . . . . . . . . . 25-28
25.7.3 Selection List Description . . . . . . . . . . . . . . . . . . . . . . 25-28
25.8 Attaching a VTOC Selection List . . . . . . . . . . . . . . . . . . . . . 25-32
25.8.1 Using a Primary Command . . . . . . . . . . . . . . . . . . . . . 25-32
25.8.2 Using the Data Set Facility . . . . . . . . . . . . . . . . . . . . . . 25-33
25.8.3 Selection List Description . . . . . . . . . . . . . . . . . . . . . . 25-34
25.9 Selecting the Display . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25-37
User Guide
27.14 Writing to a Data Set . . . . . . . . . . . . . . . . . . . . . . . . . . . 27-54
User Guide
Chapter 24. Data Sets: Introducing the Data Set
Facility
When working with OS data sets or AllFusion CA-Librarian master files, you
can use primary commands or the Data Set Facility to:
■ Directly access data that is in a:
– Sequential data set
– Partitioned Data Set (PDS) member or AllFusion CA-Librarian module
– Generation Data Group (GDG) data set
■ Produce Selection Lists that contain information about:
– All or selected volumes
– All or selected data sets on a specific volume (for example, the VTOC
information)
– All or selected entries on a VSAM, ICF, or OS CVOL catalog
– All or selected members/modules on a PDS (like the PDS directory) or
AllFusion CA-Librarian master file (like the master file index)
■ Browse through the attached data or Selection List. While browsing, you
can locate and note the occurrences of specific character strings. You can
also browse other types of attached data (like an AWS) and then return to
the data you were browsing.
■ Perform a variety of data management functions which include:
– Copying all or part of a data set object into an AWS
– Printing all or part of a data set object at a 328x-type printer or a
system printer.
Note: A data set object can be a sequential data set, PDS member or
AllFusion CA-Librarian module. In the form of a Selection List, it
can also be a PDS directory, AllFusion CA-Librarian index, list of
catalog entries, volume table of contents or list of volumes.
■ Allocating, deleting, renaming, cataloging, and so on.
You can perform all of these operations using the Data Set Facility or
primary commands. Many can also be performed using Selection Lists that
are provided through the Data Set Facility.
Chapter 24. Data Sets: Introducing the Data Set Facility 24-1
24.1 Attaching the Data Set Facility
If you enter either of these commands with no operand, the menu is displayed.
You can include a function code and data set name with the DSN command.
If you include a function code and that function has a panel associated with it,
you can bypass the Data Set Facility menu and display the function panel. For
example, if you enter:
DSN AL TEST.NEW
the Allocate Function Panel is displayed with TEST.NEW in the DATA SET
field.
If no panel is associated with the function, the Data Set Facility menu is
displayed along with any information that you provided with the command.
For example, if you enter:
DSN CT TEST.NEW VOL STOR1
the Data Set Facility menu will show CT in the FUNCTION field, TEST.NEW
in the DATA SET field and STOR01 in the VOLUMES field. To perform this
function, press the Enter key. (The Data Set Facility menu will be redisplayed,
allowing you to perform other functions.)
If you are currently viewing a data set object, you can redisplay the menu by
entering:
SELECT MENU
to bounce the display between the last available specific and generic data set
name.
>
> DSN() SCRL FULL COLS 1 72
....+....1....+....2....+....3....+....4....+....5....+....6....
DATA SET FACILITY
FUNCTION ==>
Chapter 24. Data Sets: Introducing the Data Set Facility 24-3
24.1 Attaching the Data Set Facility
Chapter 24. Data Sets: Introducing the Data Set Facility 24-5
24.1 Attaching the Data Set Facility
Chapter 24. Data Sets: Introducing the Data Set Facility 24-7
24.1 Attaching the Data Set Facility
The field ACTION in the previous figure indicates whether the function is
performed directly or requires additional information. For example, the
information you provide through the menu is sufficient to catalog a data set
(function code CT) but insufficient to allocate a data set (function code AL).
=[code.code]
■ If you enter only the equal sign (=), you are returned to the menu.
■ If you specify =X, the Data Set Facility is terminated.
Chapter 24. Data Sets: Introducing the Data Set Facility 24-9
24.2 Using Data Set Facility Function Panels
■ If you specify any other code (like =AL), the appropriate function-related
panel is displayed. If you include a subfunction code, the appropriate
function-related panel is displayed and its OPTION field will contain the
subfunction code.
If the function-related panel is displayed while the screens are split, you can
use PF keys to scroll the panel.
Information about attaching a data set object is described in the next chapter.
The remaining Data Set Facility functions are described in Chapter 27, “Data
Sets: Performing Data Management Tasks.”
The first line of each Selection List contains a top marker (==TOP==). If the
bottom marker (==BOTTOM==) is not displayed, the number of entries in the
list exceeds the screen size. You can use PF keys to scroll within the list.
The amount of information available with each Selection List exceeds the
width of 80-column screens. The information is, therefore, divided into
alternate display formats. To view the different formats sequentially, enter the
command:
SELECT ALT
To view a specific format, enter the number of that format with the command,
as in:
SELECT ALT 2
See Chapter 25, “Data Sets: Attaching a Data Set Object at the Terminal” for
information about displaying each type of Selection List. The information
includes a description of the fields comprising each list. The alternate display
numbers shown with the description are for 80-column screens. Additional
formats (containing variations of the information) are available at terminals
supporting wider screen sizes.
If you specify the same function code multiple times, they are processed
sequentially. If you specify different function codes, the codes are processed
sequentially within the following function hierarchy:
X Terminate Data Set Facility
D Delete data set, member or module*
Chapter 24. Data Sets: Introducing the Data Set Facility 24-11
24.3 Using Data Set Facility Selection Lists
DX Delete the members of a PDS without deleting the data set itself*
UC Uncatalog a data set
R Rename data set, member or module*
DA Define an alias for a PDS member or non-VSAM data set or
ICF/VSAM user catalog
DG Define a generation data group
RL Release unused DASD space
CM Compress a partitioned data set
P Print a data set, member or module
CT Catalog a data set
I Inquire about data set*
G Get attributes
C Copy a data set, member, or module
AL Allocate a new data set
AM Allocate an SMS-managed data set
H Attach AllFusion CA-Librarian module history
A Attach data set, member or module*
Note: * This function cannot be performed through a Selection List if the data
set is password protected. Use the Data Set Facility menu or
appropriate primary command instead.
The following example illustrates how you can enter multiple functions codes
on a Selection List. To qualify a function, specify information in the STATUS
field. (See Chapter 27, “Data Sets: Performing Data Management Tasks” for
information about each of the functions you can perform through a Selection
List.)
>
> DSN() SCRL FULL COLS 1 72 LINE 1
....+....1....+....2....+....3....+....4....+....5....+....6..
==================================== T O P ===================
VOLSER UNIT DSNS DSCBS CONTG--CYL--AVAIL CONTG--TRK--AVAIL
STOR1 673 288 117 2 2 116 2
DATA SET NAME STATUS ORG RFM BLKSZ LRECL
ABC.TEST.ASM
A ABC.TEST.LOAD PO U 12288 1
I ABC.TEST.OBJECT PO FB 8
ABC.TEST1.LOAD
D BASE.TEST.TESTLOAD PO U 133
R DATA.TEST.LOAD PO U 12288 1
The functions in “Data Set: Selection List Function Hierarchy Example” are
processed in the following order:
1. The data set BASE.TEST.TESTLOAD will be deleted. (A delete
confirmation panel may be displayed.)
2. A rename panel is automatically displayed so that you can change the
name of DATA.TEST.LOAD.
3. An information panel for ABC.TEST.OBJECT is presented and any
remaining unexecuted functions are placed in a pending state. After
viewing the information, you can:
■ Resume function code execution by entering the command SELECT
NEXT. The next function (like attach ABC.TEST.LOAD) is performed.
■ Terminate execution by entering SELECT PREV (to return to the
Selection List) or SELECT MENU (to return to the Data Set Facility
menu). In either case, any unexecuted functions are ignored.
4. Finally, the data set ABC.TEST.LOAD is displayed.
Note that all function codes are evaluated before any one is executed. If an
invalid or incomplete function is specified, the PG functions are placed in a
pending state and a message is displayed. To resume execution, you must
either:
1. Correct the invalid/incomplete function, or
2. Remove it by typing a space over it.
If multiple function codes are specified and one of them is X, all of the other
function codes are ignored -- the Data Set Facility is immediately terminated.
Chapter 24. Data Sets: Introducing the Data Set Facility 24-13
24.3 Using Data Set Facility Selection Lists
The following example illustrates how the Selection List might appear after
performing the actions noted in “Data Set: Selection List Function Hierarchy
Example.”
>
> DSN() SCRL FULL COLS 1 72 LINE 1
....+....1....+....2....+....3....+....4....+....5....+....6..
==================================== T O P ===================
VOLSER UNIT DSNS DSCBS CONTG--CYL--AVAIL CONTG--TRK--AVAIL
STOR1 673 288 117 2 2 116 2
DATA SET NAME STATUS ORG RFM BLKSZ LRECL
ABC.TEST.LOAD ATTACH PO U 12288 1
ABC.TEST.OBJECT INFO PO FB 8
ABC.TEST1.LOAD
BASE.TEST.TESTLOAD DELETE PO U 133
DATA.TEST.LOAD RENAME PO U 12288 1
EDU.TEST.OBJECT
The more functions you perform through the same Selection List, the more
completion messages and information will be displayed. At any point, you can
redisplay the Selection List with the most current information (for example, the
deleted entries removed and renamed entries shown with their new names).
To do this, enter the command:
REFRESH
If you include the QUICK, SHORT or LONG operand with the REFRESH
command, you can designate the amount of information you want displayed.
For example, to redisplay an updated version of the Selection List shown in
the previous figure without any of the data set information, you would enter:
REFRESH QUICK
Chapter 25. Data Sets: Attaching a Data Set Object at the Terminal 25-1
25.1 Attaching an AllFusion CA-Librarian Selection List
Depending on the data set object you are currently viewing, you can also
display an AllFusion CA-Librarian Selection List by entering the command:
SELECT DIR
If the data set is not cataloged or is password-protected, you must include the
appropriate volume serial number and password, as in:
ATTACH DSN LIBR.SOURCE VOL STOR2 PSWD MYPASS
You can also qualify the display to include only those entries that are
associated with a specific programmer, module type or language code. For
example, to attach a Selection List containing only the names of the modules
associated with the programmer named JONES, you would enter:
ATTACH DSN LIBR.TEST PGMR JONES
Finally, you can use wildcard characters to create a Selection List containing
only those modules that meet specific criteria. For example, if you enter:
ATTACH DSN LIBR.SOURCE(RO+)
the resulting Selection List will contain only those modules whose names begin
with RO. (The following table identifies the wildcard characters that can be
used with module names.)
If the data set is not cataloged or is password protected, you must enter the
appropriate information in the VOLUMES and PASSWORD fields, as
illustrated in the following example.
>
> DSN() SCRL FULL COLS 1 72
....+....1....+....2....+....3....+....4....+....5....+....6....
DATA SET FACILITY
FUNCTION ===> A
Chapter 25. Data Sets: Attaching a Data Set Object at the Terminal 25-3
25.1 Attaching an AllFusion CA-Librarian Selection List
>
> DSN() SCRL FULL COLS 1 72 LINE 1
....+....1....+....2....+....3....+....4....+....5....+....6.
=================================== T O P ===================
DATA SET NAME VOLSER MEMS ORG RECFM BLKSZ LRECL
TEST.LIBR.SOURCE STOR1 24 PS F 4276
MEMBER STATUS PSWD LAST-MODIFIED DESCRIPTION CREATED
AMODULE 82121112338 FIRST MODULE 12/
BMODULE 84128454 SECOND MODULE 8/
CMODULE 864221218 THIRD MODULE 7/
DMODULE 85512335 1/
You can use this Selection List to perform one or more of the following
functions:
A - Attach a module
C - Copy a module
D - Delete a module
G - Get module attributes
H - Attach module history
P - Print a module
R - Rename a module
X - Terminate Data Set Facility
* - Position Selection List
To perform one or more of these functions, type the appropriate code(s) in the
first area shown in “Data Set: AllFusion CA-Librarian Selection List.” With
Copy, Print and Rename, you must provide additional information in the
STATUS field. (See the appropriate section in Chapter 27, “Data Sets:
Performing Data Management Tasks” for details.) After performing the
function, the STATUS field will indicate the result of each operation.
The amount of information provided through the Selection List exceeds the
width of 80-column screens. The information is, therefore, divided into
alternate displays. You can change the display to view the different
information by entering:
SELECT ALT [v]
where v is the number of the display to be viewed next. If you omit the
number, you will proceed sequentially through all of the different displays.
The ALT field in the following table contains the number of the alternate
display in which each field appears on an 80-column screen. If you are using a
terminal supporting a wider screen, additional displays (containing variations
of the same information) are available.
The extent of information shown when the Selection List is initially displayed
depends on whether you requested a QUICK, SHORT or LONG display
format. The following table lists all of the information that can be provided
and identifies the display format with which it is associated (Q for QUICK, S
for SHORT and L for LONG).
If the list is produced with the QUICK or SHORT display format, you can use
the G (Get Attributes) code to fill-in the fields for one or more modules.
The first two lines in the Execution Area (following the TOP marker) remain
constant as you scroll through the list and provide the following information:
DATA SET NAME Name of the AllFusion CA-Librarian master file about
which information was requested.
VOLSER Serial number of the volume on which the data set
resides.
MEMS Number of modules in the master file.
ORG Data set organization.
RECFM Record format.
BLKSZ Block size of the file.
LRECL Logical record length.
Chapter 25. Data Sets: Attaching a Data Set Object at the Terminal 25-5
25.1 Attaching an AllFusion CA-Librarian Selection List
Depending on the current data set object, you can display a Catalog Selection
List by entering the command:
SELECT CAT
Chapter 25. Data Sets: Attaching a Data Set Object at the Terminal 25-7
25.2 Attaching a Catalog Selection List
>
> DSN() SCRL FULL COLS 1 72
....+....1....+....2....+....3....+....4....+....5....+....6.
DATA SET FACILITY
FUNCTION ===> A
>
> DSN() SCRL FULL COLS 1 72 LINE 1
....+....1....+....2....+....3....+....4....+....5....+....6.
=================================== T O P ===================
SEARCH ARGUMENT MATCHES CATALOG NAME TYPE
TEST..MACLIB 6 CATALOG.UMUROS1 ICF
DATA SET NAME STATUS TYPE VOLUME DEVICE
TEST.AA.MACLIB NONVSAM STOR2 33
TEST.BA.MACLIB ALIAS
TEST.CC.MACLIB SQ=1 ROOG4 34
TEST.DDD.MACLIB NONVSAM STOR2 33
You can use this Selection List to perform the following functions:
A Attach a data set
AL Allocate a data set
AM Allocate an SMS-managed data set
C Copy a data set
CM Compress a PDS
CT Catalog a data set
D Delete a data set
DA Define an alias
DG Define a GDG
DX Delete members of PDS; keep the data set
G Get data set attributes
I Display data set information
P Print a data set
R Rename a data set
RL Release space
UC Uncatalog a data set
X Terminate Data Set Facility
* Position Selection List
To perform one or more of these functions, type the appropriate code(s) in the
first area shown in the previous example. With Copy and Print, you must
provide additional information in the STATUS field. (See the appropriate
section in Chapter 27, “Data Sets: Performing Data Management Tasks” for
details.) After performing the function, the STATUS field indicates the result
of each operation.
Chapter 25. Data Sets: Attaching a Data Set Object at the Terminal 25-9
25.2 Attaching a Catalog Selection List
The amount of information provided through the 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 by
entering:
SELECT ALT [v]
where v is the number of the display to be viewed next. If you omit the
number, you will proceed sequentially through all of the different displays.
The ALT field in the following table contains the number of the alternate
display in which each field appears on an 80-column screen. If you are using a
terminal supporting a wider screen, additional displays (containing variations
of the same information) are available.
The extent of information shown when the Selection List is initially displayed
depends on whether you requested a QUICK, SHORT, or LONG display
format. The following table lists all of the information that can be provided
and identifies the display format with which it is associated (Q for QUICK, S
for SHORT, and L for LONG).
If the list was produced with the QUICK or SHORT display format, you can
use the G (Get Attributes) code to fill-in the fields for one or more partitioned
data sets.
The first two lines in the Execution Area (following the TOP marker) remain
constant as you scroll through the list and show:
SEARCH ARGUMENT
Name of the data set you specified through the ATTACH DSN
command or the Data Set Facility menu.
MATCHES
Number of data set names that matched the specified data set
criteria.
CATALOG NAME
Name of the catalog(s) where the data sets are cataloged. (This
field contains *MULTIPLE CATALOGS* if the data sets in the List
are cataloged in more than one catalog.)
TYPE The type of catalog(s) searched. The types are:
CVOL Control volume
ICF Integrated catalog facility
VSAM VSAM user catalog
N/A More than one catalog and they are different types.
The remaining fields identify the data sets comprising the catalog and include
the information shown in below.
Chapter 25. Data Sets: Attaching a Data Set Object at the Terminal 25-11
25.2 Attaching a Catalog Selection List
Notes:
■ The STATUS field is not displayed when the CREDT, REFDT and EXTDT
are displayed.
■ The fields STORCLAS, DATACLAS, MGMTCLAS, and DTYP are
displayed only when the IBM DFSMS is installed at the site.
or, use the Data Set Facility menu, as illustrated in the example below.
>
> DSN() SCRL FULL COLS 1 72
....+....1....+....2....+....3....+....4....+....5....+....6.
DATA SET FACILITY
FUNCTION ===> A
When GDG is attached, the data are presented in a format similar to the one
shown in the following example.
>
> DSN() SCRL FULL COLS 7 78 LINE 1
> TEST.GENSET(G1V)
> ...1....+....2....+....3....+....4....+....5....+....
...... ============================= T O P =================
1 IDENTIFICATION DIVISION.
2 PROGRAM-ID. INVREPT.
3 ENVIRONMENT DIVISION.
4 CONFIGURATION SECTION.
5 SOURCE-COMPUTER. IBM-381.
6 OBJECT-COMPUTER. IBM-381.
The System Information Line begins with DSN(). Immediately below is the
name of the attached data set. (As illustrated in the preceding example, when
a PDS member or AllFusion CA-Librarian module is attached, its name is
included with the data set name.)
The right side of the System Information Line shows the number of the first
line in the current display. This is to assist you in keeping track of where you
are as you scroll forward and backward through the data.
Chapter 25. Data Sets: Attaching a Data Set Object at the Terminal 25-13
25.3 Attaching a Generation Data Group Data Set
If the member/module is on a data set that is not cataloged, you must specify
the serial number of the volume on which the data set resides, as in:
ATTACH DSN TEST.SOURCE(INVREPT) VOL SHR7
If you are working with AllFusion CA-Librarian master files, you can qualify
the information that is to be displayed. For example, you can specify which
archive level of the module you want attached, as in:
ATTACH DSN TEST.LIBR(MOD1) ARC -3
If you do not specify an archive level, the most current level of the module is
attached.
By default, the display begins with the first line in the member/module. You
can use the LINE operand to begin the display with a specific line, as in:
ATTACH DSN TEST.SOURCE(INVREPT) LINE 12
Chapter 25. Data Sets: Attaching a Data Set Object at the Terminal 25-15
25.4 Attaching a PDS Member/AllFusion CA-Librarian Module
>
> DSN() SCRL FULL COLS 1 72
....+....1....+....2....+....3....+....4....+....5....+....6.
DATA SET FACILITY
FUNCTION ===> A
As with the primary command, you can qualify the information you want
displayed. The following example illustrates how you can display the third
archive level of the AllFusion CA-Librarian module MOD1 on TEST.LIBR.
>
> DSN() SCRL FULL COLS 1 72
....+....1....+....2....+....3....+....4....+....5....+....6.
DATA SET FACILITY
FUNCTION ===> A
If you do not specify an archive level, the most current level of the module is
attached.
>
> DSN() SCRL FULL COLS 1 72 LINE 1
....+....1....+....2....+....3....+....4....+....5....+....6.
=================================== T O P ===================
DATA SET NAME VOLSER MEMS ORG RECFM BLKSZ LRECL
TEST.SOURCE STOR1 4 PO FB 16 8
MEMBER STATUS VV.MM CREATED LAST-MODIFIED SIZE INIT MOD
INVIN 1. 4/29/85 4/29/85 14:41 36 36
A INVREPT
PAY52
TEST1 1. 11/5/84 11/5/84 11:42 2 2
>
> DSN() SCRL FULL COLS 7 78 LINE 1
> TEST.SOURCE(INVREPT)
> ...1....+....2....+....3....+....4....+....5....+....
...... ============================= T O P =================
1 IDENTIFICATION DIVISION.
2 PROGRAM-ID. INVREPT.
3 ENVIRONMENT DIVISION.
4 CONFIGURATION SECTION.
5 SOURCE-COMPUTER. IBM-381.
6 OBJECT-COMPUTER. IBM-381.
The System Information Line begins with DSN(). Immediately below is the
name of the attached data set and member/module name.
The right side of the System Information Line shows the number of the first
line in the current display. This is to assist you in keeping track of where you
are as you scroll forward and backward through the data.
Chapter 25. Data Sets: Attaching a Data Set Object at the Terminal 25-17
25.5 Attaching a PDS Selection List
Depending on the data set object you are currently viewing, you can also
display a PDS Selection List by entering the command:
SELECT DIR
If the data set is not cataloged or is password-protected, you must include the
appropriate volume serial number and password, as in:
ATTACH DSN TEST.SOURCE VOL STOR2 PSWD MYPASS
You can also use wildcard characters to create a Selection List containing only
those members that meet specific criteria. For example, if you enter:
ATTACH DSN TEST.SOURCE(RO+)
the resulting Selection List will contain only those members whose names
begin with RO. (The following table identifies the wildcard characters that can
be used with member names.)
If the data set is not cataloged or is password protected, you must enter the
appropriate information in the VOLUMES and/or PASSWORD fields, as
illustrated below.
>
> DSN() SCRL FULL COLS 1 72
....+....1....+....2....+....3....+....4....+....5....+....6....
DATA SET FACILITY
FUNCTION ===> A
The following example illustrates the type of Selection List displayed when
you request information about a data set that contains a load library.
>
> DSN() SCRL FULL COLS 1 72 LINE 1
....+....1....+....2....+....3....+....4....+....5....+....6.
=================================== T O P ===================
DATA SET NAME VOLSER MEMS ORG RECFM BLKSZ LRECL
TEST.LOAD STOR5 14 PO U 12288 12288
MEMBER STATUS --------------- ATTRIBUTES --------------
DOIT1 RENT REUS
DOIT2 RENT REUS
DOIT3 RENT REUS REFR AM=31 RM
DOIT4 RENT REUS REFR AC=1
You can use this Selection List to perform one or more of the following
functions:
A Attach a member
Chapter 25. Data Sets: Attaching a Data Set Object at the Terminal 25-19
25.5 Attaching a PDS Selection List
C Copy a member
D Delete a member
DA Define an alias
G Get attributes
P Print a member
R Rename a member
X Terminate Data Set Facility
* Position Selection List
To perform one or more of these functions, type the appropriate code(s) in the
first area shown in the previous example. With Copy, Print and Rename, you
must provide additional information in the STATUS field. (See the appropriate
section in Chapter 27, “Data Sets: Performing Data Management Tasks” for
details.) After performing the function, the STATUS field will indicate the
result of each operation.
The amount of information provided through the 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 by
entering:
SELECT ALT [v]
where v is the number of the display to be viewed next. If you omit the
number, you will proceed sequentially through all of the different displays.
The ALT field in the following table contains the number of the alternate
display in which each field appears on an 80-column screen. If you are using a
terminal supporting a wider screen, additional displays (containing variations
of the same information) are available.
The display format setting (QUICK, SHORT or LONG) is ignored when a PDS
Selection List is displayed. The Selection List contains all available information.
The first two lines in the Execution Area (following the TOP marker) remain
constant as you scroll through the directory. The information includes:
DATA SET NAME Name of the data set about which information was
requested.
VOLSER Serial number of the volume on which the first resides.
MEMS Number of members comprising the data set.
ORG Data set organization of the file.
The remaining fields identify the members comprising the data set and include
the information shown in the following table.
Chapter 25. Data Sets: Attaching a Data Set Object at the Terminal 25-21
25.5 Attaching a PDS Selection List
The following example illustrates the type of Selection List displayed when
you specify a data set which contains a source, macro, procedure or object
library.
>
> DSN() SCRL FULL COLS 1 72 LINE 1
....+....1....+....2....+....3....+....4....+....5....+....6.
=================================== T O P ===================
DATA SET NAME VOLSER MEMS ORG RECFM BLKSZ LRECL
TEST.SOURCE STOR1 12 PO FB 16 8
MEMBER STATUS VV.MM CREATED LAST-MODIFIED SIZE INIT MOD
INVIN 1. 4/29/85 4/29/85 14:41 36 36
INVREPT
TEST1 1. 11/5/84 11/5/84 11:42 2 2
TEST2 1.13 1/9/85 1/23/85 16:28 5 4
WORK
WORK1 1.1 2/2/85 5/1/85 7:38 51 51
WORK2 1. 2/2/85 2/2/85 8:45 41 41
You can use this Selection List to perform one or more of the following
functions:
A Attach a member
C Copy a member
D Delete a member
DA Define an alias
| E Edit a member
G Get attributes
P Print a member
R Rename a member
| SU Submit a member
X Terminate Data Set Facility
* Position Selection List
To perform one or more of these functions, type the appropriate code(s) in the
first area shown in the previous example. With Copy, Print and Rename, you
must provide additional information in the STATUS field. (See the appropriate
section in Chapter 27, “Data Sets: Performing Data Management Tasks” for
details.) After performing the function, the STATUS field indicates the result
of each operation.
The amount of information provided through the 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 by
entering:
SELECT ALT [v]
where v is the number of the display to be viewed next. If you omit the
number, you proceed sequentially through all of the different displays.
The ALT field in the following table contains the number of the alternate
displays in which each field appears on an 80-column screen. If you are using
a terminal supporting a wider screen, additional displays (containing
variations of the same information) are available.
The display format setting (QUICK, SHORT or LONG) is ignored when a PDS
Selection List is displayed. The Selection List contains all available information.
The first two lines in the Execution Area (following the TOP marker) remain
constant as you scroll through the directory and show:
DATA SET NAME Name of the data set about which information was
requested.
VOLSER Serial number of the volume on which the file resides.
MEMS Number of members comprising the data set.
ORG Data set organization of the file.
RECFM Record format of the file.
BLKSZ Block size of the file.
LRECL Logical record length of the file.
The remaining fields identify the members comprising the data set and include
the information shown in the following table.
Chapter 25. Data Sets: Attaching a Data Set Object at the Terminal 25-23
25.5 Attaching a PDS Selection List
If the data set is not cataloged, you must specify the serial number of the
volume on which it resides. For example, if TEST.MASTER is not cataloged
and resides on volume SHR07, you could attach it by entering:
ATTACH DSN TEST.MASTER VOLUME SHR7
By default, the display begins with the first line of the data set. You can use
the LINE operand to begin the display with a specific line, as in:
ATTACH DSN TEST.MASTER LINE 2
>
> DSN() SCRL FULL COLS 1.72
....+....1....+....2....+....3....+....4....+....5....+....6.
DATA SET FACILITY
FUNCTION ===> A
Chapter 25. Data Sets: Attaching a Data Set Object at the Terminal 25-25
25.6 Attaching a Sequential Data Set
>
> DSN() SCRL FULL COLS 1.72 LINE 1
....+....1....+....2....+....3....+....4....+....5....+....6.
==================================== T O P ===================
VOLSER UNIT DSNS DSCBS CONTG--CYL--AVAIL CONTG--TRK--AVAIL
STOR1. 673 288 117 2 2 116 2
DATA SET NAME STATUS ORG RFM BLKSZ LRECL
ABC.TEST.ASM PO FB 8 8
A ABC.TEST.LOAD PO U 12288 12288
ABC.TEST.OBJECT PO FB 8 8
>
> DSN() SCRL FULL COLS 7 78 LINE 1
> TEST.SOURCE
> ...1....+....2....+....3....+....4....+....5....+....
...... ============================= T O P =================
1 IDENTIFICATION DIVISION.
2 PROGRAM-ID. INVREPT.
3 ENVIRONMENT DIVISION.
4 CONFIGURATION SECTION.
5 SOURCE-COMPUTER. IBM-381.
6 OBJECT-COMPUTER. IBM-381.
The System Information Line begins with DSN(). Immediately below is the
name of the attached data set. The right side of the System Information Line
shows the number of the first line in the current display. This is to assist you
in keeping track of where you are as you scroll forward and backward
through the data.
If you are currently viewing a data set object, you can display a previously
created Volume Selection List by entering the command:
SELECT VOL
You can also combine these qualifiers within a single execution. For example,
to produce a Selection List containing all volumes beginning with STOR that
reside on 3380s and are defined as private or public, you would enter:
ATTACH VOL STOR+ UNIT 338 TYPE PRIVATE PUBLIC
Chapter 25. Data Sets: Attaching a Data Set Object at the Terminal 25-27
25.7 Attaching a Volume Selection List
The following example shows how you can use the wildcard characters shown
in previous table to request information about all volumes beginning with
STOR that reside on 3380s and are defined as private.
>
> DSN() SCRL FULL COLS 1 72
....+....1....+....2....+....3....+....4....+....5....+....6.
DATA SET FACILITY
FUNCTION ===> A
>
> DSN() SCRL FULL COLS 1 72 LINE 1
....+....1....+....2....+....3....+....4....+....5....+....6..
==================================== T O P ===================
VOLUME UNIT TYPE MATCHES
STOR+ 338 ALL 2
VOLUME STATUS UNIT DEVTYPE INDEX SMS DEVSTAT VOLSTAT
STOR1 41 338 ACTIVE NO A PRIV/R
STOR2 4 338 ACTIVE NO A PRIV/R
You can use this Selection List to perform one or more of the following
functions:
A Attach volume's VTOC
C Copy VTOC of volume
G Get volume information
I Display volume information
P Print VTOC of volume
X Terminate Data Set Facility
* Position Selection List
To perform one or more of these functions, type the appropriate code in the
first area shown in the previous example. With Copy and Print, you must
provide additional information in the STATUS field. (See the appropriate
section in Chapter 27, “Data Sets: Performing Data Management Tasks” for
details.) After performing the function, the STATUS field will indicate the
result of each operation.
The amount of information provided through the 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 by
entering:
SELECT ALT [v]
where v is the number of the display to be viewed next. If you omit the
number, you will proceed sequentially through all of the different displays.
The ALT field in the following table contains the number of the alternate
display in which each field appears on an 80-column screen. If you are using a
terminal supporting a wider screen, additional displays (containing variations
of the same information) are available.
The extent of information shown when the Selection List is initially displayed
depends on whether you requested a QUICK, SHORT or LONG display
format. The following table lists all of the information that can be provided,
and identifies the display format with which it is associated (Q for QUICK, S
for SHORT and L for LONG).
If the list was produced with the QUICK or SHORT display format, you can
use the G (Get Information) code to fill-in the fields for one or more volumes.
Chapter 25. Data Sets: Attaching a Data Set Object at the Terminal 25-29
25.7 Attaching a Volume Selection List
The first two lines in the Execution Area (following the TOP marker) remain
constant as you scroll through the display and show:
VOLUME Search string (including wildcard characters) used to build the
Selection List.
UNIT Unit type used to build the Selection List.
TYPE Device type used to build the Selection List, shown as ALL or
PRIVATE, PUBLIC and STORAGE.
MATCHES Number of volume matching the selection criteria.
The remaining fields identify the data sets on the volume and include the
information shown below.
Chapter 25. Data Sets: Attaching a Data Set Object at the Terminal 25-31
25.8 Attaching a VTOC Selection List
If you are currently viewing a data set object, you can display a previously
created VTOC Selection List by entering the command:
SELECT VTOC
Using the wildcard characters shown in the following table, you can qualify
the displayed information. For example, to create a Selection List containing
only those data sets starting with TEST and ending with SOURCE on STOR02,
you would enter:
ATTACH DSN TEST..SOURCE VOLUME STOR2
The following example illustrates how you might request information about
the data sets on STOR01.
>
> DSN() SCRL FULL COLS 1 72
....+....1....+....2....+....3....+....4....+....5....+....6.
DATA SET FACILITY
FUNCTION ===> A
Chapter 25. Data Sets: Attaching a Data Set Object at the Terminal 25-33
25.8 Attaching a VTOC Selection List
>
> DSN() SCRL FULL COLS 1 72 LINE 1
....+....1....+....2....+....3....+....4....+....5....+....6.
==================================== T O P ===================
VOLSER UNIT DSNS DSCBS CONTG--CYL--AVAIL CONTG--TRK--AVAIL
STOR1 673 288 117 2 2 116 2
DATA SET NAME STATUS ORG RFM BLKSZ LRECL
ABC.TEST.ASM PO FB 8
ABC.TEST.LOAD PO U 12288 1
BASE.TEST.TESTLOAD PO U 133
DATA.TEST.LOAD PO U 12288 1
You can use this Selection List to perform one or more of the following
functions:
A Attach a data set
AL Allocate a new data set
AM Allocate an SMS-managed data set
C Copy a data set
CM Compress a PDS
CT Catalog a data set
D Delete a data set
DA Define an alias
DX Delete member of PDS; keep the data set
G Get attributes
I Display data set information
P Print a data set
R Rename a data set
RL Release space
UC Uncatalog a data set
X Terminate Data Set Facility
* Position Selection List
To perform one or more of these functions, type the appropriate code in the
first area shown in the previous example. With Copy, Print and Rename, you
must provide additional information in the STATUS field. (See the appropriate
section in Chapter 27, “Data Sets: Performing Data Management Tasks” for
details.) After performing the function, the STATUS field will indicate the
result of each operation.
The amount of information provided through the 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 by
entering:
SELECT ALT [v]
where v is the number of the display to be viewed next. If you omit the
number, you will proceed sequentially through all of the different displays.
The ALT field in the following table contains the number of the alternate
display in which each field appears on an 80-column screen. If you are using a
terminal supporting a wider screen, additional displays (containing variations
of the same information) are available.
The extent of information shown when the Selection List is initially displayed
depends on whether you requested a QUICK, SHORT, or LONG display
format. The following table lists all of the information that can be provided
and identifies the display format with which it is associated (Q for QUICK, S
for SHORT, and L for LONG).
If the list was produced with the QUICK or SHORT display format, you can
use the G (Get Attributes) code to fill-in the fields for one or more partitioned
data sets.
The first two lines in the Execution Area (following the TOP marker) remain
constant as you scroll through the display and show:
VOLSER Serial number of the volume.
UNIT Unit address associated with the device on which the volume is
mounted.
DSNS Number of data sets on the volume.
DSCBS Number of available DSCBs on the volume.
CYL Total number of contiguous free (available) cylinders and the
total number of free cylinders.
TRK Total number of free (available) tracks and maximum number of
contiguous free tracks.
MATCHES Number of data sets on the designated volume.
Chapter 25. Data Sets: Attaching a Data Set Object at the Terminal 25-35
25.8 Attaching a VTOC Selection List
The remaining fields identify the data sets on the volume and include the
information shown in the following table.
The STATUS field is not displayed when the fields CREDT, REFDT, and
EXTDT are displayed.
Chapter 25. Data Sets: Attaching a Data Set Object at the Terminal 25-37
25.9 Selecting the Display
SELECT string The resulting display depends on the string you specify. If
the string contains:
■ A period (like TEST.ABC), it is treated as a data set
name. If the data set appeared on a previously
displayed Catalog or VTOC Selection List, the
appropriate list is displayed. If it did not appear in any
previous Selection List and a:
1. Catalog Selection List was previously displayed, the
catalog is searched for the data set, or
2. VTOC Selection List was previously displayed, the
VTOC is searched for the data set.
■ More than six characters, it is treated as a PDS member
or AllFusion CA-Librarian module name. If the
member/module did not appear in a previous Selection
List, the current PDS/AllFusion CA-Librarian master
file is searched for the designated member/module.
■ Six or less characters, the name is treated as:
1. A member/module if a PDS or AllFusion
CA-Librarian Selection List was previously
displayed.
2. A volume serial number if a PDS or AllFusion
CA-Librarian Selection List was not previously
displayed.
The appropriate Selection List is then displayed.
SELECT VOL To redisplay a previously displayed Volume Selection List.
SELECT VTOC To display a VTOC Selection List.
Depending on the current display, it will either be the
previously displayed Selection List or the Selection List
representing the contents of the volume on which the data
set you are currently viewing resides.
The Data Set Facility is also detached by entering the function code X on the
menu, any function panel or any selection list. This function code is
comparable to the DETACH DSN command. (If you enter X on a Selection List
that includes other function codes, those functions will be ignored.)
ATTACHing another data set object causes the current data set object to be
implicitly detached. If you are detaching a sequential data set, PDS member or
AllFusion CA-Librarian module and you have assigned NOTE names, those
names are deleted when the data are detached.
If you execute a command that causes output to the Execution Area (like
ATTACHing an AWS) or if you press the CLEAR key, the Data Set Facility is
placed in a pending state and can be reattached at any time.
While this description assumes you are locating strings that are in character
format, you can also locate the hexadecimal representation of a string. See
26.2.3, “Customizing the Operation” on page 26-5 for details.
To find the last occurrence of the same string, all you need enter is:
LAST
Once you have specified a search string, it is remembered and used with any
subsequent EXCL, FIRST, INCL, LAST, NEXT or PREV command that does not
include a string.
By default, the full line length is searched for your string. You can include
column numbers with the command to qualify the search for a single
operation. For example:
NEXT 1 3 SAMPLE
examines columns 10 through 30 for the next occurrence of SAMPLE. After the
command executes, the defaults are reestablished. To change the column
boundaries for the remainder of your session, use the SET BOUNDS command.
(See Chapter 4, “Defining Column Boundaries” for additional information.)
Also, by default, every line in the data set object is searched until it finds the
string or reaches the site-defined maximum. You can limit the search to a
specific number of lines by specifying the number after the string. For
example, to find the last occurrence of SAMPLE within the last 200 lines of
currently displayed data set object, you would enter:
LAST SAMPLE 2
You can also limit the search for the character string to particular columns. For
example, if you want to display every line that does not contain the string
TEST-DATA in columns 30 through 80, you would enter:
EXCL 3 8 TEST-DATA
Note: Column boundaries specified with the command affect only the
execution of that command. See Chapter 4, “Defining Column
Boundaries” for information about changing boundaries for the
terminal session.
If the number of lines to be displayed exceeds the size of your terminal screen,
press one of the PF keys to which a scrolling function is assigned. The INCL or
EXCL operation will resume scanning for the previously specified string (like
TEST-DATA). The direction of the scan depends on the value assigned to the
PF key. (The search string is remembered for subsequent use; column number
limits and line number limits apply only to the command with which they are
specified.)
If you determine that you want to see the data that follows a particular line,
use:
■ The cursor positioning keys to move the cursor to the appropriate line and
then press the Enter key, or
■ The POINT command. For example, if an EXCL display includes line 150
and you want to display the lines following it, you would enter:
POINT LINE 15
The resulting display begins with line 150.
Doing either of these actions or entering any primary command terminates the
INCL/EXCL operation.
Note: When you create an INCL/EXCL display from a Selection List, you can
enter any function code(s). If a function results in another display (like
attaching an entry in the list), the INCL/EXCL operation is terminated.
The current setting of the SET MODE command determines how the string
specified with FIRST, NEXT, LAST, PREV, INCL or EXCL is to be treated. See
Chapter 3, “Controlling Character Recognition” for additional information.
In all of the examples used thus far, the search string has not been delimited.
With these commands, you only need to delimit the string when it:
■ Includes a space (like FIRST /TEST DATA/)
■ Is a numeric (like NEXT /519/)
■ Is the same as a keyword operand or operand abbreviation of the
command (like INCL /JOB/)
By default, the search is for any string of characters that match the search
string. To limit the search operation, you can include the qualifier operands.
These operands are WORD, PREFIX, BEGIN, EMBED, END and SUFFIX.
For example, assume the attached data set object contains the line:
'THE OTHER BROTHER ATE THEIR APPLE DURING THE CONTEST'
and you want to search for the string THE. Without qualification, the words
THE, BROTHER and THEIR match the search string. By including a qualifier,
you can designate the type of string match that is to occur, as in:
When using the primary commands FIRST, LAST, NEXT, PREV, INCL or
EXCL, you do not need to delimit the hexadecimal string.
If a line containing (or not containing) the search string is found, it becomes
the first displayed line of the resulting display. By specifying a screen
positioning operand with the command, you can control how the display is
positioned. The screen positioning operands are:
CJUSTIFIED The display margins are to be altered if the entire matching
string does not fall within the current margin. (This is the
default positioning.)
JUSTIFIED The display margins are always to be altered so that the first
character of the string begins in the left-most position of the
line.
CENTERED The display margins are to be altered to center the matching
string on the line. If centering would cause an invalid left
margin (for example, less than 1), the display is not altered.
LOCKED The display margins are not to be altered even if the matching
string occurs to the left or right of the current margins.
To assign a name to a line that is not the first displayed line, qualify the
asterisk. For example, to assign the name LOC2 to the line that is five lines
after the first displayed line, you would enter:
NOTE +5 LOC2
Once you have assigned a name to a specific line, you can return to that line at
any time by using the POINT command. To return to the line noted as LOC1,
you would enter:
POINT LOC1
If you determine that you no longer need to note a specific line, you can
eliminate the NOTE name with the DROP command, as in:
DROP LOC2
Any outstanding NOTE names are automatically deleted when you detach the
data, attach another data set or go to a higher level (for example, if you
display a PDS Selection List after viewing a member of that PDS).
ATTACH_
>
> DSN() SCRL FULL COLS 7 72 LINE 1
> TEST.SOURCE(INVREPT)
> ...1....+....2....+....3....+....4....+....5....+
...... ============================== T O P ============
1 IDENTIFICATION DIVISION.
2 PROGRAM-ID. INVREPT.
3 ENVIRONMENT DIVISION.
ATTACH DSN
> D PENDING
> AWS (PRI.INVREPT) SCRL FULL COLS 7 72
> ...1....+....2....+....3....+....4....+....5....
...... ======================== T O P =================
1 IDENTIFICATION DIVISION.
2 PROGRAM-ID. INVREPT.
3 ENVIRONMENT DIVISION.
>
> DSN() SCRL FULL COLS 7 72 LINE 1
> TEST.SOURCE(INVREPT)
> ...1....+....2....+....3....+....4....+....5....+
...... ============================= T O P =============
1 IDENTIFICATION DIVISION.
2 PROGRAM-ID. INVREPT.
3 ENVIRONMENT DIVISION.
When you reattach the Data Set Facility, the display begins with the first line
of the previous display. To reattach at a different location within the same data
set object, you can:
■ Use the LINE operand of ATTACH to specify the desired line number, as
in:
ATTACH DSN LINE 5
■ Use the POINT command to begin the display with the line assigned a
NOTE name, as in:
POINT DSN NAME1
■ Use the DSN operand with the FIRST, NEXT, LAST and PREV commands
to begin the display with the line containing a specific string, as in:
FIRST DSN /DD/
■ Use the DSN operand with the INCL or EXCL command to begin the
display with a list of lines containing (or not containing) a specific string,
as in:
INCL DSN /DD/
This chapter describes how you can perform the following functions at any
time during your terminal session:
■ Allocating a data set
■ Cataloging a data set
■ Compressing a partitioned data set
■ Copying a data set object into an AWS
■ Defining an alias for:
1. a non-VSAM data set or ICF/VSAM user catalog
2. member of a partitioned data set
■ Defining a Generation Data Group.
■ Deleting a data set, PDS member or AllFusion CA-Librarian module
■ Inquiring about a specific data set or volume
■ Printing a data set object
■ Renaming a data set, PDS member or AllFusion CA-Librarian module
■ Uncataloging a data set
■ Writing to a data set
These functions can be performed using primary commands, the Data Set
Facility menu or the appropriate Selection List.
If the attributes, space requirements, or device location for your new data set
are similar to those of an existing data set, you can use the LIKE operand to
establish the existing data set as a model for the new one. For example:
ALLOCATE DSN TEST.NEW VOLUME STOR2 LIKE TEST.OLD
uses the attributes, space parameters and device location of the existing data
(TEST.LOAD) as the model in allocating the new data set (TEST.NEW).
■ You can also allocate certain types of VSAM data sets if the proper
modeling information is established in the DFSMS data classes. For
example, assume that the DFSMS data class CLUSTER contains the
required information to allocate a more commonly used type of VSAM
key-sequenced data set. You can allocate such a cluster with:
ALLOCATE DSN VSAM.CLUSTER DATACLAS CLUSTER KEYOFF 64 ...
Note that in this example, the KEYOFF operand is used to either override
information in the data class definition or to provide information that is
not present in it.
You can then verify the data set name and add or change the appropriate
information. When you press the Enter key, the data set is allocated using the
values displayed.
The following example assumes you entered the AL function code and that
you want to allocate a new data set with the same attributes as an existing
data set named TEST.OLD. Once the information is displayed, you can change
the data set name and make any other necessary attribute changes. When you
press the Enter key, the allocation is performed.
The following example illustrates the panel displayed when you use the AL
function code.
>
> DSN() SCRL FULL COLS 1 72
....+....1....+....2....+....3....+....4....+....5....+....
ALLOCATE NEW DATA SET
DSORG ===> PO
RECFM ===> FB
LRECL ===> 8
BLKSIZE ===> 352
KEYLEN ===>
EXPDT ===> (MM/DD/YY)
CATALOG ===> YES (Y,N)
The fields comprising this panel include:
DATA SET Enter the one- to 44-character fully qualified name of the data
set to be allocated. The name may be further qualified with:
+v Relative generation number of GDG data set to be
allocated, specified as a value between 1 and 255.
VOLUMES Enter the one- to six-character serial number of the volume on
which the data set is to be allocated. One to six serial
numbers can be specified.
■ If both VOLUMES and UNIT NAMES are specified and
the volume is mounted, UNIT NAMES is ignored. If the
volume is not mounted and the unit name refers to a mass
storage device, an MSS mount is attempted.
■ If UNIT NAMES is specified and VOLUMES is omitted,
only those volumes within the designated generic or
esoteric group that have a Use attribute of STORAGE are
eligible for allocation.
Use the DISPLAY DEVICES command to determine which
volumes have a Use attribute. The Status field of the
resulting display will contain STR if the volume's Use
attribute is STORAGE.
■ If both VOLUMES and UNIT NAMES are omitted, an
allocation to the unit name specified in the ETSO PSCB
control block is attempted. If ETSO is not active, an
allocation is attempted using the unit name SYSALLDA.
UNIT NAMES Enter the one- to eight-character unit name associated with the
device type(s) on which the data set is to be allocated. It can
be either an IBM-defined generic name (like 3350) or a
site-defined esoteric name (like SYSDA).
The following example illustrates the panel displayed when you use the AM
function code.
>
> DSN() SCRL FULL COLS 1 72
....+....1....+....2....+....3....+....4....+....5....+....
ALLOCATE NEW SMS-MANAGED DATA SET
You can also enter the CT function code, data set name and volume serial
number on the Data Set Facility menu, as in the following example.
>
> DSN() SCRL FULL COLS 1 72
....+....1....+....2....+....3....+....4....+....5....+....6.
DATA SET FACILITY
FUNCTION ===> CT
>
> DSN() SCRL FULL COLS 1 72 LINE 1
....+....1....+....2....+....3....+....4....+....5....+....6..
==================================== T O P ===================
VOLSER UNIT DSNS DSCBS CONTG--CYL--AVAIL CONTG--TRK--AVAIL
STOR1 673 288 117 2 2 116 2
DATA SET NAME STATUS ORG RFM BLKSZ LRECL
TEST.ASM PO FB 8 8
TEST.LOAD PO U 12288 12288
CT TEST.NEW PO FB 8 8
When using the CATALOG primary command or the Data Set Facility menu,
you can catalog a data set that resides on a maximum of six volumes, as in:
CATALOG DSN TEST.NEW VOL STOR1 STOR2 STOR3
You cannot, however, catalog an SMS-managed data set using this facility.
Note: If the first (or only) volume specified is available for inspection,
Advantage CA-Roscoe verifies that the designated data set exists. If the
data set does not exist, the request is rejected. No check is made for
any other volumes specified.
If the first (or only) volume specified is not available for inspection, no
check is made for the data set's existence; the request is honored. (This
permits catalog entries to be created for tape and DASD data sets
residing on volumes that are only accessible from another system.)
One of these commands is COPY DSN, which allows you to copy all or
selected lines of the currently attached data or Selection List into the active or
a specific AWS. The following example illustrates how you can copy all of the
attached data set object to the top of the active AWS.
COPY DSN T_
>
> DSN() SCRL FULL COLS 7 78 LINE 1
> TEST.SOURCE(INVREPT)
> ...1....+....2....+....3....+....4....+....5....+....
...... ============================= T O P =================
1 IDENTIFICATION DIVISION.
2 PROGRAM-ID. INVREPT.
3 ENVIRONMENT DIVISION.
4 CONFIGURATION SECTION.
You must indicate the appropriate AWS destination by specifying one of the
following:
v Copy at or after the line specified by v.
T Copy to the top of the AWS.
B Copy to the bottom of the AWS.
* Copy after the line at which the AWS pointer is currently positioned.
R Replace the contents of the AWS with the copied data.
For example, to copy every line from the currently attached data set object
that contains the string SAMPLE to the bottom of the active AWS, you
would enter:
COPYX DSN /SAMPLE/ B
■ Between Split Screens:
XCOPY copies all or part of a data set object from one split screen into the
active AWS of the screen containing the command.
XCOPYS and XCOPYX copy selected lines from the data set object
attached in one split screen into the active AWS of the screen containing
the command.
All of these commands allow you to limit the number of lines to be copied, as
in:
COPYS DSN /DATE-FIELD/ 9 18 1
which copies every line containing the string DATE-FIELD within lines 900
through 1800 of the currently attached data set object at or after line 100 in the
active AWS.
For additional information about using these commands, see Chapter 15,
“AWS: Copying Data Within and Into an AWS.”
The IMPORT command can be used to copy all or part of a specific data set
into the active AWS or a designated library member, without accessing the
data set first.
Note: When IMPORTing into the active AWS, the current AWS contents is
overlaid by the IMPORTed data.
The following example illustrates how you can use this panel to place one
copy of lines 1200 through 2500 of the data set TEST.SOURCE after line 500 of
the active AWS.
>
> DSN() SCRL FULL COLS 1 72
....+....1....+....2....+....3....+....4....+....5....+....
COPY DATA SET
OPTION ===> C
If any other form of Selection List is displayed, you can perform any of the
functions that are valid with that Selection List. When performing a copy
operation, type a C before the name of each entry in the list to be copied.
Then, tab to the STATUS field and enter a destination code. The destination
codes are:
* Copy after the line at which the AWS pointer is currently positioned.
v Copy at or after the line specified by v.
B Copy to the bottom of the active AWS.
R Replace the contents of the active AWS with the copied data.
T Copy to the top of the active AWS.
The following example illustrates how you can copy multiple data sets from a
Selection List.
>
> DSN() SCRL FULL COLS 1 72 LINE 1
....+....1....+....2....+....3....+....4....+....5....+....6..
==================================== T O P ===================
VOLSER UNIT DSNS DSCBS CONTG--CYL--AVAIL CONTG--TRK--AVAIL
STOR1 673 288 117 2 2 116 2
DATA SET NAME STATUS ORG RFM BLKSZ LRECL
C TEST.NEW PO FB 8
C TEST.NEW1 T PO U 12288 1
C TEST.NEW2 B PO FB 8
or, by entering the CM function code, data set name and volume containing it
on the Data Set Facility menu, as in the following example.
>
> DSN() SCRL FULL COLS 1 72
....+....1....+....2....+....3....+....4....+....5....+....6.
DATA SET FACILITY
FUNCTION ===> CM
>
> DSN() SCRL FULL COLS 1 72 LINE 1
....+....1....+....2....+....3....+....4....+....5....+....6..
==================================== T O P ===================
VOLSER UNIT DSNS DSCBS CONTG--CYL--AVAIL CONTG--TRK--AVAIL
STOR2 673 288 117 2 2 116 2
DATA SET NAME STATUS ORG RFM BLKSZ LRECL
TEST.ALPHA PO FB 8 8
TEST.BETA PO U 122 88 12288
CM TEST.SAMPLE PO FB 8 8
Your site management has the option of designating the utility program that is
to perform the compression processing. (As distributed, the IBM utility
IEBCOPY is used.) The designated data set must be eligible for compression
processing by that utility program. (See the description of the COMPRESS
command in the Advantage CA-Roscoe Interactive Environment Command Reference
Guide for a list of requirements.)
When the data set is compressed, messages are directed to a library member
named ZZZZZCMP. You can use the SET DSNCMLST command to designate
the type of messages you want written to that member.
The following example illustrates how you might establish SAMPLE as the
alias for the user catalog named CATALOG.TEST.
>
> DSN() SCRL FULL COLS 1 72
....+....1....+....2....+....3....+....4....+....5....+....6.
DEFINE DATA SET ALIAS
Notes:
■ The GDG must be cataloged in a catalog that is accessible to Advantage
CA-Roscoe.
■ Both the primary command and the function panel allow you to specify a
retention period. The retention period may be any date up to the 365th day
of the year 2155 at sites with MVS/XA SP2.2.0 or higher. At other sites, the
maximum retention period is the 365th day of the year 1999.
If you omit LIKE, other operands of this command can be used to define all of
the appropriate characteristics. These operands can also be used to override
specific characteristics of the model you have specified through LIKE. For
example, if you want to use all of the characteristics of TEST.GDG.OLD except
for the number of generation data sets that may be associated with the new
GDG, you might enter:
DEFINE GDG TEST.GDG.NEW LIKE TEST.GDG.OLD LIMIT 1
If you specify the name of an existing GDG when you request the panel, the
panel will contain that name and the characteristics associated with that GDG
(as illustrated in the following example). You can then change the GDG name
and make any other necessary changes. When you press the Enter key, the
GDG is defined.
>
> DSN() SCRL FULL COLS 1 72
....+....1....+....2....+....3....+....4....+....5....+....
DEFINE GENERATION DATA GROUP
FOR Enter the number of days for which the GDG is to be kept. It
must be a value between 0 and 9999.
TO Enter the date through which the GDG is to be kept.
■ FOR and TO are mutually exclusive.
They are ignored if a GDG is to be cataloged in a CVOL.
If an SMS-managed data set is to be created in an ICF
catalog, FOR or TO can be overridden by the
specifications in the data set's SMS management class.
The date can resolve to any date up to the 365th day of
the year 2155 at sites with MVS/XA SP2.2.0 or higher. At
other sites, the maximum retention period is the 365th day
of the year 1999.
You can also delete the following types of VSAM objects: ALIAS, AIX,
CLUSTER, GDGBASE, PAGESPACE and PATH.
Notes:
■ When deleting a data set or member/module through the Delete Function
Panel or a Selection List, you have the option of requesting that a Delete
Confirmation panel be displayed. You can control this option using the
ATTACH DSN command or the Data Set Facility menu.
– When CONFIRM DELETE is in effect, a Delete Confirmation panel is
displayed. This panel contains the name of each data set or
member/module you marked for deletion. You must confirm this
operation before it is performed.
– When CONFIRM DELETE is not in effect, the designated data set(s) or
member(s)/module(s) are deleted when you press the Enter key.
Note: CONFIRM DELETE is always in effect when you attempt to delete
all of the members comprising a PDS.
See 27.7.4, “Delete Confirmation Panels” on page 27-30 for
additional information.
■ When deleting a data set, an uncatalog operation is:
– Always performed for an SMS-managed data set.
– Performed for a non-SMS-managed data set if the data set to be
deleted is cataloged and the volumes on which it resides match those
specified in the catalog.
■ When deleting from a Selection List, data sets, members, or modules
having unconventional names (for example, member names containing
lowercase or non-displayable characters,) are deleted.
The following example illustrates how you can use this panel to delete a
password-protected data set named TEST.OLD that has an expiration or
retention date.
>
> DSN() SCRL FULL COLS 1 72
....+....1....+....2....+....3....+....4....+....5....+....
DELETE DATA SET
OPTION ===> D
The fields comprising this panel include:
OPTION Enter the code that is appropriate for the action you want to
perform. The codes are:
D Delete and uncatalog, if appropriate, the designated
data set.
S Delete the designated member/module.
X Delete all of the members comprising the designated
PDS. (The data set itself is not deleted.)
M Display a Selection List of members/modules. (Use the
field PGMR NAME, MODULE TYPE and LANGUAGE
to produce a qualified AllFusion CA-Librarian Selection
List.)
DATA SETS Enter the one- to 44-character fully qualified name of the data
set to be deleted. The name can be further qualified with:
dsnmem One- to eight-character PDS member or AllFusion
CA-Librarian module name.
v Relative generation number of the GDG data set to
be deleted, specified as 0 (most recent) or a minus
number (like -1).
DATA SETS
(cont.)
* Deletes all members of the PDS; the data set itself
is retained and a compress operation is performed.
VOLUMES Enter the one- to six-character serial number of the volume on
which the data set resides. One to six volumes can be
specified. This field is required if the data set is not cataloged.
UNIT NAMES Enter the one- to eight-character unit name associated with the
device type(s) on which the data set resides. It can be either
an IBM-defined generic name (like 3350) or a site-defined
esoteric name (like SYSDA). This field is required if the data
set is not cataloged and resides on a mass storage device.
ARCHIVE LEVEL
Enter the archive level of the AllFusion CA-Librarian master
file module to be copied. (The module must be in ARCHIE
format.) If omitted, the most current level of the module is
copied. The level can be specified as:
Lx Absolute level number (between 0 and 65535) as
reported on the AllFusion CA-Librarian Update
Report.
-y Relative level number between 0 and 255. The
current level is -0; -1 is one level older than the
current.
yymmddhhmmss 0
Date and time when the desired archive level was
current. An even number of digits (starting from
the right) can be omitted. Omitted digits are
assumed to have the highest values that are
consistent with the values of those digits that are
specified.
OVERRIDE RETPD
Designates whether the data set's retention or expiration date
is to be overridden by entering either:
YES Delete data set, regardless of its retention or
expiration date.
NO Delete data set only if the retention or expiration
date is passed.
Note: If omitted, the default is NO.
The following fields only have meaning when you specify the M option to
display a list of AllFusion CA-Librarian module names.
PGMR NAME Enter the one- to 15-character programmer name to be
used when selecting modules for inclusion in an AllFusion
CA-Librarian Selection List. Only those modules marked as
owned by the specified programmer are included in the
Selection List. If omitted, all modules are included.
MODULE TYPE Enter the type of modules to be included in a AllFusion
CA-Librarian Selection List by specifying one of the
following:
PROD0 Includes only those modules with PROD0
security status.
PROD1 Includes only those modules with PROD1
security status.
PROD2 Includes only those modules with PROD2
security status.
TEST Includes only those modules with TEST security
status.
LANGUAGE Enter the AllFusion CA-Librarian language code
designating the programming language type of the
modules that are to be included in an AllFusion
CA-Librarian Selection List.
The following example illustrates how you can delete multiple data sets from a
Selection List.
>
> DSN() SCRL FULL COLS 1 72 LINE 1
....+....1....+....2....+....3....+....4....+....5....+....6..
=================================== T O P ===================
VOLSER UNIT DSNS DSCBS CONTG--CYL--AVAIL CONTG--TRK--AVAIL
STOR1 673 288 117 2 2 116 2
DATA SET NAME STATUS ORG RFM BLKSZ LRECL
D TEST.NEW PO FB 8 8
TEST.NEW1 PO U 12288 12288
D TEST.NEW2 PO FB 8 8
Note: You cannot delete a password protected data set through a Selection
List. To delete such a data set, use the Data Set Facility menu or the
DELETE DSN command.
>
> DSN() SCRL FULL COLS 1 72
....+....1....+....2....+....3....+....4....+....5....+....
CONFIRM ==> ENTER (Y)ES TO CONFIRM DELETE
DATASET NAME CREATED VOLSER
TEST.NEW 12/19/85 STOR1
TEST.NEXT 1/3/84 STOR2
TEST.LAST 11/12/86 STOR1
>
> DSN() SCRL FULL COLS 1 72
....+....1....+....2....+....3....+....4....+....5....+....
CONFIRM ==> ENTER (Y)ES TO CONFIRM DELETE OF PDS DIRECTO
DSN: TEST.PDS.SAMPLE
CREATED: 11/1/88
VOLSER: STOR2
MEMBERS: 1
Finally, the following example illustrates the type of panel displayed when you
attempt to delete one or more PDS members or AllFusion CA-Librarian
modules.
>
> DSN() SCRL FULL COLS 1 72
....+....1....+....2....+....3....+....4....+....5....+....
CONFIRM ==> ENTER (Y)ES TO CONFIRM DELETE
TEST.CURRENT CREATED: 9/29/1986 VOLSER: STOR1
MEMBER LAST MODIFIED
BADJCL 4/5/88 9:12
WIDGET 7/2/86 16:4
To delete the entries, enter either YES or Y in the CONFIRM field. Entering
any other value in this field terminates the operation. (You will be returned to
the Delete Function panel or the previous Selection List. The STATUS field of
that Selection List will contain *DENYDEL.)
or, specifying the I function code and data set name on the Data Set Facility
menu, as in the following example.
>
> DSN() SCRL FULL COLS 1 72
....+....1....+....2....+....3....+....4....+....5....+....6.
DATA SET FACILITY
FUNCTION ===> I
>
> DSN() SCRL FULL COLS 1 72 LINE 1
....+....1....+....2....+....3....+....4....+....5....+....6.
=================================== T O P ===================
SEARCH ARGUMENT MATCHES CATALOG NAME TYPE
TEST..SOURCE 6 CATALOG.UMUROS1 ICF
DATA SET NAME STATUS TYPE VOLUME DEVICE
TEST.SAMPLE1.SOURCE NONVSAM STOR1 338
I TEST.SAMPLE2.SOURCE NONVSAM STOR1 338
TEST.SAMPLE3.SOURCE ALIAS
================================ B O T T O M ================
>
> DSN() SCRL FULL COLS 1 72
....+....1....+....2....+....3....+....4....+....5....+....6.
DATA SET INFORMATION
DATA SET ===> ROSCOE.CREATE.PDSE
ENTRY TYPE ===> NONVSAM
MGMTCLAS ===> SMS
STORCLAS ===> SMS
VOLUMES ===> SMS1
DEVTYPE ===> 338
SEQ NO ===>
DATACLAS ===>
DSNTYPE ===> LIB
UNITS Allocation unit type, shown as: ABS, BLK, BYT, CYL,
KB, MB or TRK.
1ST EXTENT Number of allocation units in the first extent.
SECONDARY EXTENT
Number of allocation units for each subsequent extent.
CREATED Creation date.
ACCESSED Date last referenced (for example, data set opened).
EXPIRATION Expiration date.
or, specifying the I function code and volume serial number on the Data Set
Facility menu, as in the following example.
>
> DSN() SCRL FULL COLS 1 72
....+....1....+....2....+....3....+....4....+....5....+....6.
DATA SET FACILITY
FUNCTION ===> I
>
> DSN() SCRL FULL COLS 1 72 LINE 1
....+....1....+....2....+....3....+....4....+....5....+....6.
=================================== T O P ===================
VOLUME UNIT TYPE MATCHES
STOR+ 338 PRIVATE 2
VOLUME STATUS UNIT DEVTYPE CONTG--CYL--AVAIL CONTG--TRK
I STOR1 41 338 1 1 15
STOR2 4 338 2 13 31
================================ B O T T O M ================
>
> DSN() SCRL FULL COLS 1 72
....+....1....+....2....+....3....+....4....+....5....+....6.
VOLUME INFORMATION
TOTAL TRACKS ON VOLUME => 2655 MAXIMUM BLOCK SIZE => 3276
TOTAL TRAKS USED => 26239 TRACK SIZE => 47968
PERCENT OF VOLUME USED => 96 TRACKS PER CYLINDER => 15
──┬───┬──┬──────┬──┬────┬────────────────────
└─x─┘ └─-yyy─┘ └─-z─┘
When the data are scheduled for printing, a message is displayed. It contains
the printing location, tag (if specified) and print request number assigned by
Advantage CA-Roscoe. Once scheduled, all references to a specific print
request must be by its tag or number.
All of the operands of the PRINT command can be used when printing
attached data. For example, to print only lines 5 through 25 of the currently
attached data, you would enter:
PRINT DSN 5 25
Note: See Chapter 7, “Printing Data” for additional information about the
PRINT command, and how requests can be monitored and controlled.
The following example illustrates how you can use this panel to print a copy
of TEST.SAMPLE.SOURCE.
>
> DSN() SCRL FULL COLS 1 72
....+....1....+....2....+....3....+....4....+....5....+....6...
PRINT DATA SET
OPTION ===> P
You can use the following fields to customize the print operation.
1ST LINE Enter the number of the line at which the print operation is
to begin. If omitted, the first line is assumed.
LAST LINE Enter the number of the last line to be included in the print
operation. If omitted, the end of the data set object is
assumed.
While Selection Lists do not contain line numbers, treat
them as though they are numbered from 1 by 1.
NOTIFY Designate whether you want an RPS notification message
displayed when this data are printed by specifying either:
YES Display notification message.
NO Do not display message.
If omitted, the site defined value is used. Site management
has the option of prohibiting the use of NOTIFY.
TAG NAME Enter the name to be assigned to the print request. The
name cannot exceed eight characters, must start with an
alphabetic character and be bound by apostrophes (').
SEPARATOR Designate whether separators are required by specifying
either:
YES Separators are required.
NO Separators are not required.
The default is site-defined.
CHEX
Format each line with offsets and hexadecimal data to
the right of the line.
VHEX
Format each line in character data with hexadecimal
data shown vertically below.
TOP MARGIN v (Recognized only with TYPE DEF.) Enter the number of
blank lines to be skipped from the top of the page before
printing begins. v can be 0 through 99. The default is
site-defined.
BOT MARGIN v (Recognized only with TYPE DEF.) Enter the number of
blank lines to be skipped at the bottom of the page. v can
be 0 through 99. The default is site-defined.
1ST COL Number of the column where the print operation is to
start. The value must be between 1 and the maximum
length of the line. If omitted, the default is 1.
LAST COL Number of the column where the print operation is to
stop. The value must be greater than the starting column
and not exceed the maximum line length. If omitted, the
maximum line length is assumed. (The maximum line
length of data set objects is 32,767.)
To print one or more entries, type a P before the name of each entry. By
default, the request will print at the printing location assigned for the terminal
you are using. To print at a different location, tab to the STATUS field and
enter the appropriate destination name.
The following example illustrates how you can print multiple entries from a
Selection List.
>
> DSN() SCRL FULL COLS 1 72 LINE 1
....+....1....+....2....+....3....+....4....+....5....+....6..
==================================== T O P ===================
VOLSER UNIT DSNS DSCBS CONTG--CYL--AVAIL CONTG--TRK--AVAIL
STOR1 673 288 117 2 2 116 2
DATA SET NAME STATUS ORG RFM BLKSZ LRECL
P TEST.NEW PO FB 8
TEST.NEW1 PO U 12288 1
P TEST.NEW2 PR99 PO FB 8
In the preceding example, the data set TEST.NEW will print at the terminal's
default printing location. The data set TEST.NEW2 will print at the location
identified (in the STATUS field) as PR99.
or, by entering the RL function code and data set name on the Data Set Facility
menu, as in the following example.
>
> DSN() SCRL FULL COLS 1 72
....+....1....+....2....+....3....+....4....+....5....+....6.
DATA SET SELECTION MENU
FUNCTION ===> RL
>
> DSN() SCRL FULL COLS 1 72 LINE 1
....+....1....+....2....+....3....+....4....+....5....+....6..
==================================== T O P ===================
VOLSER UNIT DSNS DSCBS CONTG--CYL--AVAIL CONTG--TRK--AVAIL
STOR1 673 288 117 2 2 116 2
DATA SET NAME STATUS ORG RFM BLKSZ LRECL
RL ABC.TEST.ASM PO FB 8 8
ABC.TEST.LOAD PO U 12288 12288
ABC.TEST.OBJECT PO FB 8 8
You can also rename the following types of VSAM objects: AIX, CLUSTER,
DATA, INDEX, PAGESPACE, and PATH.
Notes:
■ The volumes where the data set resides must be mounted and online.
■ A recatalog operation is:
– Always performed for an SMS-managed data set.
– Performed for a non-SMS-managed data set if the data set to be
renamed is cataloged and the volumes on which the rename is
performed match those specified in the catalog.
The following example illustrates how you might use this panel to rename a
member of a password-protected data set.
>
> DSN() SCRL FULL COLS 1 72
....+....1....+....2....+....3....+....4....+....5....+....
RENAME DATA SET
OPTION ===> S
The fields comprising this panel include:
OPTION Enter the code that is appropriate to perform the desired
action. The codes are:
R Rename a data set.
S Rename a single member/module.
M Display a Selection List of members/modules. (Use
the field PGMR NAME, MODULE TYPE and
LANGUAGE to produce a qualified AllFusion
CA-Librarian Selection List.)
DATA SET Enter the one- to 44-character fully qualified name of the
data set to be renamed. The name may be qualified with:
dsnmem One- to eight-character PDS member or
AllFusion CA-Librarian module name.
DATA SET
(cont.)
v Relative generation number of the GDG data set
to be renamed, specified as 0 (most current) or a
minus number (like -1).
VOLUMES Enter the one- to six-character serial number of the volume
on which the data set resides. One to six volumes can be
specified. VOLUMES is required if the data set is not
cataloged.
UNIT NAMES Enter the one- to eight-character unit name associated with
the device type(s) on which the data set is to be allocated.
It can be either an IBM-defined generic name (like 3350) or
The next three fields only have meaning when you specify the M option to
display a list of member/module names.
PGMR NAME Enter the one- to 15-character programmer name to be used
when selecting modules for inclusion in an AllFusion
CA-Librarian Selection List. Only those modules marked as
owned by the specified programmer are included in the
Selection List. If omitted, all modules are included.
MODULE TYPE
Enter the type of modules to be included in a AllFusion
CA-Librarian Selection List by specifying one of the following:
PROD0 Includes only those modules with PROD0 security
status.
>
> DSN() SCRL FULL COLS 1 72 LINE 1
....+....1....+....2....+....3....+....4....+....5....+....6..
==================================== T O P ===================
DATA SET NAME VOLSER MEMS ORG RECFM BLKSZ LRECL
TEST.OLD1 STOR1 3 PO U 12288 12288
MEMBER STATUS --------------- ATTRIBUTES --------------
To rename one or more data sets, use the R function code. Since the STATUS
field is not large enough to hold a 44-character data set name, all of the data
sets that you marked will be presented to you through a subordinate panel
(such as the one illustrated in the following example). To rename a data set,
overtype the second occurrence of the old name with the new name.
>
> DSN() SCRL FULL COLS 1 72
....+....1....+....2....+....3....+....4....+....5....+....
ENTER NEW DATASET NAME ON LINE FOLLOWING OLD DATA SET NAME
DATASET NAME CREATED VOLSER
TEST.OLD 12/11/84 STOR2
TEST.NEW
TEST.OLD1 1/3/86 STOR1
TEST.NEW1
TEST.OLD2 11/15/85 STOR1
TEST.NEW2
or, specify the UC function code and data set name on the Data Set Facility
menu, as shown in the following example.
>
> DSN() SCRL FULL COLS 1 72
....+....1....+....2....+....3....+....4....+....5....+....6.
DATA SET FACILITY
FUNCTION ===> UC
You can also specify the UC code on a VTOC Selection List, as in the following
example.
>
> DSN() SCRL FULL COLS 1 72 LINE 1
....+....1....+....2....+....3....+....4....+....5....+....6..
==================================== T O P ===================
VOLSER UNIT DSNS DSCBS CONTG--CYL--AVAIL CONTG--TRK--AVAIL
STOR1 673 288 117 2 2 116 2
DATA SET NAME STATUS ORG RFM BLKSZ LRECL
ABC.TEST.ASM PO FB 8 8
ABC.TEST.LOAD PO U 12288 12288
UC ABC.TEST.NEW PO FB 8 8
Using EXPORT: Use the EXPORT command to write data to an existing data
set. If the data are in:
■ The active AWS, you need only specify the name of the data set that is to
receive the data, as in:
EXPORT DSN=TEST.STAT
where the contents of the active AWS will replace the data in the
sequential data set named TEST.STAT.
The following example displays the type of confirmation message you
would receive after issuing this command, assuming that SET MSGLEVEL
INFO is in effect.
>
>
>....+....1....+....2....+....3....+....4....+....5....+....6
EXP6 25 RECORDS WRITTEN TO DATA SET
TEST.STAT
ON VOLUME STOR3
EXP69 SUCCESSFUL EXECUTION OF EXPORT
■ A Library Member, use the INPUT= operand to name the desired member,
as in:
EXPORT DSN=TEST.STAT INPUT=INDATA
where the contents of TEST.STAT are replaced by the contents of the
member INDATA.
■ The active AWS and one or more library members, use the INPUT=
operand and the *, as in:
EXPORT DSN=TEST.STAT INPUT=INDATA//ABC.MORE
The asterisk (*) indicates where contents from the active AWS are to be
placed in the input. A maximum of ten different input sources can be
specified and can be any combination of the AWS contents and library
members. Note that if any of the members belong to another user, that
individual's prefix must be specified.
You can use the SET STATS command to control the SPF directory
information that is placed in the directory entry whenever a member is
added or updated.
■ Write to an uncataloged data set by including the serial number with the
VOL= operand, as in:
EXPORT DSN=TEST.SOURCE(PROG5) VOL=SHAR1
■ Add to the end of an existing data set by specifying MOD with the DISP
operand, as in:
EXPORT DSN=TEST.PROJ,DISP=MOD
where the contents of the active AWS is added to the end of the original
contents of the data set.
You can also use the EXPORT command to write data to an existing AllFusion
CA-Librarian master file or to an existing AllFusion CA-Panvalet member. For
more information about EXPORTing, see the Advantage CA-Roscoe Interactive
Environment Command Reference Guide.
Using EDSN: Use the EDSN command to edit a data set by establishing a data
set editing session.
■ If you do not specify any operands, as in:
EDSN
the Edit Data Set Facility, as shown in the following example, is displayed.
<...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+..
EDIT DATASET FACILITY
FUNCTION ===>
You can only perform two functions from this panel: Edit or Terminate. To
edit a data set, specify E in the FUNCTION field and the appropriate data
set name in the DATA SET field. If a volume, unit, password, or archive
level are required, you will be prompted accordingly. Edit (E) will begin
the data set editing session, and the specified data set will be attached in a
modifiable AWS.
■ If you specify a data set name with the command, as in:
EDSN TEST.STAT
the data set will be displayed in your AWS.
Once the data set is displayed, you can edit it using Advantage CA-Roscoe
editing conventions. (See Chapter 14, “AWS: Changing Data Within an AWS”
for information about editing and manipulating data within an AWS.)
Executing a command that causes output to the Execution Area (for example,
ATTACH LIB) or pressing the CLEAR key places the Data Set Editing Facility
in a 'pending' state. The data set can be edited again at any time by issuing:
EDSN
When you have completed editing the data set, save the data by entering:
SDSN
The data set will be saved (or updated if it already exists) and the editing
session will be discontinued. If you do not want to save the data set, enter:
CDSN
The Data Set Edit Facility remains active until explicitly deactivated using the
SDSN or CDSN commands, selecting X from the Edit Data Set Facility panel,
or until the Advantage CA-Roscoe session is ended. For complete information
about the EDSN, CDSN, and SDSN commands, see the Advantage CA-Roscoe
Interactive Environment Command Reference Guide.
The following example assumes the JCL to be checked is in the active AWS.
The resulting display shows the error messages provided after the JCK
command is executed.
JCK
>
> AWS( ) SCRL FULL COLS 1 72
> <...+....1....+....2....+....3....+....4....+....5.
...... ================================ T O P ============
1 //STARTJCL JOB 25,ROBERTS,CLASS=X
2 // MSGCLASS=A
3 //COB EXEC PGM=IKFCBL
4 //SYSLIN DD DSN=&&LOADSET,DISP=(,PASS),
5 // UNIT=SYSDA,SPACE=(TRK,(5,5))
6 //SYSPRINT DD SYSOUT=A
7 //SYSUT1 DD UNIT=SYSDA,SPACE=(CYL,4,4)
8 //SYSUT2 DD UNIT=SYSDA,SPACE=(CYL,(4,4))
9 //SYSUT3 DD UNIT=SYSDA,SPACE=(CYL,(4,4))
1 //SYSUT4 DD UNIT=SYSDA,SPACE=(CYL,(4,4))
11 //SYSIN DD
============================= B O T T O M ========
>
>
....+....1....+....2....+....3....+....4....+....5....+....
// MSGCLASS=A
CAY66S VERB 'MSGCL' IS UNKNOWN
//SYSLIN DD DSN=&&LOADSET,DISP=(,PASS),
UNIT=SYSDA,SPACE=(TRK,(5,5))
CAY687W BLKSIZE NO SPECIFIED FOR NEW OR DUMMY DATA SET -
POTENTIAL S13 IN EXECUTION
//SYSUT1 DD UNIT=SYSDA,SPACE=(CYL,4,4)
CAY648E '4' IS ILLEGAL OPERAND FOR 'RLSE' PARAMETER OF
'SPACE'
| By default the messages are normally written to the screen. However, the
| messages can be routed to the active AWS as shown following:
| JCK-A
| or
| RUN JCK-A member
| Note: Original JCL must be saved prior to the use of JCK-A and Run JCK-A
| member as it will destroy the current copy.
By site option, you can receive JES2 or JES3 messages at your terminal when
your job completes execution. If your site permits this notification, your site
management will tell you what change needs to be made to the JOB statement
in your JCL.
If the data has the attribute SEQ, you can use the SET SUBMIT command to
control whether sequence numbers are included, where:
■ SET SUBMIT NOSEQ excludes sequence numbers.
■ SET SUBMIT SEQ places sequence numbers in the location defined by the
data's sequence number attribute.
If you submit data without specifying the SET SUBMIT command and the data
are in:
■ The active AWS; the AWS sequence attribute controls whether sequence
numbers are to be included.
Use the SEQ or NOSEQ command to change the sequence attribute of the
active AWS. NOSEQ suppresses the insertion of sequence numbers, while
SEQ specifies that sequence numbers are to be included and designates the
location of those sequence numbers.
■ A library member; the member's sequence attribute controls whether
sequence numbers are to be included.
The following table summarizes how you can control sequence numbers in
submitted jobs.
──+INC──┬─AWS───────────┬─────────────────────────────────
└──┬──────┬─mem─┘
└─pfx.─┘
where:
AWS Includes the contents of the active AWS.
mem Name of the library member whose contents is to be included.
If the member belongs to another user, that individual's prefix
must be included.
The data being submitted (like the active AWS and library members) can
contain any number of +INC statements. It can even contain only +INC
statements, as in:
+INC LEADJCL
+INC MYPROG
+INC ENDJCL
The included data can contain +INC statements. You are allowed 64 levels
of +INC nesting.
■ Enabling Expansion:
The SET SUBMIT command controls whether +INC statements are to be
expanded when the job is submitted.
To have +INC statements expanded (for example, to include the library
member or active AWS contents), specify the INCLUDE operand with SET
SUBMIT before issuing the SUBMIT command, as in:
SET SUBMIT INCLUDE
SUBMIT
Once you have enabled expansion, it remains in effect until you disable it
or terminate your session.
You can disable +INC expansion by specifying:
SET SUBMIT NOINCLUDE
Once you identify the AllFusion CA-Librarian master file to be used, it remains
in effect until you:
■ Specify another master file
■ Disable expansion
■ Terminate your session
It can also be used to execute operator commands and check the system
console.
If you enter this command with no operands, the Job Facility primary menu is
displayed.
You can include a job name and job number with the AJOB command to
qualify the job display.
When you are viewing job output, you can redisplay the primary menu at any
time by entering:
SELECT MENU
To end AJOB processing, select the function X (TERMINATE) from the main
menu.
The CLEAR key will discontinue AJOB processing from any Job Facility panel
or display from which it is pressed (with the exception of a CONSOLE display
caused by a command from the OPERATOR COMMAND panel). It leaves the
most recent job attached that had been selected for viewing.
<...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....
JOB FACILITY
FUNCTION ===>
The fields comprising this menu include:
FUNCTION The job function to be performed. Specify one of the
codes listed on the bottom of the menu. (See 28.3.2,
“Using Job Facility Functions” on page 28-11 for a
complete description of each function.)
JOB/GRP NAME The specific name or prefix (wildcard) of job(s) to be
included in the selected function.
JOB NUMBER Number of the job. Must be numeric or left blank.
FILE NUMBER Number of the file to qualify the selected display. Must
be numeric or Last; if no value is specified, a value of 1
is used.
PAGE NUMBER Number of the page to qualify the selected display.
Must be numeric or Last; if no value is specified, a value
of 1 is used.
LINE NUMBER Line number of job data to qualify the selected display.
Must be numeric or Last; if no value is specified, a value
of 1 is used.
DEST/CLASS The printer destination used in the PRINT JOB function,
or class of jobs displayed by the ATTACH JOB function.
ACTIVE JOB TYPE The qualification to show active TSO jobs (TSO), active
tasks submitted through JES (JES), active started tasks
(STC), or all active jobs (ALL) displayed for the
ATTACH JOB function. A value here causes the
JOB/GRP NAME value to be ignored.
CONTROL CHARS Specifies whether control characters are included when a
job is attached, copied, or printed. A default of NO is
used when the AJOB facility is initially invoked.
CONFIRM CANCEL
Specifies whether a confirmation panel is displayed for
any jobs selected for cancel. A default of YES is used
when the AJOB facility is initially invoked.
The following table lists each function code and its corresponding description
and action.
---------------------------------------------------------------------------
A - ATTACH C - COPY L - LAST FILE S - STATUS
AT - ALTER CN - CANCEL P - PRINT NN - NTH FILE
PF1/13: MENU PF3/15: EXIT PF7/19: BACK
The fields comprising the job selection list can be used to change or further
qualify the display, and include:
FUNCTION requires M, F, B, or X; M invokes the Primary Menu; X will
discontinue AJOB processing (exits to Advantage
CA-Roscoe); F will cause a scroll forward for a large display;
B will cause a scroll backward for a large display; F and B
are retained in this slot for subsequent scrolling by hitting
the Enter key; Any other value redisplays the screen with
new information (beginning with the first job).
The PF key numbers listed at the bottom of the display will
achieve the same result as the functions.
JOB NAME The name or prefix of jobs shown in the display. It can
include a wildcard character. Users can change this value to
show jobs with a different job name or job prefix. (This slot
shows no value and is unmodifiable if the ATTACH
INITIATORS selections was made from the Primary Menu.)
FILE Number of the file within the job to qualify the function
request. Must be numeric or Last; if no value is specified, a
value of 1 is used.
PAGE Number of the page within the job to qualify the function
request. Must be numeric or Last; if no value is specified, a
value of 1 is used.
LINE Line number within the job to qualify the function request.
Must be numeric or Last; if no value is specified, a value of 1
is used.
You can manipulate the jobs in the selection list by using the line commands
displayed at the bottom. Specify the following codes in the field to the left of
a job to invoke the corresponding service (multiple selections may be made):
A ATTACH this job using the FILE, PAGE, or LINE values appearing in
their respective locations.
AT Present the ALTER JOB panel for the corresponding job.
C Present the COPY JOB panel for the corresponding job.
CN Present the CANCEL JOB confirmation panel for the corresponding job
if CONFIRM CANCEL is YES on the Primary Menu; or cancel the job
with no confirmation if CONFIRM CANCEL is NO on the Primary
Menu.
L ATTACH JOB LAST FILE for this job using PAGE, or LINE values
appearing in their respective locations. The value appearing in the FILE
===> slot is ignored, and is reset to LAST for subsequent displays of
this panel.
P Present the PRINT JOB panel for the corresponding job.
S ATTACH the corresponding job using the STATUS JOB display.
NN ATTACH JOB FILE NN for the corresponding job using PAGE or LINE
values appearing in their respective locations; The value appearing in
the FILE field is ignored, and is reset to this value for subsequent
displays of this panel.
Notes:
When you issue selections A, L, S, and NN, the AJOB facility is placed in a
suspended display state (you will see PGM(xx.AJOB) appearing on the
Advantage CA-Roscoe status line) and the following is true:
■ The job is attached and Advantage CA-Roscoe commands can be issued on
the command line to do any job or non-job processing.
■ RPFs are NOT SUPPORTED while AJOB is in this state.
■ The SCREEN command is NOT SUPPORTED while AJOB is in this state.
■ PF keys set to SPLIT, SWAP, and END will not be recognized, however,
issuing the corresponding :S or :W commands on the command line and
pressing PF12 will cause the SPLIT and SWAP functions to take place.
To invoke the Operator Control display from the Job Facility menu, enter the
code OP in the FUNCTION field. The following example illustrates this.
<...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....
JOB FACILITY
FUNCTION ===> OP
When you select the OPER CONTROL function, the Operator Control panel
will be displayed. From this panel, you can:
■ Execute CONSOLE commands using the CMD and CMM subcommands.
<...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....
OPERATOR CONTROL
COMMAND ===>
- OR -
LIB MEMBER ===>
This chapter describes how to monitor the status of a job using the AJOB
command or the DISPLAY command.
■ AJOB enables you to display a job menu or selection list. From these
displays you can select functions to determine the status of a job and
obtain information regarding it.
■ DISPLAY can be used to directly monitor the status of a job.
| Note: Advantage CA-Roscoe supports the six-digit job number support added
| with z/OS JES2/JES3 1.2.
>
>
....+....1....+....2....+....3....+....4....+....5....+....6....+...
JOBNO JOBNAME STATUS C PRTY SID ORIGIN STEP/LINE HELD CPUTIME
----- ------- ------------ - ---- ---- ------ --------- ---- -------
285 COMPILE AWAIT PRT(H) 1 SYSH R1
4678 COMPILE EXEC ::2 X 6 SYSH R1 LINKMOD 1.44
5232 COMPILE AWAIT EXEC X 6 SYSH R1 QPOS(18) YES
The information displayed above can be displayed using the Job Facility. Enter:
AJOB COMPILE
---------------------------------------------------------------------------
A - ATTACH C - COPY L - LAST FILE S - STATUS
AT - ALTER CN - CANCEL P - PRINT NN - NTH FILE
PF1/13: MENU PF3/15: EXIT PF7/19: BACK
■ All jobs containing your prefix in the site-designated location of the job
name. Enter:
DISPLAY or AJOB
If your site requires your Advantage CA-Roscoe prefix to be part of the job
name, the resulting display shows the status of all jobs that contain your
prefix in the designated location.
■ All jobs beginning with specific characters. For example,
DISPLAY ROS+ or AJOB ROS+
displays status information about all job names beginning with ROS. (The
plus sign (+) indicates that additional characters may follow those
specified.
■ All jobs that contain specific characters in a specific location. For example,
entering:
DISPLAY MASK=R*SC*E or AJOB R*SC*E
might display the status of jobs named ROSCOE or RASCAE. (The
asterisk (*) represents any character that is valid in a job name. See 28.3.1,
“Wildcard Characters” on page 28-11 for information on using wildcard
characters in job names.)
■ Any job whose name matches a DISPLAY subcommand, as in:
DISPLAY JOB=QUEUE
to display information about all initiators used by the operating system and
the names and number of executing jobs.
You can also specify: AJOB INIT and receive the same result.
<...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....
JOB FACILITY
FUNCTION ===> I
<...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....
JOB INFORMATION
The first four fields of the Job Information panel are variable. They contain the
name and number of the job you entered on the primary menu. If you want to
display a different job, you must change the following job information:
The remaining fields display information specific to the job you have indicated.
The screen will be automatically refreshed according to the value you specify
in the REFRESH INTERVAL field.
To exit this panel, select the option X (EXIT). You will be returned to the Job
Facility main menu.
If there are multiple jobs with the same name, include the number of the job
you want to examine, as in:
ATTACH JOB SAMPLE 285
| Note: Advantage CA-Roscoe supports the six-digit job number support added
| with z/OS JES2/JES3 1.2.
If you do not include a job number, the first available job is selected and
attached.
You can also attach a job by specifying just its job number, as in:
ATTACH JOB 285
When a job is attached, the display begins with the first line of the first file.
The files are presented to you in a format that is similar to a hard-copy listing.
For example, assume that the job SAMPLE compiles, link-edits and executes a
COBOL program in an MVS/JES2 environment. Its output is divided into the
following files:
File 1 JES2 job log.
File 2 Listing of JCL statements.
File 3 Allocation and condition code messages.
File 4 Listing produced by the COBOL compiler.
File 5 Listing produced by the linkage editor.
File 6 Output produced by the COBOL program.
You can begin the display at any location within the job by including the
number of the appropriate file, page or line with the ATTACH JOB command.
For example, to begin the display of the job SAMPLE with the tenth line on
the second page of the third file, enter:
ATTACH JOB SAMPLE FILE 3 PAGE 2 LINE 1
To attach a job from the Job Facility menu, enter the code A in the function
field and the appropriate job name in the JOB/GRP NAME field. The
following example illustrates this.
<...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+...
JOB FACILITY
FUNCTION ===>A
To attach a job from a job selection list, enter the code A in the command field
on the far left, next to the job to be attached. The following example illustrates
this.
---------------------------------------------------------------------------
A - ATTACH C - COPY L - LAST FILE S - STATUS
AT - ALTER CN - CANCEL P - PRINT NN - NTH FILE
PF1/13: MENU PF3/15: EXIT PF7/19: BACK
30.1.1.3 When Can a Job be Viewed?
Your site management will tell you what special SYSOUT class(es) they have
established.
The following example assumes the site has defined T and H as special
SYSOUT classes. As illustrated, you can specify one of the special SYSOUT
classes with the individual DD statements or with the MSGCLASS= operand
on the JOB statement. (DD statements containing SYSOUT=* use the SYSOUT
class specified with MSGCLASS=.) Notice that two of the SYSPRINT files are
directed to class T while the third is directed to class H.
>
> AWS() SCRL FULL COLS 1 72
>....+....1....+....2....+....3....+....4....+....5....+....6
==================================== T O P =================
30.1.1.5 What Is the Current Status of the Submitted Job?
Unless restricted by site management, any user can attach any job.
– Job Disposition: If you issue the DETACH JOB command, the job is
released. Other users will be notified the next time they press the Enter
key or use a PF key to scroll.
■ If you are not the first person to attach the job, you cannot change the
disposition of the job's files or release the job.
If you attempt to change the disposition of a file, you will receive a
message indicating the user who has control. If the message does not
identify a specific user and you detach and then attach the job, you may
get control of the job.
With this form of the command, all files from the hold queue are released and
all user-assigned NOTE names are deleted. Each file is disposed of according
to its PRINT/NOPRINT status. (Files marked PRINT are routed to the
appropriate printer; files marked NOPRINT are deleted.)
If you are the first person to attach the job and you release it, the job is
released. Other users are notified the next time they press the Enter key or use
a PF key to scroll.
If you execute a command that causes output to the Execution Area (like
ATTACHing an AWS) or if you press the CLEAR key, the attached job is
placed in a pending state and can be reattached at any time.
If you are using the Job Facility, you can detach a job from the Alter Job/File
Attributes panel. Select the function AT from either the Job Facility menu, or
from a job selection list. This will display the Alter Job/File Attribute panel.
Note: See 30.3.1.2, “Using the Job Facility” on page 30-17 for more
information about the Alter Job panel.
From the Alter Job display, you can select the options DETACH (DJ) or
DETACH HOLD (DH). Enter the appropriate code in the OPTION field and
the corresponding job name in the JOB NAME field and press ENTER. The
request will then be issued.
The DETACH commands can also be issued while the Job Facility is in a
suspended state.
While this description assumes you are locating strings that are in character
format, you can also locate the hexadecimal representation of a string. See the
section, 30.2.2.3, “Customizing the Operation” on page 30-10 for details.
You can use the following commands to find and display specific occurrences
of a string within the currently attached file.
FIRST Locate the first occurrence of a string.
NEXT Locate the next occurrence of a string.
LAST Locate the last occurrence of a string.
PREV Locate the previous occurrence of a string.
The first occurrence of the string DIVISION in the currently attached file will
be the first line of the resulting display.
To find the last occurrence of the same string, all you need enter is:
LAST
Once you have specified a search string, it is remembered and used with any
subsequent EXCL, FIRST, INCL, LAST, NEXT or PREV command that does not
include a string.
By default, the entire file (for example, the full length of every line) is searched
for your string. You can include column and line numbers with the command
to qualify the search for a single operation. For example:
NEXT 1 3 SAMPLE
examines columns 10 through 30 for the next occurrence of SAMPLE. After the
command executes, the defaults are reestablished. To change the column
boundaries for the remainder of your session, use the SET BOUNDS command.
(See Chapter 4, “Defining Column Boundaries” for additional information.)
By including a value after the string, you can limit the search to a specific
number of lines. For example, to find the last occurrence of SAMPLE within
the last 200 lines of currently displayed data, you would enter:
LAST SAMPLE 2
You can use the INCL command to display every occurrence of a particular
string within a given number of lines. For example, to find every occurrence of
the string TEST-DATA in the next 100 lines of the currently displayed data,
you would enter:
INCL TEST-DATA 1
If you do not specify a number, the site-defined number of lines are searched.
(You can use the SET JOBCNT command to establish your own search limit.
See the Advantage CA-Roscoe Interactive Environment Command Reference Guide
for details.)
You can also also limit the search for the character string to particular
columns. For example, if you want to display every line that does not contain
the string TEST-DATA in columns 30 through 80, you would enter:
EXCL 3 8 TEST-DATA
If the number of lines to be displayed exceeds the size of your terminal screen,
press one of the PF keys to which a scrolling function is assigned. The INCL or
EXCL operation resumes scanning for the previously specified string (for
example, TEST-DATA). The direction of the scan depends on the value
assigned to the PF key. (The search string is remembered for subsequent use;
column number limits and line number limits apply only to the command with
which they are specified.)
Note: Column boundaries specified with the command affect only the
execution of that command. See Chapter 4, “Defining Column
Boundaries” for information about changing boundaries for the
terminal session.
If you determine that you want to see the data that follows a particular line,
use:
■ The cursor positioning keys to move the cursor to the appropriate line and
then press the Enter key, or
■ The POINT command. For example, if an EXCL display includes line 150
and you want to display the lines following it, you would enter:
POINT LINE 15
The resulting display will begin with line 150.
Doing either of these actions or entering any primary command terminates the
INCL/EXCL operation.
The current setting of the SET MODE command determines how the string
specified with FIRST, NEXT, LAST, PREV, INCL or EXCL is to be treated. See
Chapter 3, “Controlling Character Recognition” for additional information.
In all of the examples used thus far, the search string has not been delimited.
With these commands, delimit the string only when it:
■ Includes a space (like FIRST /TEST DATA/),
■ Is a numeric (like NEXT /519/), or
■ Is the same as a keyword operand or operand abbreviation of the
command (like INCL /JOB/).
and you want to search for the string THE. Without qualification, the words
THE, BROTHER and THEIR match the search string.
By including a qualifier, you can designate the type of string match that is to
occur, as in:
THE WORD Qualifies the string as a word; only THE matches.
THE PREFIX Qualifies the string as beginning a word; only THEIR matches.
THE BEGIN Qualifies the string as beginning or being a word; THE and
THEIR match.
THE EMBED Qualifies the string as contained within a word; OTHER and
BROTHER match.
TEST END Qualifies the string as ending or being a word; only
CONTEST matches.
TEST SUFFIX Qualifies the string as ending a word; only CONTEST
matches.
When using the primary commands FIRST, LAST, NEXT, PREV, INCL or
EXCL, you do not need to delimit the hexadecimal string.
If a line containing (or not containing) the search string is found, it becomes
the first displayed line of the resulting display. By specifying a screen
positioning operand with the command, you can control how the display is
positioned. The screen positioning operands are:
CJUSTIFIED The display margins are to be altered if the entire matching
string does not fall within the current margin. (This is the
default positioning.)
JUSTIFIED The display margins are always to be altered so that the first
character of the string begins in the left-most position of the
line.
CENTERED The display margins are to be altered to center the matching
string on the line. If centering would cause an invalid left
margin (for example, less than 1), the display is not altered.
LOCKED The display margins are not to be altered even if the matching
string occurs to the left or right of the current margins.
The files comprising your job are presented to you individually. For example,
assume you are currently viewing a file and now want to view the next
sequential file, you can do this by entering:
NEXT FILE
Note: You can display a list of the files in your job by issuing the STATUS
JOB command.
When using these commands to locate a string, once you have specified the
object of your search (like FILE in this case), it is remembered. To return to the
previous file, you only need enter:
PREV
You can also use the POINT command to position to a specific file. For
example, to view the fifth file in your job, enter:
POINT FILE 5
If you want to begin the display with the second page of the fifth file, you
would enter:
POINT FILE 5 PAGE 2
Caution:
The number of the currently displayed file and page are shown above the
Scale Line to assist you in keeping track of your location within your job
output.
If the contents of the file you are viewing exceeds the number of lines in your
terminal screen, you can position the display within the file by:
■ Pressing any of the scrolling PF keys.
■ Using the FIRST, NEXT, LAST and PREV commands with the PAGE or
LINE keyword operand. For example, to position the display to begin with
the last page of the currently displayed file, you would enter:
LAST PAGE
While to position to the first line of that file, you would enter:
FIRST LINE
■ Using the POINT command with the PAGE or LINE operands. For
example, to position the display to begin with line 500 of the currently
attached file, you would enter:
POINT LINE 5
To position to the first or last line, you would enter:
POINT LINE T or
POINT LINE B
When you are browsing a file, you can assign a one- to six-character name to
the line containing the string; thus enabling you to return to that line later. For
example, to assign the name LOC1 to the first displayed line, you would enter:
NOTE LOC1 or
NOTE LOC1
To assign a name to a line that is not the first displayed line, qualify the
asterisk. For example, to assign the name LOC2 to the line that is five lines
after the first displayed line, you would enter:
NOTE +5 LOC2
Once you have assigned a name to a specific line, you can return to that line at
any time by using the POINT command. To return to the line noted as LOC1,
you would enter:
POINT LOC1
the resulting display shows each assigned name and the file, page and line to
which it is assigned.
If you determine that you no longer need to note a specific line, you can
eliminate the NOTE name with the DROP command, as in:
DROP LOC2
Any outstanding NOTE names are automatically deleted when you detach the
member, attach another member or return to the menu.
ATTACH_
>
> JOB(INVREPT,5283) SCRL FULL COLS 1 73 F 4 P 1
> <....+....1....+....2....+....3....+....4....+...
============================== T O P ============
1 IDENTIFICATION DIVISION.
2 PROGRAM-ID. INVREPT.
3 ENVIRONMENT DIVISION.
ATTACH JOB
> J PENDING
> AWS(PRI.INVREPT) SCRL FULL COLS 7 72
> ...1....+....2....+....3....+....4....+....5....
...... ======================== T O P =================
1 IDENTIFICATION DIVISION.
2 PROGRAM-ID. INVREPT.
3 ENVIRONMENT DIVISION.
>
> JOB(INVREPT,5283) SCRL FULL COLS 1 73 F 4 P 1
> <....+....1....+....2....+....3....+....4....+...
============================= T O P =============
1 IDENTIFICATION DIVISION.
2 PROGRAM-ID. INVREPT.
3 ENVIRONMENT DIVISION.
The center screen in the previous examples shows J PENDING. This note is
provided to remind you that the job may be reattached at any time.
When you reattach the job, the display begins with the first line of the prior
display. To reattach at a different location within the same data, you can:
■ Use the FILE, PAGE, and LINE operands of ATTACH to specify the
desired starting location, as in:
ATTACH JOB FILE 3
ATTACH JOB FILE 3 LINE 12
ATTACH LIB FILE 3 PAGE 2
■ Use the POINT command to begin the display with a specific location, as
in:
POINT JOB FILE 4
POINT JOB FILE 4 LINE 12
POINT JOB FILE 4 PAGE 2
or with the line assigned a NOTE name, as in:
POINT LIB NAME1
■ Use the JOB operand with the FIRST, NEXT, LAST and PREV commands
to begin the display the the line containing a specific string, as in:
FIRST JOB /DD/
■ Use the JOB operand with the INCL or EXCL command to begin the
display with a list of lines containing (or not containing) a specific string,
as in:
INCL JOB /DD/
If you are working with jobs using AJOB and the Job Facility, you can also
attach an AWS, a data set object or a library member/list, browse that data
and then return to job output. AJOB will be suspended while you process
other data. You can issue any of the following commands to return to the job
data and continue AJOB processing:
Note: You can enter the commands shown above as listed, or you can use
their abbreviations which are shown in uppercase (for example, SEL
MENU).
These tasks can be performed using primary commands, the Job Facility menu,
or a job selection list.
Multiple users can attach the same job. If you are not the first person to attach
the job, you cannot change the attributes of its files.
If you are the first person to attach the job, you can change the attributes of its
files by using:
■ The modifiable STATUS JOB display.
The display produced by STATUS job can be used to control the printing
of a file at a system or 328x-type printer. (See section, 30.3.3, “Displaying
File Attributes” on page 30-22 for additional information.)
■ The ALTER command.
Use ALTER to change the system printer attributes associated with one or
more files, as in:
ALTER JOB PRINT CLASS A
which changes the SYSOUT class for the currently displayed job to A. If
the file is not currently displayed, you must identify it, as in:
ALTER JOB FILE 3 NOPRINT
which prevents the third file in the job from being printed.
To mark all files to be printed, use the ALL operand. (Use of this operand
may be restricted by site management.) For example, to mark all files to
be printed in Class V, enter:
ALTER JOB ALL PRINT CLASS V
Other operands permit you to change the printer ID (DEST), the number of
copies to be printed (COPIES), and the output form number (FORM).
To alter file attributes from the Job Facility menu, enter the code AT in the
FUNCTION field and the appropriate job name in the JOB/GRP NAME field.
The following example shows how to alter a job from the Job Facility menu.
<...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+...
JOB FACILITY
FUNCTION ===> AT
<...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+...
ALTER JOB/FILE ATTRIBUTES
Select one of the four OPTIONs listed on the screen and fill in all appropriate
fields, which consist of the following:
OPTION Requires AT, DJ, DH, or X; X returns to invoking Primary
Menu or Job Selection display; AT issues an ALTER JOB
request; DJ issues the DETACH JOB request; DH issues the
To alter file attributes from a job selection list, enter the code AT in the
command field to the left of the appropriate job(s). More than one job may be
selected. The following example shows how to alter a job from a job selection
list.
---------------------------------------------------------------------------
A - ATTACH C - COPY L - LAST FILE S - STATUS
AT - ALTER CN - CANCEL P - PRINT NN - NTH FILE
PF1/13: MENU PF3/15: EXIT PF7/19: BACK
When you select the ALTER function, the Alter Job/File Attributes panel is
displayed. It contains the name of the first job which was selected from the
selection list. See the Alter Job panel and its description in “Jobs: Alter Job
Panel Display” on page 30-17.
You can use a variety of commands to copy all or part of the currently
attached job output file into the AWS. These commands include:
COPY JOB Copies all or part of a file into an AWS, as in:
COPY JOB T [TO SAMPLE]
which copies all of the currently attached job to the top of the
AWS named SAMPLE. (If an AWS name is not included, the
data are copied to the active AWS.)
COPYS JOB Copies one or more lines containing the specified string from
the attached file into an AWS, as in:
COPY JOB /DD/ 28 53 1
which copies every line containing the string DD between line
2800 and 5300 to (or after) line 100 in the active AWS.
COPYX JOB Copies one or more lines not containing the specified string
from the attached file into an AWS.
XCOPY JOB Copies all or part of the attached file from one split screen
into the active AWS of the screen containing the command.
XCOPYS JOB Copies one or more lines containing the specified string from
the attached file in one split screen into the active AWS of the
screen containing the command.
XCOPYX JOB Copies one or more lines not containing the specified string
from the attached file in one split screen into the active AWS
of the screen containing the command.
For additional information about these commands and how they may be used,
see Chapter 15, “AWS: Copying Data Within and Into an AWS.”
You can use the Job Facility menu to copy all or part of a job into the AWS.
Enter the code C in the FUNCTION field and the appropriate job name in the
JOB/GRP NAME field. The following example shows how to copy a job from
the primary menu.
<...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+...
JOB FACILITY
FUNCTION ===> C
<...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+...
COPY JOB
Select the Copy option and fill in all appropriate fields, as listed below:
To copy a job from a job selection list, enter the code C in the command field
to the left of the appropriate job(s). More than one job may be selected. The
following example shows how to copy a job from a selection list.
---------------------------------------------------------------------------
A - ATTACH C - COPY L - LAST FILE S - STATUS
AT - ALTER CN - CANCEL P - PRINT NN - NTH FILE
PF1/13: MENU PF3/15: EXIT PF7/19: BACK
When you select the COPY function, the Copy Job panel is displayed. It
contains the name of the first job that was selected from the selection list. See
the Copy Job panel and its description in “Jobs: Copy Job Display” on
page 30-20.
You can display information about the currently attached job by entering:
STATUS
If your job is attached but not currently displayed, you can display the same
information by including the JOB keyword, as in:
STATUS JOB
The following example shows the type of information that is displayed using
either method.
>
> STA(SAMPLE,285) SCRL FULL COLS 1 72 JOB PENDING
....+....1....+....2....+....3....+....4....+....5....+....6....+
ROSCOE ALTER/STATUS PROCESSOR
JOB NAME NO FILE LINE PAGE/ LINE FIND LIMIT I/O COUNT
SAMPLE 285 1 1 1 1 2 1
The status information includes:
JOB NAME Name of the job currently attached.
NO Number of the job currently attached.
FILE Number of the file currently pointed to.
LINE Number of the line within the file currently pointed to.
PAGE/ Number of the page currently pointed to.
LINE Number of the line within the page currently pointed to.
CPY (Modifiable) Use this field to change the number of copies of a file to
be printed.
NOTE Advantage CA-Roscoe-assigned file description.
If you change one or more of the modifiable fields and then decide that these
changes should not be applied, you can:
1. Overtype the appropriate field(s), or
2. Press PA1 or the CLEAR key to refresh the display.
To display the status of a job from a job selection list, enter the code S in the
command field to the left of the appropriate job(s). More than one job may be
selected. The following example shows how to display status information
from a job selection list.
---------------------------------------------------------------------------
A - ATTACH C - COPY L - LAST FILE S - STATUS
AT - ALTER CN - CANCEL P - PRINT NN - NTH FILE
PF1/13: MENU PF3/15: EXIT PF7/19: BACK
When you select the STATUS function, the first job selected is ATTACHed to
the STATUS JOB display. See the STATUS Job display and its description in
“Jobs: STATUS JOB Display” on page 30-22.
There are a variety of commands you can use to request that one or more files
be printed at a system or 328x-type printer.
■ Use the PRINT command to direct all or the currently attached file to a
system or 328x-type printer. For example, if you enter:
PRINT JOB
All of the currently attached file is printed at the 328x-type printer
associated with your terminal.
For a detailed description of the PRINT command and how requests can
be monitored and controlled, see Chapter 7, “Printing Data.”
Use the ALTER command to change a file's print status and alter its
system printer destination. When the job is released, the file will be
printed.
■ Use the modifiable STATUS JOB display or a Job List 'A' panel to
designate whether a file is to print at a system or 328x-type printer.
■ Use the CK function of the Job List Facility. The job is terminated, and a
listing of the job output is produced.
You can use the Job Facility menu to print a job. Enter the code P in the
FUNCTION field and the appropriate job name in the JOB/GRP NAME field.
The following example shows how to print a job from the primary menu.
<...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+...
JOB FACILITY
FUNCTION ===> P
<...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+...
PRINT JOB
Select the PRINT option and fill in all appropriate fields, which consist of the
following:
OPTION requires P or X; X returns to invoking Primary Menu or
Job Selection display; P indicates to issue a PRINT JOB
request; Any other value redisplays the Print Job
screen.
JOB NAME The specific job name to be printed.
JOB NUMBER The specific job number name to be printed.
FILE NUMBER File to be printed; Must be numeric.
DESTINATION The printer destination used to print the job file.
CLASS Print class to be assigned to the job file.
FIRST LINE First line of file to be printed. Must be numeric or left
blank.
LAST LINE Last line of file to be printed. Must be numeric or left
blank.
FIRST COLUMN First column of file to be printed. Must be numeric or
left blank.
LAST COLUMN Last column of file to be printed. Must be numeric or
left blank.
TAG Name to be assigned to print request. Defaults to
user's Advantage CA-Roscoe ID.
OUTPUT TYPE Specification of print format. Must be DEF, ANS, or
MCC, or left blank (defaults to DEF).
TOP MARGIN Number of blank lines to be skipped from the top of
the page before printing begins. Must be numeric or
left blank. (Applicable only when OUTPUT TYPE is
specified DEF).
BOTTOM MARGIN Number of blank lines to be skipped at bottom of page.
Must be numeric or left blank. (Applicable only when
OUTPUT TYPE is specified DEF).
PAGE LENGTH Length of paper in number of print lines. Must be
numeric or left blank. (Applicable only when OUTPUT
TYPE is specified DEF).
PAGE WIDTH Width of paper in printing columns. Must be numeric
or left blank.
COPIES Number of times to print file. Defaults to 1.
NOTIFY Specifies whether a notification message is displayed
when the request is printed. Must be YES, NO, or left
blank.
To print a job from a job selection list, enter the code P in the command field
to the left of the appropriate job(s). More than one job may be selected. The
following example shows how to print a job from a job selection list.
---------------------------------------------------------------------------
A - ATTACH C - COPY L - LAST FILE S - STATUS
AT - ALTER CN - CANCEL P - PRINT NN - NTH FILE
PF1/13: MENU PF3/15: EXIT PF7/19: BACK
When you select the PRINT function, the Print Job panel is displayed. Fill in
the appropriate fields there to print the job. See the Print Job display and its
description in “Jobs: Print Job Display” on page 30-26.
The PURGE monitor command can be used to cancel a job from the system
queue.
Note: Sites have the option of restricting the use of this command; check with
your site system programmer for more information about using
PURGE.
For example, to cancel the job named SAMPLE, enter:
PURGE SAMPLE
If there are multiple jobs with the same name, you must specify the number of
the job, as in:
PURGE SAMPLE 1234
You can use the Job Facility menu to cancel a job. Enter the code CN in the
FUNCTION field and the appropriate job name in the JOB/GRP NAME field.
Check the value displayed in the CONFIRM CANCEL field to see whether a
confirmation panel will be presented. The default, YES, presents the Cancel Job
Confirmation panel from which you can confirm the job information. If you
do not want to confirm job cancellations, overtype this value with NO. The
following example illustrates how to cancel a job from the Job Facility menu.
<...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+...
JOB FACILITY
FUNCTION ===> CN
<...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+...
CANCEL JOB CONFIRMATION
JOB INFORMATION:
1234 SAMPLE AWAITING PRINT (H) 15 ANY LOCAL
From this screen, select Y (YES) to cancel the job listed under JOB
INFORMATION. If you do not want to cancel the job, select N (NO) and you
will be returned to the job menu.
To cancel a job from a job selection list, enter the code CN in the command
field to the left of the appropriate job(s). More than one job may be selected.
The following example shows how to cancel a job from a job selection list.
---------------------------------------------------------------------------
A - ATTACH C - COPY L - LAST FILE S - STATUS
AT - ALTER CN - CANCEL P - PRINT NN - NTH FILE
PF1/13: MENU PF3/15: EXIT PF7/19: BACK
When you select the CANCEL function, the Cancel Job Confirmation panel is
displayed. Select YES to cancel the job. See the confirmation display and its
description in “Jobs: Confirm Job Cancel.”
User Guide
Chapter 31. Library: Introducing the Library Facility
You can perform all of these operations using the Library Facility or primary
commands. Many of these operations can also be performed using the
Selection List provided through the Library Facility.
Note: See Chapter 23, “AWS: Saving and Updating a Library Member” for
additional information.
You can include a function code and library name with this command.
If you include a function code and that function has a panel associated with it,
you can bypass the Library Facility menu and display the function panel. For
example, if you enter:
LIBRARY C COBTEST
the Copy Function Panel is displayed with COBTEST in the MEMBER field.
If you are currently using the Library Facility, you can redisplay the menu by
entering:
SELECT MENU
If you omit the number v, you proceed sequentially through the different
formats. If you specify a number, it can be:
1 To show the last specific member name.
2 To show the last executed RPF program name.
3 To show the last generic member name.
4 To show the last prefix or key.
>
> LIB() SCRL FULL COLS 1 79
....+....1....+....2....+....3....+....4....+....5....+....6....+....7
LIBRARY FACILITY
FUNCTION ==>
=[code.code]
■ If you enter only the equal sign (=), you are returned to the menu.
■ If you specify =X, the Data Set Facility is terminated.
■ If you specify any other code (like =C), the appropriate function-related
panel is displayed.
If the function-related panel is displayed while the screens are split, you can
use PF keys to scroll the panel.
All of the Library Facility functions are described in detail in Chapter 34,
“Library: Performing Library Management Tasks.”
The first line of a Selection List contains a top marker (==TOP==). If the
bottom marker (==BOTTOM==) is not displayed, the number of members in
the list exceeds the screen size. You can use PF keys to scroll within the List.
The information displayed in the Selection List is separated into specific fields.
Some fields contain Library information and remain constant as you scroll
through the Selection List (for example, the SIGNON KEY and MEM fields.)
There are also fields which contain member-specific information. By default,
these fields are displayed alphabetically by member name, or by the order
designated by the SET LIB ORDER command.
To designate a specific Selection List order, enter the field and order criteria, as
in:
SET LIB ORDER LINES ASC
The amount of information available with each Selection List exceeds the
width of 80-column screens. The information is, therefore, divided into
alternate display formats. To view the different formats sequentially, enter the
command:
SELECT ALT
To view a specific format, enter the number of that format with the command,
as in:
SELECT ALT 2
See Chapter 32, “Library: Attaching Library Data at the Terminal,” for
information about displaying each type of Selection List. The information
includes a description of the fields comprising each list. The alternate display
numbers shown with the description are for 80-column screens. Additional
formats (containing variations of the information) are available at terminals
supporting wider screen sizes.
If you specify the same function code multiple times, they are processed
sequentially.
If you specify different function codes, the codes are processed sequentially
within the following function hierarchy:
X Terminate Library Facility
D Delete member
R Rename member
AT Alter member attributes/description
P Print a member
I Inquire about member
C Copy a member
A Attach member
| E Edit a member
| SU Submit a member
The following example illustrates how you can enter multiple functions codes
on a Selection List. You can further qualify any function by specifying
information in the STATUS field (the second shaded area). (See Chapter 34,
“Library: Performing Library Management Tasks” for information about each
of the functions you can perform through a Selection List.)
>
> 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 82 223 2 1171
MEMBER STATUS DESCRIPTION LINES ATR SEQNO
XYZ.ABLE 1 SHR N
A XYZ.BEGINJCL JCL: Link-Edit 1
I XYZ.COBTEST1 Sample COBOL Prog. 193 SHR
XYZ.COBTEST2 43 SHR
D XYZ.JUNK 87 SHR N
R XYZ.MYRPF DOJCL RPF: Builds JCL 519
Notes:
■ All function codes are evaluated before any one is executed. If an invalid
or incomplete function is specified, the functions are placed in a pending
state and a message is displayed. To resume execution, you must either:
1. Correct the invalid/incomplete function, or
2. Remove it by typing a space over.
■ If multiple function codes are specified and one of them is X, all of the
other function codes are ignored. The Library Facility is immediately
terminated.
>
> 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 82 223 2 1171
MEMBER STATUS DESCRIPTION LINES ATR SEQNO
The more functions you perform through the same Selection List, the more
completion messages will be displayed. At any point, you can redisplay the
Selection List with the most current information (for example, the deleted
members removed and renamed members shown with their new names). To
do this, enter the command:
REFRESH
>
> LIB() SCRL FULL COLS 1 72
....+....1....+....2....+....3....+....4....+....5....+....6.
LIBRARY FACILITY
FUNCTION ===> A
To create a qualified Selection List, type an A in the FUNCTION field and the
appropriate prefix in the PREFIX field. Then use wildcard characters with the
name typed in the MEMBER field.
As illustrated in the following example, you can use the SEARCH field to
further limit the members that are to be included in the List.
>
> LIB() SCRL FULL COLS 1 79
....+....1....+....2....+....3....+....4....+....5....+....6.
LIBRARY FACILITY
FUNCTION ==> A
>
> 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 82 223 2 1171
MEMBER STATUS DESCRIPTION LINES ATR SEQNO
XYZ.ABLE 1 SHR NO
XYZ.BEGINJCL JCL: Link-Edit 1 SHR 7
XYZ.COBTEST1 Sample COBOL Prog. 193 SHR
XYZ.COBTEST2 43 SHR
XYZ.JUNK 87 SHR NO
XYZ.MYRPF RPF: Builds JCL 519 SHR NO
You can use this Selection List to perform one or more of the following
function:
A Attach a member
AT Alter attributes
C Copy a member
D Delete a member
I Display member information
P Print a member
R Rename a member
X Terminate Library Facility
* Position Selection List
Type the appropriate code(s) in the first shaded area shown in the previous
figure.
With Alter, Copy, Print and Rename, you must provide additional information
in the STATUS field. (See the appropriate sections for details.) After
performing a function, the STATUS field will indicate the result of the
operation.
The amount of information provided through the 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 by
entering:
SELECT ALT [v]
where v is the number of the display to be viewed next. If you omit the
number, you proceed sequentially through all of the different displays.
The ALT field in the following table contains the number of the alternate
display in which each field appears on an 80-column screen. If you are using a
terminal supporting a wider screen, additional displays (containing variations
of the same information) are available.
The first two lines in the Execution Area (following the TOP marker) remain
constant as you scroll through the Selection List and show:
SIGNON KEY Sign-on key associated with the individual whose members
are included in the display.
MATCH Optional field included only when selection criteria was used
to produce the List.
MEM Number of library members included in the Selection List.
EXCL Number of library members that site management excluded
from the display.
BLOCKS Number of library blocks used by the members included in
the List.
M-LINES Maximum number of lines the owner of these members may
save in the library or N/A if the owner has no limit.
LINES 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 the information shown in the following table.
If your terminal screen displays more than 80 characters, you can issue
SELECT ALT 4 to view all of the preceding information. At all terminals, you
can place all of this information into an AWS by using the FULL operand of
the COPY (LIB) command.
An additional field is provided when you view or copy all of the library
information. The field is named CRT and indicates how the member was
created. It contains:
■ Blanks, if the member was created online.
■ BCH, if the member was created by a batch program.
■ MON, if the member was created by a Monitor command.
■ POS, if the member was created by an obsolete post-processor.
The 'LIB' operand is required if the Library Facility is not active. For example,
to sort a displayed Selection List by year of member creation date, in
ascending order, enter:
ORDER CREATED COL 7 8 ASC
Notice that the CREATED field is on the second alternate screen. The list will
be reordered even if the CREATED field is not displayed. Use the SELECT
ALT command to display the CREATED field.
You can also reorder more than one field at a time. For example, to reorder a
Selection List by sequence attributes and ascending line count, enter:
ORDER LIB SEQNO LINES ASC
Sorting is done in order of the operands specified. So, in the last example, the
Selection List is reordered by sequence attributes, and then by line counts.
Note: A maximum of six order criteria are permitted.
You can set the default order of a Library Selection List to a specific field.
Every time you attach a Library Selection List, it will be sorted by that
criterion. Use the SET LIB ORDER command, as in:
SET LIB ORDER LINES
Any subsequent order commands will override this setting. To reset the
Library Selection List display to the site default, specify:
SET LIB ORDER DEFAULT
To browse a member that belongs to another user, you must include that
user's prefix. For example, to attach the member COBPROG that belongs to the
individual assigned the prefix ABC, you would enter:
ATTACH ABC.COBPROG
Operands of this command allow you to control the display. For example, you
can:
■ Begin the display with a specific line, as in:
ATTACH TESTJCL LINE 12
■ Begin the display with the first line containing a specific string, as in:
ATTACH TESTJCL /SYSOUT=/
Additional operands allow you to qualify the string. For example, to begin the
display with the first line containing a word that begins with SYS, you would
enter:
ATTACH TESTJCL /SYS/ PREFIX
which will start at line 1200 of the member TESTJCL to search for the first
word beginning with the prefix SYS.
>
> LIB() SCRL FULL COLS 1 72
....+....1....+....2....+....3....+....4....+....5....+....6.
LIBRARY FACILITY
FUNCTION ===> A
>
> 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 352 971 2 1171
MEMBER STATUS DESCRIPTION LINES ATR SEQNO
>
> LIB(XYZ.COBTEST1) SCRL FULL COLS 1 73 LINE 1
> <....+....1....+....2....+....3....+....4....+....5..
============================= T O P ================
1 IDENTIFICATION DIVISION.
2 PROGRAM-ID. COBTEST.
3 ENVIRONMENT DIVISION.
4 CONFIGURATION SECTION.
5 SOURCE-COMPUTER. IBM-381.
6 OBJECT-COMPUTER. IBM-381.
The System Information Line begins with LIB and is followed by the prefixed
name of the currently attached library member.
The right side of the System Information Line shows the number of the first
line in the current display. This is to assist you in keeping track of where you
are as you scroll forward and backward through the data.
When you are browsing a Selection List, you can use the SELECT command to
change the display by entering:
SELECT ALT To position to the next sequential alternate display format. To
position to a specific alternate format, specify a number with
the command, as in:
SELECT ALT 3
This chapter describes how, while browsing the contents of a library member
or Selection List, you can:
■ Detach the Library Facility
■ Locate the specific occurrences of a string within the attached member or
Selection List
■ Position the display to a specific line, or to a line to which you have
assigned a name
■ Reattach the library member or Selection List after browsing an AWS, a
data set object or job output file
The Library Facility is also detached by entering the function code X on the
menu, any function panel or the Selection List. (If you enter X on the Selection
List with other function codes, those functions will be ignored.)
If you execute a command that causes output to the Execution Area (like
ATTACHing an AWS) or if you press the CLEAR key, the Library Facility is
placed in a pending state and can be reattached at any time.
While this description assumes you are locating strings that are in character
format, you can also locate the hexadecimal representation of a string. See
33.2.3, “Customizing the Operation” on page 33-5 for details.
In this example, the first line containing the string PROCEDURE in the
member COBTEST1 will be the first displayed line.
Once attached, you can use the following commands to find and display
specific occurrences of a string.
FIRST Locate the first occurrence of a string.
NEXT Locate the next occurrence of a string.
LAST Locate the last occurrence of a string.
PREV Locate the previous occurrence of a string.
The first occurrence of the string DIVISION in the currently attached member
is the first line of the resulting display.
To find the last occurrence of the same string, all you need to enter is:
LAST
Once you have specified a search string, it is remembered and used with any
subsequent EXCL, FIRST, INCL, LAST, NEXT or PREV command that does not
include a string.
By default, the entire member (for example, the full length of every line) is
searched for your string. You can include column and line numbers with the
command to qualify the search for a single operation. For example:
NEXT 1 3 SAMPLE
After the command executes, the defaults are reestablished. To change the
column boundaries for the remainder of your session, use the SET BOUNDS
command. (See Chapter 4, “Defining Column Boundaries” for additional
information.)
By including a value after the string, you can limit the search to a specific
number of lines. For example, to find the last occurrence of SAMPLE within
the last 200 lines of currently displayed data, you would enter:
LAST SAMPLE 2
If you do not specify a number, every line is searched. You can also limit the
search for the character string to particular columns.
Note: Column boundaries specified with the command affect only the
execution of that command. See Chapter 4, “Defining Column
Boundaries” for information about changing boundaries for the
terminal session.
For example, if you want to display every line that does not contain the string
TEST-DATA in columns 30 through 80, you would enter:
EXCL 3 8 TEST-DATA
If the number of lines to be displayed exceeds the size of your terminal screen,
press one of the PF keys to which a scrolling function is assigned. The INCL or
EXCL operation will resume scanning for the previously specified string (like
TEST-DATA).
The direction of the scan depends on the value assigned to the PF key. (The
search string is remembered for subsequent use; column number limits and
line number limits apply only to the command with which they are specified.)
If you determine that you want to see the data that follows a particular line,
use:
■ The cursor positioning keys to move the cursor to the appropriate line and
then press the Enter key, or
■ The POINT command. For example, if an EXCL display includes line 150
and you want to display the lines following it, you would enter:
POINT LINE 15
The resulting display begins with line 150.
Doing either of these actions or entering any primary command terminates the
INCL/EXCL operation.
Note: When you create an INCL/EXCL display from a Selection List, you can
enter any function code(s). If a function results in another display (that
is, attaching an entry in the list), the INCL/EXCL operation is
terminated.
The current setting of the SET MODE command determines how the string
specified with FIRST, NEXT, LAST, PREV, INCL or EXCL is to be treated. See
Chapter 3, “Controlling Character Recognition” for additional information.
In all of the examples used thus far, the search string has not been delimited.
With these commands, you only need to delimit the string when it:
■ Includes a space (like FIRST /TEST DATA/),
■ Is a numeric (like NEXT /519/), or
■ Is the same as a keyword operand or operand abbreviation of the
command (like INCL /JOB/).
and you want to search for the string THE. Without qualification, the words
THE, BROTHER and THEIR match the search string. By including a qualifier,
you can designate the type of string match that is to occur, as in:
THE WORD Qualifies the string as a word; only THE matches.
THE PREFIX Qualifies the string as beginning a word; only THEIR matches.
THE BEGIN Qualifies the string as beginning or being a word; THE and
THEIR match.
THE EMBED Qualifies the string as contained within a word; OTHER and
BROTHER match.
When using the primary commands FIRST, LAST, NEXT, PREV, INCL or
EXCL, you do not need to delimit the hexadecimal string.
If a line containing (or not containing) the search string is found, it becomes
the first displayed line of the resulting display. By specifying a screen
positioning operand with the command, you can control how the display is
positioned. The screen positioning operands are:
CJUSTIFIED The display margins are to be altered if the entire matching
string does not fall within the current margin. (This is the
default positioning.)
JUSTIFIED The display margins are always to be altered so that the first
character of the string begins in the left-most position of the
line.
CENTERED The display margins are to be altered to center the matching
string on the line. If centering would cause an invalid left
margin (for example, less than 1), the display is not altered.
LOCKED The display margins are not to be altered even if the matching
string occurs to the left or right of the current margins.
To assign a name to a line that is not the first displayed line, qualify the
asterisk. For example, to assign the name LOC2 to the line that is five lines
after the first displayed line, you would enter:
NOTE +5 LOC2
Once you have assigned a name to a specific line, you can return to that line at
any time by using the POINT command. To return to the line noted as LOC1,
you would enter:
POINT LOC1
If you determine that you no longer need to note a specific line, you can
eliminate the NOTE name with the DROP command, as in:
DROP LOC2
Any outstanding NOTE names are automatically deleted when you detach the
member, attach another member or return to the menu.
ATTACH_
>
> LIB() SCRL FULL COLS 1 73 LINE 1
> <...+....1....+....2....+....3....+....4....+....
============================== T O P ============
1 IDENTIFICATION DIVISION.
2 PROGRAM-ID. INVREPT.
3 ENVIRONMENT DIVISION.
ATTACH LIB
> L PENDING
> AWS(PRI.INVREPT) SCRL FULL COLS 7 72
> ...1....+....2....+....3....+....4....+....5....
...... ======================== T O P =================
1 IDENTIFICATION DIVISION.
2 PROGRAM-ID. INVREPT.
3 ENVIRONMENT DIVISION.
>
> LIB() SCRL FULL COLS 1 73 LINE 1
> <...+....1....+....2....+....3....+....4....+....
============================= T O P =============
1 IDENTIFICATION DIVISION.
2 PROGRAM-ID. INVREPT.
3 ENVIRONMENT DIVISION.
The center screen above shows L PENDING. This note is provided to remind
you that the Library Facility may be reattached at any time.
When you reattach the Library Facility, the display begins with the first line of
the prior display. To reattach at a different location within the same data, you
can:
■ Use the LINE operand of ATTACH to specify the desired line number, as
in:
ATTACH LIB LINE 5
■ Use the POINT command to begin the display with the line assigned a
NOTE name, as in:
POINT LIB NAME1
■ Use the LIB operand with the FIRST, NEXT, LAST and PREV commands
to begin the display the line containing a specific string, as in:
FIRST LIB /DD/
■ Use the LIB operand with the INCL or EXCL command to begin the
display with a list of lines containing (or not containing) a specific string,
as in:
INCL LIB /DD/
This chapter describes how you can perform any of the following functions
during your terminal session:
■ Alter a member's access attribute, sequence number attribute or
description.
■ Copy all or part of the attached member or Selection List.
■ Delete one or more library members.
■ Inquire about a member.
■ Print all or part of the attached member or Selection List.
■ Rename one or more members.
ALTER does not affect any attributes that are not specified with the command.
The following table summarizes the values you can specify with this
command. These values can also be used when using a primary command to
rename a library member.
>
> LIB() SCRL FULL COLS 1 79
....+....1....+....2....+....3....+....4....+....5....+....6....+....7
LIBRARY FACILITY
FUNCTION ==>
The following example illustrates how you can use the Selection List to change
the description and attributes of a member EXPLICITly.
>
> 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 82 223 2 1171
MEMBER STATUS DESCRIPTION LINES ATR SEQNO
XYZ.ABLE 2 SHR NOSEQ
XYZ.BEGINJCL JCL: Link-Edit 1 SHR 73,8
XYZ.COBTEST1 Sample COBOL Prog. 193 SHR 1,6
AT XYZ.COBTEST2 test cobol prog._ 43 SHR
After typing an AT before the name of the appropriate member, tab to the
DESCRIPTION, ATR or SEQNO field and overtype the current values. (You
can use the values described in the table in the first subsection of 34.1,
“Altering Member Attributes” on page 34-2.
If no line numbers are included, all of the attached data are copied to the
designated destination within the active AWS.
You must indicate the appropriate AWS destination by specifying one of the
following:
v Copy at or after the line specified by v.
T Copy to the top of the AWS.
B Copy to the bottom of the AWS.
* Copy after the line at which the AWS pointer is currently positioned.
R Replace the contents of the AWS with the copied data.
Each of these commands allows you to limit the number of lines to be copied,
as in:
COPYS LIB /DATE-FIELD/ 9 18 1
which causes every line containing the string DATE-FIELD within lines 900
through 1800 of the currently attached data to be copied at or after line 100 in
the AWS.
When copying from a Selection List, you can designate whether you want the
header portion of the list included with the data. (By default, the header is
included.) For example, if a Selection List is displayed:
COPYX LIB /JCL/ T NOHDR
copies every line not containing the string JCL within the currently attached
Selection List to the top of the AWS. No header information is included in the
copied data.
You can also use these same commands to copy a library member that is not
currently attached into an AWS. To do so, specify the member name with the
command, as in:
COPY COBTEST1 ... or
COPYS COBTEST1 /DATE-FIELD/ ...
Other commands that you can use to bring one or more library members into
the active AWS include:
FETCH Brings all or part of a library member into the active AWS, as in:
FETCH INVLIST or
FETCH INVLIST 5 27
where all (or lines 500 through 2700) of the member named
INVLIST are copied into the active AWS. If the active AWS
contained data, that data are overlaid by the contents of the
member.
To bring in data from a library member owned by another
individual, include the person's Advantage CA-Roscoe prefix with
the member name, as in:
FETCH RLM.LISTSEQS
Optionally, you can renumber the data that you bring into the
AWS, as in:
FETCH INVLIST START 1 BY 5
The following example illustrates how you might use this panel to place one
copy of lines 900 through 1800 of the member COBTEST1 at the top of the
active AWS.
>
> LIB() SCRL FULL COLS 1 72
....+....1....+....2....+....3....+....4....+....5....+....
COPY LIBRARY MEMBER
OPTION ===> S
OPTION Enter the code that is appropriate for the action you
want to perform. The codes are:
S Copy a single member.
M Display a Selection List. (If only a prefix is
specified, the Selection List will contain all
members associated with that prefix. If the
MEMBER field contains a name that includes
wildcard characters, a qualified Selection List is
displayed.)
PREFIX Enter the two- or three-character prefix assigned to the
individual whose member is to be copied. (Required
only if the displayed prefix is inappropriate.)
MEMBER Enter the name of the member to be copied. (Required
only if the displayed member name is inappropriate.)
1ST LINE Enter the number of the first line to be copied. If
omitted, the operation begins with the first line.
LAST LINE Enter the number of the last line to be copied. If
omitted, the operation ends with the last line.
AWS TARGET Enter the destination of the operation by specifying:
v Number of the line at or after which the data are
to be copied within the active AWS.
* After the line at which the AWS pointer is
currently positioned.
T Before the first line of the active AWS.
B After the last line in the active AWS.
R Replace the contents of the active AWS with the
copied data.
Unless changed, the default is R.
AWS COPY COUNT Enter the number of copies of the attached data are to
be placed in the active AWS. If omitted, the default is 1.
LIST HEADERS Enter YES or NO to designate whether Selection List
header lines are to be included in the copy operation.
If the Selection List is not provided through the Copy Function panel, you can
perform any of the functions that are valid with the Selection List.
The following example illustrates how you can copy multiple library members
from a Selection List.
>
> 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 82 223 2 1171
MEMBER STATUS DESCRIPTION LINES ATR SEQNO
Notes:
■ If you delete a member and then determine that you need it, contact your
site management. As long as the member has been saved on a library
system backup, it can be restored.
■ When deleting a member through the Delete Function panel or the
Selection List, you have the option of requesting that a Delete
Confirmation panel be displayed. You can control this option using the
ATTACH LIB command or the Library Facility menu.
– When CONFIRM DELETE is in effect, a Delete Confirmation panel is
displayed. This panel contains the name of each member you marked
for deletion. You must confirm this operation before it is performed.
– When CONFIRM DELETE is not in effect, the designated data
members are deleted when you press the Enter key.
See 34.3.4, “Delete Confirmation Panel” on page 34-11 for additional
information.
The following example illustrates how you might use this panel to delete the
member named JUNK.
>
> LIB() SCRL FULL COLS 1 72
....+....1....+....2....+....3....+....4....+....5....+....
DELETE LIBRARY MEMBER
OPTION ===> S
As illustrated in the following example, you can delete one or more members
by typing a D before each appropriate member name.
>
> 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 82 223 2 1171
MEMBER STATUS DESCRIPTION LINES ATR SEQNO
>
> LIB() SCRL FULL COLS 1 72
....+....1....+....2....+....3....+....4....+....5....+....
CONFIRM ==> ENTER (Y)ES TO CONFIRM DELETE
MEMBER CREATED UPDATED ACCESS DESCRIPTION
COBTEST1 6/4/87 11/9/88 11/9/88 Sample COBOL Prog.
JUNK 12/1/85 6/6/86 6/6/86
To delete the entries, enter either YES or Y in the CONFIRM field. Entering
any other value in this field terminates the operation. (You will be returned to
the Delete Function panel or the previous Selection List. The STATUS field of
that Selection List will contain *DENYDEL.)
or, specifying the I function code and member name on the Library Facility
menu, as in the following example.
>
> LIB() SCRL FULL COLS 1 72
....+....1....+....2....+....3....+....4....+....5....+....6.
LIBRARY FACILITY
FUNCTION ===> I
or, specifying the I function code on the Selection List, as in the following
example.
>
> 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 82 223 2 1171
MEMBER STATUS DESCRIPTION LINES ATR SEQNO
XYZ.A 1 SHR NOSEQ
XYZ.BEGINJCL JCL: Link-Edit 1 SHR 73,8
I XYZ.COBTEST1 Sample COBOL Prog. 193 SHR 1,6
XYZ.COBTEST2 43 SHR 1,6
>
> LIB() SCRL FULL COLS 1 72
....+....1....+....2....+....3....+....4....+....5....+....6.
LIBRARY MEMBER INFORMATION
The member information includes:
PREFIX Prefix assigned to the individual who owns the member.
NAME Name of the library member.
LAST ACCESS Date the member was last accessed.
LAST UPDATE Data the member was last updated.
CREATION Date the member was created.
RECORD COUNT Number of lines in the member.
BLOCK COUNT Number of library blocks used by the member.
ATTRIBUTE Member's access attribute.
SEQUENCE Member's sequence number attribute.
DESCRIPTION Member's description, if available.
The last three fields are unprotected. See 34.1, “Altering Member Attributes”
on page 34-2 for information about changing these fields.
When the data are scheduled for printing, a message is displayed. It contains
the printing location, tag (if specified) and print request number assigned by
Advantage CA-Roscoe. Once scheduled, all references to a specific print
request must be by its tag or number.
All of the operands of the PRINT command can be used when printing
attached data. For example, to print only lines 500 through 2500 of the
currently attached data, you would enter:
PRINT LIB 5 25
While Selection Lists do not include line numbers, you can treat them as
though they are numbered from 1 by 1.
Note: See Chapter 7, “Printing Data” for additional information about the
PRINT command and how requests can be monitored and controlled.
The following example illustrates how you might use this panel to print a copy
of the member named MYPROG.
>
> LIB() SCRL FULL COLS 1 72
....+....1....+....2....+....3....+....4....+....5....+....6...
PRINT LIBRARY MEMBER
OPTION ===> S
You can use the following fields to customize the print operation.
1ST LINE Enter the number of the line at which the print operation is
to begin. If omitted, the first line is assumed.
LAST LINE Enter the number of the last line to be included in the print
operation. If omitted, the end of the member/Selection List
is assumed.
While Selection Lists do not contain line numbers, treat
them as though they are numbered from 1 by 1.
NOTIFY Designate whether you want an RPS notification message
displayed when this data are printed by specifying either:
To print one or more members, type a P before the name of each member. By
default, the request prints at the printing location assigned for the terminal
you are using. To print at a different location, tab to the STATUS field and
enter the appropriate destination name.
The following example illustrates how you can print multiple entries from the
Selection List.
>
> 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 82 223 2 1171
MEMBER STATUS DESCRIPTION LINES ATR SEQNO
Optionally, you can also change the description or attributes of the member, as
in:
RENAME TESTJCL PRODJCL /Production JCL/ SHARED SEQ
>
> LIB() SCRL FULL COLS 1 72
....+....1....+....2....+....3....+....4....+....5....+....
RENAME LIBRARY MEMBER
OPTION ===> S
To rename one or more members, use the R function code and type the
member name in the STATUS field. (When the Selection List is redisplayed,
the STATUS field will contain *RENAMED - confirming the operation
performed successfully.)
>
> LIB() SCRL FULL COLS 1 72 LINE 1
....+....1....+....2....+....3....+....4....+....5....+....6..
==================================== T O P ===================
SIGNON KEY MEM EXCL BLOCKS LINES
SMITH 352 971 5984
MEMBER STATUS DESCRIPTION LINES ATR SEQNO
XYZ.A 1 SHR N
XYZ.BEGINJCL JCL: Link-Edit 1 SHR
XYZ.COBTEST1 Sample COBOL Prog. 193 SHR
R XYZ.COBTEST2 INVREPT 43 SHR
XYZ.JUNK 87 SHR N
XYZ.MYRPF RPF: Builds JCL 519 SHR N
where:
pfx is the prefix of the profile containing the panels and programs
comprising this facility. The default is RBX.
This is the distributed RPF program that invokes the BulletinBoard System.
All tasks available in each mode are PF-key functions and are displayed at the
bottom of each screen. To send a message or perform any function, use the
corresponding PF-key. Some screens have functions which are specific to one
task only. Many screens have the same PF-key options. This means that a
particular PF-key number may have several different functions, changing from
screen to screen, according to the mode level. If a PF-key is blank, it has no
function.
The following PF-keys have the same function on every screen (or are
disabled):
PF7/19 Backward Scrolls the display backward, toward the top of the
member.
PF8/20 Forward Scrolls the display forward, toward the bottom of the
member.
PF10/22 Top Makes the base entry for the thread the first line of the
screen.
PF11/23 Bottom Displays the bottom of the message text.
And on every screen except the one that is used to create a thread title,
PF3/15 Exit Returns to the previous mode level. (On the "create a thread
title" screen, PF3/15 CANCEL cancels the thread that was just
created.)
-- BBS -----------------------------------------------------------------------
Thread Titles
New Message Thread Entry-2 ZZB New Message Thread Entry-1 ZZC
No Threads-- ------------- ZZD
------------------------------------------------------------------------------
PF1 Utility 2 Ignore! 3 Exit 4 Lastread 5 Firstnew 6 Addmsg
7 Backward 8 Forward 9 Refresh 1 Top 11 Bottom 12 Zmsg
The top line, containing hyphens, is the Error/Status line. It contains the
current processing RPF ID. In this case, it will be BBS, for BulletinBoard
System. Any messages returned from BBS will appear on this line.
The portion of the screen just below the Error/Status line contains the titles of
all message threads. A thread is a series of one or more related messages.
The threads, as listed here, are the initial message topics. All related responses
are threaded to this message entry.
Each thread can contain 999 messages. All threads have prefix codes,
beginning with ZZZ, through AAA. Each new thread is given a corresponding
code. This can be used as a quick reference, to associate the thread by code
instead of its title. This code will be the prefix of all of the thread's entries.
By default, the threads that have not been viewed will be in high intensity. If
you have already viewed the thread and all of its corresponding messages, the
thread will be in low intensity.
Note: The threads are highlighted following Advantage CA-Roscoe standard
panel attribute coding. The Utility function (PF1/13) allows the
changing of these thread attributes. By default, unread threads and
messages are unprotected and high intensity (UH), and the threads and
messages that have been read are unprotected and low (normal)
intensity (UL).
All of the possible tasks a user can perform from the Message Selection list are
listed at the bottom of the screen as PF-key functions. The PF-keys that are
specific to this screen are:
PF1/13 Utility Brings up the BulletinBoard Utility menu from which
options may be set, messages and threads can be printed,
the News can be viewed, or the user profile can be
condensed.
PF2/14 Ignore! Marks a selected thread in low (normal) intensity, as if it
was read. If there are any new entries added, they will not
be marked by high intensity. No entries will be highlighted,
so the entire thread can be "ignored."
If Ignore! is already active, PF2 will deactivate Ignore!
PF4/16 Lastread Brings up the last message you read.
PF5/17 Firstnew Brings up the first new message you have not read. (NEW
denotes not yet viewed).
PF6/18 Addmsg Adds a thread or a message to a thread, using the AddMsg
panel.
PF9/21 Refresh Refreshes the screen with any new information.
PF12/24 Zmsg Sends another Advantage CA-Roscoe user a message, using
the Zmsg panel.
-- BBS -----------------------------------------------------------------------
New Message Thread Entry-1 Prefix:
New Message Thread Entry-1 This will be entry #1 =>ZZC 1
This will be entry #2 =>ZZC 2 This will be entry #3 =>ZZC 3
This will be entry #4 =>ZZC 4 This will be entry #5 =>ZZC 5
This will be entry #6 =>ZZC 6 This will be entry #7 =>ZZC 7
This will be entry #8 =>ZZC 8
------------------------------------------------------------------------------
PF1 Utility 2 Ignore! 3 Exit 4 Prevnew 5 Nextnew 6 Addmsg
7 Backward 8 Forward 9 Refresh 1 Top 11 Bottom 12 Zmsg
The first line following the error/status line is the title of the thread you
selected from the previous screen. The prefix of that thread is on the far right
of the same line.
The title is also the first thread of the list, and has the code 000. Each
subsequent entry is given a code incremented by one. This code is added to
the prefix to create a member name for the thread entry. Each thread entry can
be associated by its member name, and its title.
This screen also has PF-key functions listed on the bottom. The PF-keys
specific to this screen are:
PF4/16 Prevnew Displays the first new message that precedes the thread you
are currently displaying. (NEW is the same as not yet
viewed.)
PF5/17 Nextnew Displays the next new message that follows the thread you
are currently displaying.
Note: If there are no new (unviewed) messages within that
thread, Prevnew and Nextnew do not execute. You
should receive a message on the Error/Staus line
that tells you there are "no new messages that way,"
(where that way is either before the message - Prev,
or following the message- Next). Use Enter to view
the message.
-- BBS -----------------------------------------------------------------------
Title: This will be entry #7 =>ZZC LAST Name: ZZC7 Date&co
------------------------------------------------------------------------------
From: RO, ROSCOE.CONTROL
------------------------------------------------------------------------------
PF1 Utility 2 Ignore! 3 Exit 4 Prevmsg 5 Nextmsg 6 Addmsg
7 Backward 8 Forward 9 1 Top 11 Bottom 12 Zmsg
The fields of this panel are:
Error/Status line This is the line of hyphens at the top. It contains
the mode BBS on the left. Any messages issued
by BBS are displayed on the right.
Title This is the thread title that appeared on the
previous screen.
The PF-key functions specific to this screen are the same as the previous
screen, except for PF4, PF5, and PF9:
PF4/16 Prevmsg Displays the thread entry that precedes the currently
displayed entry.
PF5/17 Nextmsg Continues to the next sequential message.
PF9/21 Is not used.
You can add a new thread to the Message Selection List or a new thread entry
to an existing thread from any screen that has PF6/18 Addmsg.
With the cursor on any thread or entry, press PF6/18. You are placed in the
Reply mode; the error/status line has Reply in the left corner.
-- Reply ---------------------------------------------------------------------
New Message Thread Entry-2
From: RO, ROSCOE.CONTROL
The bottom half of the screen is in the Insert mode, and is open for entering
text. There is a sequence line number at the top of the insert area. It is much
like the sequence line number in your Advantage CA-Roscoe Edit session. All
of the parameters you have set for Advantage CA-Roscoe editing are
propagated in the BBS Editor session (that is, tab settings and the tab
character).
The line just above the sequence line number displays the Insert Mode, and the
number of lines that are available for entering data. To the left of the insert
area is the sequence number field and a one character command area. This
single character field contains asterisks when you are in the insert mode. Once
you press Enter or a PF-key, you are in the Edit mode, and this field contains
a period that is Unprotected Low-intensity.
Enter the text of the message you want to create. You can then edit the
message either by typing over the existing text of the message, or by issuing
line commands in the single character command area. There are two edit
commands that can be used in this field:
d Deletes any line it is placed next to.
i Opens the lower portion of the screen to the insert mode, just after the
line on which it was entered.
-- Reply ---------------------------------------------------------------------
New Message Thread Entry-2
From: RO, ROSCOE.CONTROL
Seq . ----+----¬----+¬---2----+----3----+----4----¬----5----+----6----+----7-¬
1 . This is the message text.
2 . It can be any message.
3 . It can be as long as you want.
4 . End of message.
------------------------------------------------------------------------------
PF1 Help 2 CopyMem 3 Exit 4 Bwd (Top) 5 Fwd (Top) 6
7 Backward 8 Forward 9 1 Top 11 Bottom 12 ZMsg
After you have completed entering the text, you can select one of the
commands listed at the bottom of the Reply screen. The functions specific to
this screen are:
PF1/13 Help Invokes the Help facility.
PF2/14 CopyMem Copies a member you specify into the message text.
PF4/16 Bwd (Top) Scrolls the top half of the screen backward one screen.
PF5/17 Fwd (Top) Scrolls the top half of the screen forward one screen.
If you do not want to use any of the functions, and the thread or message text
is complete, Exit from the Reply panel using PF3/15. This takes you to a
screen that has only one open field. This is the thread title panel of the BBS.
Enter the title of your thread or message. The title field accepts up to 30
characters.
-- BBS -----------------------------------------------------------------------
------------------------------------------------------------------------------
PF1 2 NewThread 3 Cancel 4 5 6 EditAgain
7 8 9 1 11 12
There are only four functions you can perform from this screen.
1. If you created a new thread, use PF2/14 NewThread. This adds your
thread to the Message Selection list, under the title you issue on this
screen.
2. If you do not want to add a thread or message at this time, you can use
PF3/15 Cancel, and cancel the entire message. You return to the panel you
were on before using PF6/18 Addmsg.
3. If you want to go back to the message text and edit it, use PF6/18
EditAgain. You will return to the Reply panel, and are in Edit Mode.
4. If you want to create the thread or message that will be added to an
existing thread, press Enter. This adds your thread or message, and you
will return to the panel you were at when you selected PF6/18 Addmsg.
-- BBS ----------------------------------------------------- Press PF3 to exit
Current message: ZZB - New Message Thread Entry
Note: The BBS index data are NOT refreshed after any of these functions.
The Utility display has several fields:
Error/Status As seen previously, this is the line of hyphens at the top. It
will contain any messages issued by Utility.
Current message: This is the thread entry you were viewing or pointing to
when you entered the Utility panel. The display will contain
the member name of the message (thread prefix + code),
and the message title.
The parameter values you set are saved from one BulletinBoard session to the
next. They remain in effect until you change them again.
-- BBSOpt -------------------------------------------------- Press PF3 to exit
Saved AWS name prefix: BBSAWS Panel member name prefix: ZZZZZP
The BBSOpt fields are:
■ Save AWS on entry(Y/N)?
Before entering the BBS, the AWS can be saved so that you can resume
processing when you exit. This is important if you do not want to lose the
data in your active AWS. The default is set to 'Y', to save the AWS.
■ Saved AWS name prefix:
This is a prefix you can give to the saved AWS that was saved on entry to
the BBS. You can give the AWS a six-character prefix so you will know it
was created by BBS. The default prefix is BBSAWS.
■ Unread messages attribute:
All threads and thread entries you have not read will have a high intensity
setting. This allows you to easily select those entries you have not seen.
The default attribute for unread messages is UH. This makes all unread
messages Unprotected and Highlighted.
■ Read message attribute:
All threads and thread entries that you have read are highlighted
according to this setting. This helps you to identify the messages you have
already viewed. The default attribute for read messages is UL. This makes
all messages you have read Unprotected and Low (normal) Intensity.
Note: The attributes follow Advantage CA-Roscoe standard panel
attribute coding. BBSOpts accepts the following attributes:
UH Unprotected, High Intensity
UL Unprotected, Low (normal) Intensity
SH Skip protected, High Intensity
SL Skip protected, Low Intensity
BBS accepts the same attribute for both read and unread messages.
■ Advantage CA-Roscoe printer name:
Specify the name of the printer that you want to print all requested
threads and entries. The default is set by your site.
The BBS News panel is displayed to you the very first time you sign onto the
BulletinBoard System. You are not presented with the announcements again
unless you specifically request it or new announcements are posted. When
this information is updated, you are presented with the BBS News screen
when you sign-on BBS.
There may be times when you need to refer to this information again. The
Show News utility allows you to specifically request to view the
announcements.
You can redisplay the BBS News Announcement panel from the Utility Option
menu. The field Show News places you in the ZAnn mode. This is the
Announcement mode. The screen contains all current BBS news and
information that is posted by your site. Shown below is a sample of the
information that a site can 'Broadcast.'
-- ZAnn ----------------------------------------------------------------------
more =>
Current BBS News
============== S T A R T O F A N N O U N C E M E N T S =============
===> You will not be presented with this 'news' again unless
you request it or it changes.
Now, PRESS PF3 to Exit this 'news' and enter the Bulletin
Board System.
------------------------------------------------------------------------------
PF1 Help 2 3 Exit 4 5 6
7 Backward 8 Forward 9 1 Top 11 Bottom 12 ZMsg
PRUNING IN PROGRESS
on the Error/Status line, on the right side. After BBS has finished the Pruning
function, you remain in the initial BBS Utility menu panel.
| Note: Pruning deletes all but the last viewed thread entry.
The Print Message Utility puts you in DoPrint mode, and displays the screen
shown in the panel below.
-- DoPrint -------------------------------------------------------------------
------------------------------------------------------------------ Line 1 of 9
=================================== T O P ====================================
--------------------------------------------- New Message Thread Entry-2
From: RO, ROSCOE.CONTROL
------------------------------------------------------------------------------
PF1 Help 2 3 Exit 4 Print 5 6
7 Backward 8 Forward 9 1 Top 11 Bottom 12 ZMsg
The Print Message screen contains the following fields:
Error/Status As seen previously, this is the line of hyphens at the top. The
mode on the left is DoPrint. The right side of the line displays
any messages issued by DoPrint.
Destination: The destination output is sent to. If this is blank, the default set
with the Set Options utility are used.
PRINT Tag The name that identifies the printed output.
Message text The text of the message you want to print is displayed in the
bottom portion of this screen. The first line of the message
contains its title.
To print the message, fill in the two fields listed on the top of the screen, and
press PF4/16 PRINT. You receive a response on right side of the Error/Status
line that tells you if the print request was successful.
The Print Thread Utility will put you in DoPrint mode, shown in the following
panel.
-- DoPrint -------------------------------------------------------------------
more =>
Destination: DEFAULT. PRINT Tag: ZZB.....
----------------------------------------------------------------- Line 1 of 36
=================================== T O P ====================================
Thread title: New Message Thread Entry-2
------------------------------------------------------------------------------
PF1 Help 2 3 Exit 4 Print 5 6
7 Backward 8 Forward 9 1 Top 11 Bottom 12 ZMsg
The Print Thread screen contains the following fields:
Error/Status As seen previously, this is the line of hyphens at the top.
The mode on the left will be DoPrint. The right side of the
line will display any messages issued by DoPrint.
Destination: The printer destination the output is sent to. If this is blank,
the default set with the Set Options utility is used.
PRINT Tag The name that identifies the printed output. The thread
prefix code is the first three characters.
<= more => This field is displayed if the threads comprise more that one
screen.
Thread entries The rest of the display contains the thread and all the
thread entries comprising it. Each thread is separated by a
line of hyphens; the thread entry title is on the right side
and the thread it defines is below.
To print the thread, fill in the two fields listed on the top of the screen, and
press PF4/16 PRINT. You receive a response on the right side of the Error/Status
line telling you if the print request was successful.
PF12/24 ZMSG.
This function is listed on all screens, in all modes (except when already within
the ZMsg mode), and is always PF12/24. Issuing the ZMsg command will
place you in the ZMsg mode.
=================================== T O P ==================================
JOB NOTI: JES REQUEST 3 SUBMITTED TO DEST ADRPMVS3
================================ B O T T O M ===============================
------------------------------------------------------------------------------
PF1 Help 2 News 3 Exit 4 Swap 5 Delete 6 FindUser
7 Backward 8 Forward 9 SetOpts 1 Top 11 Bottom 12 Refresh
The ZMsg display shown above has several fields:
Error/Status The first line of hyphens at the top. If you request an
invalid function, ZMsg issues a highlighted error message
in this field. Otherwise, the field contains the time the
screen was last updated.
Prefix/Key Enter the 2- or 3- character Advantage CA-Roscoe prefix,
or the Advantage CA-Roscoe key of the user to which you
are sending a message. If you enter data in both fields,
If GetMsgs is not active, the date, time, and your key are on the line
directly above the message(the message is in ZZZZZMSG format):
MM/DD/YY HH:MM:SS MYKEY
– The messages you receive are highlighted, and contain the first eight
characters of the sender's Advantage CA-Roscoe key, followed by the
message text (and the date and time if GetMsgs is inactive.)
To send the message, press Enter. The message is sent, and your message field
is immediately updated to include this information. The following panel
displays this activity.
-- ZMsg ----------------------------------------------- Message sent to pfx=ro
=================================== T O P ==================================
JOB NOTI: JES REQUEST 3 SUBMITTED TO DEST ADRPMVS3
ROSCOE.C: send this message to myself
>>RO : send this message to myself
================================ B O T T O M ===============================
------------------------------------------------------------------------------
PF1 Help 2 News 3 Exit 4 Swap 5 Delete 6 FindUser
7 Backward 8 Forward 9 SetOpts 1 Top 11 Bottom 12 Refresh
You can see that the Status line on the top of the screen tells you that the
message was sent, and to what prefix. Because GetMsgs is active, you see only
the message and key or prefix. Notice that the new messages are added after
the existing message from the Console. In this example, the user sent a
message to himself, so the display contains both messages sent and received.
From this ZMsg panel, you can also choose any of the PF-key functions listed
on the bottom. The following functions are specific to this ZMsg screen:
PF1/13 Help Displays Help for ZMsg.
PF2/14 News Displays the current News Announcements specific to the
ZMsg mode.
PF4/16 Swap Switches text display from column 1 to 40, and back.
PF5/17 Delete Deletes your ZZZZZMSG member.
PF6/18 FindUser Checks if a specified Advantage CA-Roscoe user is signed
on.
PF9/21 SetOpts Invokes ZMsgOpts, to set up specific ZMsg options.
PF12/24 Refresh Updates the display.
ENTER Sends a message to a specified user.
CLEAR Exits ZMsg.
-- ZMsgOpts ------------------------------------------------------ PF3 to exit
The above panel shows the ZMsg options:
1. Suppress Advantage CA-Roscoe messages when exiting ZMsg? (Y/N):
This controls whether you receive all of the messages that were sent to you
while you were in the BBS. If this is set to 'Y', or YES, the words "Suppress
active" appears on the right side of the Options line. When Suppress is
active, an Advantage CA-Roscoe SET SEND OPR command is issued. This
command permits only those messages sent by the operator to be
displayed at your terminal, and suppresses all other messages. When you
exit the BBS, you do not receive the Advantage CA-Roscoe messages you
already viewed in the ZMsg member.
If it is set to 'N', all Advantage CA-Roscoe messages are redisplayed on the
Response line, one at a time, after you exit the BBS.
2. GetMsgs processing active? (Y/N):
This controls how the ZMsg member is displayed. When this is set to
'Y'(default), the words "GetMsgs active" appear on the right side of the
Options line. The contents of ZZZZZMSG are processed to make them
easier to read. The message text only contains the key you sent the
message to or received the message from, a colon, and the message text. If
GetMsgs is not active, the message text is not modified. It contains the
time and date, and is in the original ZZZZZMSG format.
-- FindUser ------------------------------------------------------------------
------------------------------------------------------------------------------
PF1 Help 2 News 3 Exit 4 5 6
7 Backward 8 Forward 9 1 Top 11 Bottom 12 ZMsg
The information provided through FindUser is the same as the data you
receive when you issue the following command.
All other functions that can be executed from this panel have been previously
described.
ROSCOE TO DB2
1. ROSCOE USING SQL TERMINAL INPUT (RUSTI)
2. SOURCE LANGUAGE DECLARES (DECLGEN)
3. CREATE APPLICATION PLAN (BIND)
4. REPLACE APPLICATION PLAN (REBIND)
5. REMOVE APPLICATION PLAN (FREE)
6. ISSUE DB2 COMMANDS (CMNDS)
7. EXECUTE PROGRAM UNDER ETSO (RUN)
<CLEAR> PFK3
REFRESH EXIT
As illustrated by this sample menu, you can use this facility to execute the
following DB2 services:
■ Dynamic SQL Execution:
For detailed information about using this facility, see the Advantage
CA-Roscoe/DB2 User Guide.
Since DMF builds the panels, you only have to be concerned with formatting
the information unique to each panel. DMF provides each panel with a title
line, error message line and lines for displaying PF key assignments.
One of the PF key functions is a Help facility. To use this facility, all you need
do is tell DMF which DMF Help panel to use. If the individual executing the
application requests Help, DMF will display the appropriate Help panel.
With these features, DMF frees you from doing the repetitive or routine
portions of your panel-driven application.
Frequently, sites provide RPF programs that handle file allocation and
application invocation. Thus, all you need to do is execute the RPF program.
The sample RPF programs shown in the following example illustrate two
methods of executing the IBM utility IEBCOPY.
IEBCOPY1
>
> AWS() SCRL FULL COLS 1 72
> <...+....1....+....2....+....3....+....4....+....5...
...... ================================ T O P ==============
1 <<IEBCOPY1>> : Execute Via ETSO
2 ALLOCATE SYSPRINT SYSOUT=T
3 ALLOCATE INDD DSN=SAMPLE.INPUT,DISP=SHR
4 ALLOCATE OUTDD DSN=SAMPLE.OUTPUT,DISP=SHR
5 ALLOCATE SYSUT3 UNIT=SYSDA,SPACE=(CYL,2)
6 ALLOCATE SYSUT4 UNIT=SYSDA,SPACE=(CYL,2)
7 ALLOCATE SYSIN DSN=SAMPLE.CONTROL,DISP=SHR
8 CALL IEBCOPY
IEBCOPY2
>
> AWS() SCRL FULL COLS 1 72
> <...+....1....+....2....+....3....+....4....+....5...
...... ================================ T O P ==============
1 <<IEBCOPY2>> : Execute Batch Job
2 WRITE AWS T
3 '//BATCHJOB JOB . . . '
4 '// EXEC PGM=IEBCOPY'
5 '//SYSPRINT DD SYSOUT=T'
6 '//INDD DD DSN=SAMPLE.INPUT,DISP=SHR'
7 '//OUTDD DD DSN=SAMPLE.OUTPUT,DISP=SHR'
8 '//SYSUT3 DD UNIT=SYSDA,SPACE=(CYL,2)'
9 '//SYSUT4 DD UNIT=SYSDA,SPACE=(CYL,2)'
1 '//SYSIN DD DSN=SAMPLE.CONTROL,DISP=SHR'
11 ENDWRITE
12 SUBMIT
As illustrated in the upper portion of the screen, the ALLOCATE command
allocates the needed files and assigns them DD names that are referenced by
the application during execution. The CALL command is then used to identify
and initiate execution of the application.
You can allocate one or more AWSs. An AWS can be used as either an input
or output file or it can be both. To allocate the active AWS, use the AWS
keyword with the command, as in:
ALLOCATE SYSIN AWS
To allocate a specific AWS, use the AWS= keyword to identify the appropriate
AWS, as in:
ALLOCATE SYSIN AWS=SAMPLE
If an AWS is defined as an input file, the application will read from that AWS
until the end of the AWS is reached.
If an AWS is defined as both an input and output file, the input data in that
AWS is overlaid by the output data written to it when the application ends
(either successfully or unsuccessfully) or the application closes the output file.
A library member can also be used as both an input and output file. To
allocate a library member, include the member name with the keyword
MEM=. If the library member belongs to another user, include that user's
prefix, as in:
ALLOCATE SYSIN MEM=XYZ.CONTROL
If a library member is designated as an input file, the contents are read until
the end of the member is reached.
If you designate a library member as an output file and that member does not
currently exist, the member is created when data are written to it. (If the
non-existent member is defined as an input file, the application terminates.)
When the terminal is used as an input or output file, you should determine
what escape sequence you want before executing the application. You need the
escape sequence to:
■ Indicate the end of input. When the application begins executing, the
keyboard is locked. The keyboard unlocks when the application requests
input. To force an end-of-input condition, enter the escape sequence in
response to a prompt for input.
■ Terminate an application. If the terminal is defined as an output file, the
keyboard is unlocked when output exceeding a screen is written to the
terminal. At that time, you can terminate the application by entering the
escape sequence.
While site management has the option of changing the default, it is usually
two consecutive periods (..). To change the escape sequence, use the SET
ESCAPE command, as in:
SET ESCAPE //
Any sequential data set, PDS member or temporary data set can be designated
by the ALLOCATE command. For example:
■ To designate that all read/write operations to a file are to be ignored,
follow the DD name with the keyword DUMMY, as in:
ALLOCATE IGNOREDD DUMMY
■ To designate an output file, include the appropriate SYSOUT information,
as in:
ALLOCATE SYSPRINT SYSOUT=(W,,LTRH) DEST=ABCD COPIES=2
■ To allocate space for a data set that is to be referenced by the application,
you might specify:
ALLOCATE SAMPLE DSN=ROSCOE.TEST
DISP=SHR VOL=STOR2 UNIT=338 SPACE=(TRK,(2,2))
RECFM=FB LRECL=122 BLKSIZE=798
This example illustrates the type of information you can specify with the
command. It does, however, violate the rule that a command entered from
the terminal cannot exceed the width of the screen (it cannot be
continued).
■ To use the attributes associated with a previously defined data set, use the
LIKE= operand. If the IBM DFSMS is not installed at the site, the existing
data set's DCB parameters are used. If DFSMS is installed, the attributes
copied from the existing data set are AVGREC, KEYLEN, KEYOFF,
LRECL, RECORG (or RECFM) and SPACE.
ALLOCATE SAMPLE2 DSN=ROSCOE.TEST2@LIKE=ROSCOE.TEST
SPACE=(TRK,(1,5))
In this example, the SPACE= operand is used to override the space
allocation in the existing data set.
■ To allocate a data set that is defined in the Advantage CA-Roscoe JCL, use
the JCLDD= operand, as in:
ALLOCATE MYDD JCLDD=SITEDD
where SITEDD is the DD name associated with the data set. This form of
allocation is useful for data sets that are frequently referenced by one or
more users.
■ To concatenate data sets, list the data set object names in the appropriate
order. You can concatenate a maximum of ten names. They must be bound
by parentheses.
ALLOCATE SITELIB DSN=(ROSCOE.TEST1, ROSCOE.TEST2)...
■ To allocate a temporary data set, omit the keywords DUMMY, SYSOUT=
and DSN=, as in:
ALLOCATE SYSUT3 UNIT=SYSDA,SPACE=(CYL,2)
>
>
....+....1....+....2....+....3....+....4....+....5....+....6.
DDNAME TYPE DISP MEMBER DATA-SET NAME
------ ---- ---- ------ -------------
SYSIN AWS
SYSIN1 LIBRARY pfx.CONTROL
IGNOREDD DUMMY
SYSPRINT SYSOUT CLASS=W FORM NAME=LTRH
DATASET NEW ROSCOE.TEST
DATASET NEW ROSCOE.TEST2
SYSUT3 DATASET NEW
When your application completes its execution, you should release all of the
files that you allocated. You can use the FREE command to release these files.
For example, to release the file with the DD name SYSIN, you would enter:
FREE SYSIN
If any of your files are still allocated when your terminal session ends, they are
automatically released. Also, if your application dynamically allocates any files,
they are freed when your application ends.
You can pass information to the application through the CALL command. For
example, if the application TEST expects an inventory number to be passed,
you might invoke the application by entering:
CALL TEST /SR2O5/
If, after initiating execution, you decide to end the program, you can do so by
pressing the Attention key.
in any unprotected field and press PF12. The cursor must immediately follow
the command.
Note: The colon and PF key assignment are the Advantage CA-Roscoe
defaults. Use the STATUS SYSTEM display to determine if your site
management has changed these defaults.
If you initiated execution through an RPF program, that program tells you
how to resume execution.
2. ALLOCATE FT5F1
3. ALLOCATE FT6F1
4. ALLOCATE FT7F1 AWS
where:
■ FT05F001 is the DD name of the input file.
■ FT06F001 is the DD name of an output files that writes the prompts
and computed results.
■ FT07F001 is the DD name of a second output file that writes the
computed mortgage tables.
5. Initiate execution of the application.
The CALL command initiates execution of applications defined to ETSO.
Therefore, to execute MORTGAGE, enter:
CALL MORTGAGE
When the applications end, you should use the FREE command to deallocate
the files. If you do not, your allocated files are automatically released when
you sign off Advantage CA-Roscoe.
FREE FT71
ALLOCATE FT71
CALL MORTGAGE
Use the TSO command to execute TSO commands from within an RPF or from
the Advantage CA-Roscoe command line. The TSO command can be used in
place of or in conjunction with a CALL command. For example, to allocate
files necessary for logging onto ISPF, enter:
TSO EXEC 'TSTPRN.TSTPRN)1.CLIST(LOGTSO)'
Or, to execute the CLIST MYEXEC from your TSO CLIST library, enter:
TSO %MYEXEC
If the TSO command invokes a full-screen process, that process will take over
the screen. If the process is a line-mode TSO command, output will be written
to the execution area.
Perhaps its most important feature is that RPF is designed to take full
advantage of all Advantage CA-Roscoe commands and facilities. All of the
commands can be incorporated without modification into RPF programs. By
using Advantage CA-Roscoe commands with RPF's interactive language,
error-prone and complicated tasks can be simplified so that it becomes easy to:
■ Enter, verify, and edit data.
■ Create, save, access, and modify library members.
■ Build, verify, submit, and track jobs.
■ Retrieve, examine and, optionally, save resulting output.
■ Control utility functions and housekeeping tasks performed against OS
data sets.
RPF programs are stored in the Advantage CA-Roscoe library, with names that
follow standard Advantage CA-Roscoe naming conventions.
U P D A T E C U S T O M E R M A S T E R F I L E
CONTACT: ADDRESS:
TITLE:
Occasionally, an RPF program may be given a name that is also the name of
an Advantage CA-Roscoe command (SAVE, for example). When this occurs,
more explicit invocation of the program is required to avoid executing the
Advantage CA-Roscoe command. To explicitly execute an RPF program,
precede the program name with the EXEC command. For example, to execute
an RPF program named SAVE, you would enter:
EXEC SAVE
For additional information about the RPF language and how to write RPF
programs, see the Advantage CA-Roscoe Interactive Environment RPF Language
Guide. You can also use TRAINING, which is an interactive application that
introduces RPF. For information about using this learning aid, enter:
HELP TRAINING
Using just a few prompt panels, you can use SKETCH to:
■ Design a BMS or MFS map. The input can be from: 1) your responses to
SKETCH prompts, 2) an RPF panel, or 3) an existing map.
■ Specify individual fields within a map. Default values for the fields (for
example, attributes and colors) are automatically supplied by SKETCH.
You have the option of modifying the site-defined default values that are
used in generating the macros/statements defining: 1) all maps and map
fields, or 2) a particular map.
■ Generate the macros/statements used in creating the map(s).
Before generating the macros, you have the option of displaying a
prototype map, thus ensuring that the map you are about to generate is
correct.
■ Generate the JCL to:
– Assemble and link-edit the BMS macros. You can also designate
whether the resulting output is to be used in an Assembler, COBOL or
PL/I application program.
– Create the online blocks for the MFS statements. You can designate
whether the resulting output is to be placed in the production or test
library.
A.3 Signing On
At typewriter devices, Advantage CA-Roscoe issues a sign-on prompt like the
one below:
To sign on, type the sign-on key given to you by your site management and
depress the RETURN key.
If RACF protection is in effect at your site and group codes are used, the
group code should be entered with the sign-on key (separated by a slash), as
in:
If the account has previously been assigned a password (either by you or site
management), the following prompt is issued:
After this prompt is issued, the terminal types meaningless characters in the
field where the password is to be entered. This provides a mask, so that other
users are not able to see your password as you enter it.
A new password can be entered at the same time as the current password. The
two passwords must be separated by a slash, as follows:
OFF
To sign off of Advantage CA-Roscoe and redisplay the sign-on prompt, enter:
OFFON
Retype and resend the line. If such an error occurs while the terminal is
executing an RPF program, the program is terminated. If the error occurs
while Advantage CA-Roscoe is attempting to send data to the terminal, retry
procedures are executed. In the rare case that errors are found during the retry
procedures (indicating severe communication problems), Advantage
CA-Roscoe signs the terminal off. Attempt to reestablish connection from
another terminal.
When any of these conditions occur, your are signed off. Any data in an AWS
is saved in your library as the member SAVAWSnn where 'nn' is a unique
identifier.
Use the ATTACH JOB command to begin printing the output. After the
number of lines specified by the BREAK command have printed, the carriage
stops at the right side of the device. To continue listing the job, enter:
ATTACH JOB *
Index X-1
AJOB Command ATTACH Command (continued)
Job Execution Status 29-2 Data Set Facility (continued)
Job Facility GDG 25-13
Menu 28-9 LIBRARIAN Module 25-15—25-16
Selection List 28-13 LIBRARIAN Selection List 25-2
Job Information 29-7 Menu 24-2
AllFusion CA-Librarian PDS Member 25-15—25-16
-INC Statement Expansion PDS Selection List 25-18
Controlling 6-18 Volume Selection List 25-27
Attaching Module 25-15 Job Output 30-2—30-5
Attaching Selection List 25-2 Library Facility
Using EXPORT Command 27-55 Member 32-9
AllFusion CA-Panvalet Menu 31-3—31-4
EXPORT Command Selection List 32-2
Using 27-55 VTOC Selection List 25-32—25-33
ALLOCATE Command Attributes
Data Sets Job Output File
Using 27-2, 27-3 Change Using Command 30-16
Under ETSO 38-4—38-5 Change Using Job Menu 30-17
Allocate Function Panel Change Using Selection List 30-18
Description Of 27-3 Change Using STATUS JOB
Using 27-3 Display 30-22—30-23
Allocate SMS Function Panel Displaying 30-22—30-23
Description Of 27-6 Library Member
Using 27-3 Changing Default Access 6-18
Allocating Files Automatic
Data Set Under ETSO 38-5 Indentation
Data Sets 27-2, 27-3 Controlling 6-16
Library Member 38-4 Using 18-13
Terminal 38-5 Line Insertion
ALTER Command Controlling 6-16
AWS Attributes 13-5 Using 18-7
Job File Attributes 30-16 Signoff
Library Member Attributes 34-2, 34-3 Controlling 6-16
Altering Site Defaults 6-13
AWS Attributes 13-5 Terminal Lock
Job File Attributes Controlling 6-18
Commands 30-16 Site Defaults 6-13
Job Facility 30-17 AWS
Selection List 30-18 Adding String To Line
STATUS JOB Display 30-22—30-23 At Beginning 14-2
Library Member Attributes At End 14-2
Command 34-2, 34-3 Between Specific Columns 14-2
Function Panel 34-13 Attaching 13-3
Selection List 34-3, 34-4 Bringing Data Into 13-4
Arithmetic symbols (syntax diagrams) xxvii Creating 13-6, 13-7
ATTACH Command Deleting Contents
AWS 13-3 Using Line Commands 16-4
Controlling Pausing 6-16 Using Primary Commands (By Line
Data Set Facility Number) 16-2
Catalog Selection List 25-7, 25-8, 25-9—25-11 Using Primary Commands (Lines Containing
Data Set 25-25, 25-26 String) 16-2
Index X-3
BulletinBoard System (continued) Catalog Selection List (continued)
Print (continued) Reattaching 26-10
Thread Entry 35-15 Search for String
Prune Profile 35-15 All Occurrences 26-4, 26-5
Reply/Insert Mode 35-9, 35-10 By Occurrence 26-3
Send Messages 9-5 Non-Matching Occurrences 26-4, 26-5
Sending Messages to Advantage CA-Roscoe Selecting Different Level 25-37
Users CB Line Command 15-3
Description 35-19 CC Line Command 15-3
Using ZMsg 35-22—35-24 CDSN Command 27-56
Session parameters, Set 35-13 Center Text
Set Defaults Using Line Commands 19-3, 19-4
Options (Utility) 35-13 Using Primary Command 19-2
Printer 35-14 CHAIN Command 34-7
Read Message Attribute 35-14 Character Set
Unread Message Attribute 35-14 Description Of 2-5
Signing On 35-2 Display/Change Using STATUS AWS 17-5
Suppress Message Processing 35-21 Language
Utility (PF1/13) 35-12—35-18 Changing 6-16
View News Announcements 35-14 Defining 3-2
Viewing Message Thread 35-6 Reserved Characters 2-5, 2-6
Viewing Thread Entries 35-7, 35-8 Translation Mode
ZMsg Function (PF12/24) 35-19—35-24 Changing 6-18
ZMsg Mode 9-5 Defining 3-3
Character Translation
Display/Change 17-5
C Character, Replace
C Line Command 15-3 Using Line Command 14-5
CALL Command 38-7 Using Primary Command 14-4
Cancel Function (BBS) 35-11 CICS
Cancel Job Signing On Via 10-6
Using Job Facility 30-29 COLS
Using Selection List 30-30 Field on System Information Line 8-6
Capitalize Text Column Boundaries
Initial Cap Display/Change 6-2, 6-3
Using Line Commands 19-6 Using STATUS AWS 17-3
Using Primary Command 19-5 Session Change
Lowercase All Using BOUNDS Line Command 4-5, 4-6
Using Line Commands 19-5 Using SET BOUNDS 4-4
Using Primary Command 19-5 Using STATUS AWS 4-3
Printing 7-3 Using STATUS DISPLAY 4-3
Uppercase All Temporary Change 4-2
Using Line Commands 19-5 Comma
Using Primary Command 19-5 repeat symbol, use in xxx
CATALOG Command 27-9 Command Area
Catalog Selection List Change Size of 6-16
Attaching 25-7, 25-8 Description 8-2
Description Of 25-9—25-11 Use To Enter AWS Data 18-11
Detaching 26-2 Commands
Function Codes Correcting Invalid/Incomplete 2-10
List Of 25-9—25-11 Defaults, Site-defined 6-13, 6-14
Index X-5
Data Set Facility (continued) Data Sets (continued)
Menu Description 24-3—24-6 Renaming (continued)
Printing 27-40 Using Selection List 27-51
Releasing Space 27-47 Searching For String
Renaming 27-48 Lines Limit, Changing 6-16
Search for String Lines Limit, Site Default 6-14
All Occurrences 26-4, 26-5 Uncataloging 27-53
By Occurrence 26-3 Writing To
Non-Matching Occurrences 26-4, 26-5 Controlling Directory Updates 6-18
Selecting Display 25-37 Description 27-54
Selection Lists Using EDSN 27-55
Function Code Hierarchy 24-11 Using EXPORT 27-54
Overview 24-11 Date Format
Refreshing 24-14 Changing 6-16
Uncataloging 27-53 Display Current 6-15
Data Sets Site Defined 6-14
Allocating DB Line Command 16-4
Command 27-2, 27-3 DB2 and Advantage CA-Roscoe 36-1
Attaching 25-25, 25-26 DD Line Command 16-4
Cataloging 27-9 Default values (syntax diagrams) xxxi
COMPRESS Message Control DEFINE ALIAS Command 27-20
Changing 6-16 DEFINE GDG Command 27-22
Compressing PDS Defining
Description 27-18 Alias Function Panel
Copying Description 27-20, 27-21
Using Command 27-11 Displaying 27-19, 27-20
Using Function Panel 27-14 Using 27-19, 27-20
Using Selection List 27-17 GDG Function Panel
Define Alias Description 27-22
Using Command 27-19, 27-20 Displaying 27-22
Using Function Panel 27-20, 27-21 DELETE Command
Define GDG AWS Contents 16-2
Using Command 27-22 Data Set Object 27-25, 27-26
Using Function Panel 27-22 Library Member 34-10
Deleting Delete Confirmation Panel
Using Command 27-25, 27-26 Data Set Facility 27-30
Using Function Panel 27-26 Library Facility
Using Selection List 27-29 Description Of 34-11
Display Contents in HEX 5-7, 5-8 Detaching 34-11
DSCB Empty Control 6-16 Delete Function Panel
Editing 27-55 Data Set Facility 27-26
Function Panel 27-3 Library Facility 27-26
Inquiring About 27-32 DELETE Hardware Key 16-7
Migration Recall Control 6-16 DELETES Command 16-2
Printing DELETEX Command 16-2
Using Command 27-40 Deleting
Using Function Command 27-41 AWS Contents
Using Selection List 27-45 Using ERASE EOF Key (Controlling
Releasing Space 27-47 Extent) 6-16
Renaming Using Line Commands 16-4
Using Command 27-48 Using Primary Commands (By Line
Using Function Panel 27-48 Number) 16-2
Index X-7
ERASE EOF Key (continued) Forced Signoff
Using to Delete (AWS Data) 16-6 3270-Type Devices
ET Line Command 14-7 STATUS DISPLAY Information 6-16
ETSO Formatting
Allocating Data
Data Sets 38-5 Using Automatic Indentation 6-16
Files 38-4—38-5 Using Line Commands 19-11, 19-12
Terminal 38-5 Using Primary Command 19-10, 19-11
Applications Using TAB Facility 18-14, 18-15
Executing 38-3 FRAM (SCRL Field Value) 8-4
Change Escape Sequence 6-18 FREE Command 38-7
Determining Executable Applications 38-2 FULL (SCRL Field Value) 8-4
Executing
Applications 38-3, 38-7
TSO Procedures 38-10 G
Freeing Files 38-6 Generation Data Group (GDG)
Overview 38-1 See Data Set Facility
Querying Files 38-6 GetMsgs Processing (BBS) 35-21
Release Allocated Files 38-6 GROUP CODE Field on Sign-on Screen 10-3
Resume Application Execution 38-7
Suspend Application Execution 38-7
EXCL Command
H
HALF (SCRL Field Value) 8-4
AWS 20-5, 20-6
HELP Command 12-3—12-4
Job Output 30-9
HELP Facility 12-3—12-4
Library Facility 33-4
Hex
EXCL Line Command 20-7
Locate String In 20-10, 20-11
Execution Area 8-6
Hexadecimal Display
Exit Function (BBS) 35-3
Setting 5-7, 5-8
EXPLICIT
Hierarchy
LIB ALTER Operand 34-3, 34-4
Command Evaluation 2-9
EXPORT Command 27-54
HLP Keyword on System Information Line 8-3
Extended Time-Sharing Option
See ETSO
I
F I Line Command 18-6, 18-7
IB Line Command 18-6, 18-7
FETCH Command 34-6
Ignore! Function (BBS) 35-5
Fill Character
IM Line Command 18-9
AWS 6-18
IMPLICIT
Display/Change 17-4
LIB ALTER Operand 34-3, 34-4
FILL Command 14-2
INCL Command
FindUser Function (BBS) 35-25
AWS 20-5, 20-6
FIRST Command
Job Output 30-9
AWS 20-2
Library Facility 33-4
Job Output
INCL Line Command 20-7
Locate String 30-8
Initial Cap Text
Position Within 30-12
Using Line Commands 19-6
Library Facility 33-3, 33-4
Using Primary Command 19-5
FIRST Line Command 20-3
INPUT Command
Firstnew Function (BBS) 35-5, 35-6
Entering Data 18-2—18-4
Using Power Typing 18-5
Index X-9
L Library Member (continued)
Creating 23-2
Language Character Set Deleting
Changing 6-16 Using Command 34-10
LAST Command Using Function Panel 34-10
AWS 20-2 Using Selection List 34-11
Job Output Display Format 5-7
Locate String 30-8 Displaying
Position Within 30-12 Data in HEX 5-7, 5-8
Library Facility 33-3, 33-4 Format of Display 32-10
LAST Line Command 20-3 HEX display 5-7, 5-8
Lastread Function (BBS) 35-5 Inquiring About 34-13
LC Line Command 19-5 Position Display
LCB Line Command 19-5 To Named Line 33-8
LCC Line Command 19-5 To Specific Line 33-8
LCT Line Command 19-5 Printing
LIB Using Command 34-15
Keyword on System Information Line 8-3 Using Function Panel 34-15
LIBRARIAN Selection List Using Selection List 34-18
Detaching 26-2 Renaming
Reattaching 26-10 Using 34-20
Search for String Using Command 34-20
All Occurrences 26-4, 26-5 Using Function Panel 34-20
By Occurrence 26-3 Using Selection List 34-21
Non-Matching Occurrences 26-4, 26-5 Save AWS Contents As 23-2
Selecting Different Level 25-37 Search for String
LIBRARY Command 31-3—31-4 All Occurrences 33-4
Library Facility Non-Matching Occurrences 33-4
Alter Member Attributes 34-2, 34-3 Specific Occurrence 33-3, 33-4
Attaching Update Contents 23-5
Member 32-9 Library Member Display
Selection List 32-2 Display Format 5-8
Copying 34-5 Sequence Number Display 5-6
Deleting 34-10 Library System, Description 31-1
Detaching 33-2 Line Commands
Function Panels Description 31-6 Correcting Invalid/Incomplete 2-10
Inquiring About Member 34-13 Description of Use 2-3, 2-4
Library System 31-1 Display Format Description 2-2
Menu 31-3—31-4 Evaluation Hierarchy 2-9
Printing 34-15 Locate Advantage CA-Roscoe Users (BBS) 35-25
Reattaching 33-10 Locate/Display Data
Selection List All Occurrences
Function Code Hierarchy 31-8, 31-9 In AWS (Modifiable Display) 20-6, 20-7
Refresh 31-9 In AWS (Non-Modifiable Display) 20-6, 20-7
Using 31-7 By Occurrence
Wildcard Characters 32-2 In AWS (Line Commands) 20-3
Library Member In AWS (Primary Command) 20-2
Attaching 32-9 Change Search Boundaries (For Command) 4-2
Copying Change Search Boundaries (For Session)
Using Command 34-5 Using BOUNDS Line Command 4-5, 4-6
Using Function Panel 34-7, 34-8 Using SET BOUNDS 4-4
Using Selection List 34-8, 34-9 Using STATUS AWS 4-3
Index X-11
N OMIT Command 20-6, 20-7
OMT Line Command 18-10
Name OO (Destination/Overlay) Line Command
Field on System Information Line 8-3 With COPY 15-4
Print Request With Move 21-3
Assigning 7-5 Operator
Displaying 7-11 Job Facility 28-15
News Announcements (BBS) ORDER Command 14-3
Description 35-2 ORDER Operand, Library Facility 32-7
View 35-14 Ordering Library Selection List 32-7
NewThread Function (BBS) 35-11 OT (Destination/Overlay) Line Command
NEXT Command With COPY 15-4
AWS 20-2 With Move 21-3
Job Output Overlay Line Commands
Locate String 30-8 With COPY 15-5
Position Within 30-12 With Move 21-4
Library Facility 33-3, 33-4
NEXT Line Command 20-3
Nextnew Function (BBS) 35-7 P
NONUM Parentheses
Define Sequence Number Display 5-6 syntax diagrams, use in xxviii
NOPRESERVE Mode Password
Character Translation 3-4 Changing User
NOTE Command During Session 10-8, 10-9
With Data Set, Member, Module 26-8, 26-9 When Signing On 10-3, 10-8
With Job Output 30-13 PASSWORD Field on Sign-on Screen 10-2
With Library Member 33-8 PAU Keyword on System Information Line 8-4
Note Names PDS Member 25-15—25-16
Library Member 33-8 PDS Selection List
Notification Messages Attaching 25-18
PRINT Completion 7-7 Description Of 25-19
NUM Detaching 26-2
Define Sequence Number Display 5-6 Function Code List 25-19—25-21
NUM2 Inquire About
Define Sequence Number Display 5-6 Load Module 25-19—25-21
NUMX Source Module 25-22—25-24
Define Sequence Number Display 5-6 Reattaching 26-10
Search for String
Index X-13
Programs (continued) Response Line 8-3
punctuation RPF Programs
syntax diagrams, use in xxvii Description Of 39-1
Prune Profile Utility (BBS) 35-15 Execution Library, Control Use Of 6-18
Punctuation marks (syntax diagrams) xxvii Looping
PURGE Command Change Limit 6-18
Job Output 30-28 Limit Defaults 6-14
Write Limit
Change Setting 6-18
R Site Defaults 6-14
R Line Command 15-5, 15-6 RR Line Command 15-5, 15-6
RBX Prefix 35-2 RSHIFT Command 19-10, 19-11
Read Message Attribute (BBS) 35-14
Reattaching
AWS 13-13 S
Data Set Object 26-10 SAVE Command
Job Output 30-14, 30-15 Assigning Attributes 23-3
Library Facility 33-10 Assigning Description 23-3
Reexecuting Last Command/RPF 2-6 Creating Library Member 23-2
Reformat Lines Saving AWS Contents 23-2
Using Line Command 19-8—19-9 Scale Line 8-6
Using Primary Command 19-7, 19-8 Screen
REFRESH Command Change
Data Set Facility 24-14 Copy Destination 6-16
Library Facility 31-9 Size 8-12
Refresh Function (BBS) 35-5 Components of
Refreshing Selection List Command Area 8-2
Data Set Facility 24-14 Description 8-2
Library Facility 31-9 Execution Area 8-6
RELEASE Command 27-47 Response Line 8-3
RENAME Command Scale Line 8-6
AWS 13-5 System Control Area 8-3—8-5
Data Set Object 27-48 System Information Line 8-3
Library Member 34-20 Copy 15-8
Rename Function Panel Print 7-2
Data Set Facility 27-48 Split
Renaming Full 8-7—8-8
AWS Overview 8-7
Using Command 13-5 Partial 8-9
Using STATUS AWS 17-3 Resplit 8-10
Data Set Object Swap 8-10, 8-11
Using Command 27-48 Terminate 8-11
Using Function Panel 27-48 Types of
Using Selection List 27-51 Full/Half 8-7
Renumber AWS Contents Terminal Lock 8-13, 8-14
Any Time 22-1—22-2 SCREEN Command 8-12
RENUMBER Command 22-1—22-2 Screen Types of 10-2—10-3
Reserved Sign-on 10-3
Characters 2-5, 2-6 Sign-on' 10-2
RESET Line Command 2-11 SDSN Command 27-56
Index X-15
Session Attributes (continued) SET COPYDEST Command
Jobs (continued) STATUS DISPLAY Information 6-16
+INC Expansion Control 6-18 SET CURSOR Command 6-16
Data Width Control 6-18 SET DATEFORM Command 6-16
Search Limits, Changing 6-18 SET DISPLAY Command
List Of 6-5 Change Display Format 5-7, 5-8
Messages, Controlling Display Change Display Margins 5-5
From Advantage CA-Roscoe 6-18 Change Sequence Number Display 5-6
From Monitor 6-18 STATUS DISPLAY Information 6-16
PRINT Completion Notification Changing 7-7 SET DSNCMLST Command
Printing Destination STATUS DISPLAY Information 6-16
Changing 6-18 SET DSNCNT Command
Printing Location Site Default 6-14
Establish 7-9 STATUS DISPLAY Information 6-16
Printing Notification SET DSNEMPTY Command 6-16
Changing 6-18 SET DSNRECALL command 6-16
RPF SET DUPCR command 6-16
Control Execution Library Use 6-16 SET EDITCHNG Command
Control Loop Limit 6-18 STATUS DISPLAY Information 6-16
Control Write Limit 6-18 Tracking Changed Lines 14-8—14-9
Screen Copy Destination SET EOF Command
Changing 6-16 Control ERASE EOF Use 16-6
Screen Positioning When String Located 6-18 STATUS DISPLAY Information 6-16
SCRL Field Value SET ESCAPE Command
Changing 6-18 STATUS DISPLAY Information 6-16
Search Column Boundaries SET EXECPFX command 6-16
Changing 6-16 SET FILL Command
Sequence Number Display 6-18 STATUS DISPLAY Information 6-16
Signoff SET JOBCNT Command
Changing Option 6-16 Site Default 6-14
SET ATTACH Command 6-16 STATUS DISPLAY Information 6-16
SET AUTOFF Command SET MASTER Command
Site Defaults 6-13 STATUS DISPLAY Information 6-16
STATUS DISPLAY Information 6-16 SET MODE Command
SET AUTOINDENT Command Control Character Recognition/Translation 3-3
Inserting Lines 18-13 Control Non-Displayable Character
STATUS DISPLAY Information 6-16 Translation 3-4
SET AUTOINSERT Command STATUS DISPLAY Information 6-16
Insert Additional Lines 18-7 SET MONLEVEL command 6-16
STATUS DISPLAY Information 6-16 SET MONTRAP command 6-16
SET AWSDSPLY Command 6-16 SET MSGLEVEL Command
SET BOUNDS Command STATUS DISPLAY Information 6-16
Change Column Boundaries 4-4 With Job Submission 28-4
STATUS DISPLAY Information 6-16 Set Options Utility (BBS) 35-13
SET CHARSET Command SET PFKDELIM Command
Changing Language Code 3-2 STATUS DISPLAY Information 6-16
STATUS DISPLAY Information 6-16 SET RPSDEST Command
SET CMDLINES Command STATUS DISPLAY Information 6-10
STATUS DISPLAY Information 6-16 SET RPSNOTIFY Command
SET Command For PRINT Completion Notification 7-7
STATUS DISPLAY Information 6-16 STATUS DISPLAY Information 6-18
Index X-17
String Handling (continued) Thread entries, deleting 35-15
Locate Non-Matching Occurrence (continued) Thread Entry (BBS)
In AWS (Non-Modifiable Display) 20-6, 20-7 Create 35-9, 35-10
Locating By Occurrence Print 35-15
In AWS (Line Commands) 20-3 View 35-7
In AWS (Primary Command) 20-2 Thread Title (BBS), Create 35-11
Translate TIME Command 6-15
On Input/Edit 3-3 Time, Display 6-15
With Command 3-3 Title, Message/Thread (BBS) 35-11
SUBMIT Command 28-4 TJ Line Command 19-17
Submitting Data TRACE Command 14-9
Changing Defaults 6-18 Tracking Changed Lines 14-8—14-9
Description 28-4 Translation, Character
SUFFIX Command 14-2 Non-display 3-4
Suppress Message Processing (BBS) 35-21 When Entering/Editing Data 3-3
Syntax Checking When Searching For String 3-3
JCL 28-2, 28-3 When Specified with Advantage CA-Roscoe
Syntax diagrams Commands 3-3
reading (how to) xxvii—xxxii TS Line Command 19-16
SYSOUT Class Requirements 30-4 TSO
System Control Area 8-3—8-5 Command 38-10
System Information Line 8-3 Procedure Execution 38-10
System Printers Signing on to Advantage CA-Roscoe 10-7
Changing Locations TSO Command 38-10
For Request 7-9 TT (Destination) Line Command 15-4
For Session 7-9 With Move 21-3
Displaying Locations 7-9 TTD (Destination/Drop) Line Command
Setting Parameters 7-7 With COPY 15-4
Using 7-2 TUTORIAL, Advantage CA-Roscoe
Description 12-5
TXTCENT Command 19-2
T TXTFLOW Command 19-7
Tab Character TXTJOIN Command 19-14, 19-15
Change Via STATUS AWS 17-5 TXTLCASE Command 19-5
TAB Command 18-14, 18-15 TXTSPLIT Command 19-13, 19-14
TC Line Command 19-3 Typewriter Devices
TCB Line Command 19-3 Establishing Communications A-2
TCC Line Command 19-3 Non-Executable Commands A-11
TCT Line Command 19-3 Signing Off A-5
TE Line Command 18-8 Signing On A-4
Terminal Lock Facility Using The Data Set Facility A-9
Changing Options 6-18 Viewing Job Output A-10
Invoking 8-13, 8-14
Site Defaults 6-13
Terminating 8-13, 8-14 U
Terminate UC Line Command 19-5
Split Screens 8-11 UCB Line Command 19-5
Terminal Lock Screen 8-13 UCC Line Command 19-5
TEXTENTR (Operand of INPUT Command) 18-5 UCT Line Command 19-5
TF Line Command 19-8—19-9 Uncataloging Data Set 27-53
W
Wildcard Characters
With Data Set Facility
For Catalog/VTOC Selection List 24-7
For LIBRARIAN/PDS/Volume Selection
List 24-8
Index X-19
X-20 User Guide