Professional Documents
Culture Documents
Interactive Environment
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
1.9.3.1 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-30
1.10 ALLOCATE (Advantage CA-Roscoe-Managed Files) . . . . . . . . . 1-32
1.10.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-32
1.10.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-33
1.10.3 Related Commands . . . . . . . . . . . . . . . . . . . . . . . . . . 1-34
1.10.3.1 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-34
1.11 ALTER . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-35
1.12 ALTER AWS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-36
1.12.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-36
1.12.2 Internal Pointer Position . . . . . . . . . . . . . . . . . . . . . . . 1-37
1.12.3 Related Commands . . . . . . . . . . . . . . . . . . . . . . . . . . 1-37
1.12.3.1 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-37
1.13 ALTER JOB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-38
1.13.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-38
1.13.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-38
1.13.3 Related Commands . . . . . . . . . . . . . . . . . . . . . . . . . . 1-39
1.13.3.1 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-39
1.14 ALTER (LIB) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-40
1.14.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-40
1.14.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-41
1.14.3 Related Commands . . . . . . . . . . . . . . . . . . . . . . . . . . 1-41
1.14.3.1 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-41
1.15 AMS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-42
1.15.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-42
1.15.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-42
1.16 ATTACH . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-44
1.17 ATTACH AWS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-45
1.17.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-45
1.17.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-46
1.17.3 Internal Pointer Position . . . . . . . . . . . . . . . . . . . . . . . 1-48
1.17.4 Related Commands . . . . . . . . . . . . . . . . . . . . . . . . . . 1-49
1.17.4.1 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-49
1.18 ATTACH DSN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-50
1.18.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-50
1.18.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-55
1.18.3 Internal Pointer Position . . . . . . . . . . . . . . . . . . . . . . . 1-58
1.18.4 Related Commands . . . . . . . . . . . . . . . . . . . . . . . . . . 1-58
1.18.4.1 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-59
1.19 ATTACH JOB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-60
1.19.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-60
1.19.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-60
1.19.3 Internal Pointer Position . . . . . . . . . . . . . . . . . . . . . . . 1-63
1.19.3.1 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-63
1.20 ATTACH LIB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-64
1.20.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-64
1.20.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-67
1.20.3 Internal Pointer Position . . . . . . . . . . . . . . . . . . . . . . . 1-70
1.20.4 Related Commands . . . . . . . . . . . . . . . . . . . . . . . . . . 1-70
1.20.4.1 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-70
1.21 ATTACH VOLUME . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-71
1.21.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-71
Contents v
1.32 Copy Line Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-94
1.32.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-94
1.32.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-94
1.32.3 Related Commands . . . . . . . . . . . . . . . . . . . . . . . . . . 1-95
1.32.3.1 Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-96
1.33 COPYS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-97
1.33.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-97
1.33.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-99
1.33.3 Internal Pointer Position . . . . . . . . . . . . . . . . . . . . . . . 1-103
1.33.4 Related Commands . . . . . . . . . . . . . . . . . . . . . . . . . . 1-103
1.33.4.1 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-103
1.34 COPYX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-105
1.34.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-105
1.34.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-107
1.34.3 Internal Pointer Position . . . . . . . . . . . . . . . . . . . . . . . 1-111
1.34.4 Related Commands . . . . . . . . . . . . . . . . . . . . . . . . . . 1-111
1.34.4.1 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-111
1.35 CREATE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-113
1.35.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-113
1.35.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-115
1.35.3 Internal Pointer Position . . . . . . . . . . . . . . . . . . . . . . . 1-115
1.35.4 Related Commands . . . . . . . . . . . . . . . . . . . . . . . . . . 1-115
1.35.4.1 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-115
1.36 DDO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-116
1.36.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-116
1.36.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-116
1.37 DEFINE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-117
1.38 DEFINE ALIAS (ICF or VSAM Catalog) . . . . . . . . . . . . . . . . 1-118
1.38.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-118
1.38.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-118
1.38.3 Related Commands . . . . . . . . . . . . . . . . . . . . . . . . . . 1-118
1.39 DEFINE ALIAS for PDS Member . . . . . . . . . . . . . . . . . . . . 1-119
1.39.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-119
1.39.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-119
1.39.3 Related Commands . . . . . . . . . . . . . . . . . . . . . . . . . . 1-120
1.40 DEFINE GDG . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-121
1.40.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-121
1.40.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-122
1.40.3 Related Commands . . . . . . . . . . . . . . . . . . . . . . . . . . 1-123
1.41 DELETE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-124
1.42 DELETE AWS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-125
1.42.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-125
1.42.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-125
1.42.3 Internal Pointer Position . . . . . . . . . . . . . . . . . . . . . . . 1-125
1.42.4 Related Commands . . . . . . . . . . . . . . . . . . . . . . . . . . 1-126
1.42.4.1 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-126
1.43 DELETE DSN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-127
1.43.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-127
1.43.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-128
1.43.3 Related Commands . . . . . . . . . . . . . . . . . . . . . . . . . . 1-128
1.43.3.1 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-129
Contents vii
1.56.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-157
1.56.2 Note . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-157
1.57 DISPLAY (INIT Subcommand) . . . . . . . . . . . . . . . . . . . . . . 1-158
1.57.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-158
1.57.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-158
1.58 DISPLAY (JOB Subcommand) . . . . . . . . . . . . . . . . . . . . . . 1-159
1.58.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-159
1.58.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-159
1.58.2.1 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-159
1.59 DISPLAY (MASK Subcommand) . . . . . . . . . . . . . . . . . . . . . 1-160
1.59.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-160
1.59.1.1 Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-160
1.60 DISPLAY (NAME Subcommand) . . . . . . . . . . . . . . . . . . . . 1-161
1.60.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-161
1.60.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-161
1.61 DISPLAY (NOAWS Subcommand) . . . . . . . . . . . . . . . . . . . 1-162
1.61.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-162
1.62 DISPLAY (QUEUE Subcommand) . . . . . . . . . . . . . . . . . . . . 1-163
1.62.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-163
1.62.2 Note . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-163
1.63 DIVERT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-164
1.63.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-164
1.63.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-165
1.63.3 Related Commands . . . . . . . . . . . . . . . . . . . . . . . . . . 1-166
1.64 DROP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-167
1.64.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-167
1.64.2 Related Commands . . . . . . . . . . . . . . . . . . . . . . . . . . 1-167
1.64.2.1 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-167
1.65 DSN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-168
1.65.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-168
1.65.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-169
1.65.3 Related Commands . . . . . . . . . . . . . . . . . . . . . . . . . . 1-170
1.65.3.1 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-170
1.66 EDIT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-171
1.66.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-171
1.66.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-172
1.66.3 Internal Pointer Position . . . . . . . . . . . . . . . . . . . . . . . 1-174
1.66.4 Related Commands . . . . . . . . . . . . . . . . . . . . . . . . . . 1-175
1.66.4.1 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-175
1.67 Edit Line Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-176
1.67.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-176
1.67.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-177
1.67.3 Related Commands . . . . . . . . . . . . . . . . . . . . . . . . . . 1-178
1.67.3.1 Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-178
| 1.68 EDSN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-179
| 1.68.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-179
| 1.68.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-180
| 1.68.3 Related Commands . . . . . . . . . . . . . . . . . . . . . . . . . . 1-182
| 1.68.3.1 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-182
1.69 ETC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-183
1.69.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-183
Contents ix
1.81.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-217
1.81.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-218
1.81.3 Internal Pointer Position . . . . . . . . . . . . . . . . . . . . . . . 1-219
1.81.4 Related Commands . . . . . . . . . . . . . . . . . . . . . . . . . . 1-220
1.81.4.1 Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-220
1.82 FIRST . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-221
1.82.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-221
1.82.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-223
1.82.3 Internal Pointer Position . . . . . . . . . . . . . . . . . . . . . . . 1-225
1.82.4 Related Commands . . . . . . . . . . . . . . . . . . . . . . . . . . 1-225
1.82.4.1 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-226
1.83 FIRST JOB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-227
1.83.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-227
1.83.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-227
1.83.3 Internal Pointer Position . . . . . . . . . . . . . . . . . . . . . . . 1-227
1.83.4 Related Commands . . . . . . . . . . . . . . . . . . . . . . . . . . 1-228
1.83.4.1 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-228
1.84 FIRST Line Command . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-229
1.84.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-229
1.84.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-229
1.84.3 Related Commands . . . . . . . . . . . . . . . . . . . . . . . . . . 1-230
1.84.3.1 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-230
1.85 FREE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-232
1.85.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-232
1.85.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-232
1.85.3 Related Commands . . . . . . . . . . . . . . . . . . . . . . . . . . 1-233
1.86 HELP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-234
1.86.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-234
1.86.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-234
1.86.2.1 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-235
1.87 IMPORT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-236
1.88 IMPORT (MVS Data Set) . . . . . . . . . . . . . . . . . . . . . . . . . 1-237
1.88.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-237
1.88.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-240
1.88.3 Related Commands . . . . . . . . . . . . . . . . . . . . . . . . . . 1-242
1.88.3.1 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-242
1.89 IMPORT (AllFusion CA-Librarian Master File) . . . . . . . . . . . . 1-244
1.89.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-244
1.89.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-248
1.89.3 Related Commands . . . . . . . . . . . . . . . . . . . . . . . . . . 1-249
1.89.3.1 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-249
1.90 IMPORT (AllFusion CA-Panvalet Member) . . . . . . . . . . . . . . 1-251
1.90.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-251
1.90.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-256
1.90.3 Related Commands . . . . . . . . . . . . . . . . . . . . . . . . . . 1-258
1.90.3.1 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-258
1.91 INCL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-260
1.91.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-260
1.91.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-262
1.91.3 Internal Pointer Position . . . . . . . . . . . . . . . . . . . . . . . 1-265
1.91.4 Related Commands . . . . . . . . . . . . . . . . . . . . . . . . . . 1-265
Contents xi
1.103.3 Related Commands . . . . . . . . . . . . . . . . . . . . . . . . . 1-303
1.103.3.1 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-303
1.104 LIBRARY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-305
1.104.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-305
1.104.2 Note . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-305
1.104.3 Related Commands . . . . . . . . . . . . . . . . . . . . . . . . . 1-306
1.104.3.1 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-306
1.105 LIST . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-307
1.105.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-307
1.105.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-308
1.105.3 Internal Pointer Position . . . . . . . . . . . . . . . . . . . . . . 1-310
1.105.4 Related Commands . . . . . . . . . . . . . . . . . . . . . . . . . 1-310
1.105.4.1 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-310
1.106 LOOK . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-311
1.106.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-311
1.106.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-311
1.107 LOWCASE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-313
1.107.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-313
1.107.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-313
1.107.3 Related Commands . . . . . . . . . . . . . . . . . . . . . . . . . 1-314
1.108 Lowercase Line Commands . . . . . . . . . . . . . . . . . . . . . . . 1-315
1.108.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-315
1.108.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-315
1.108.3 Related Commands . . . . . . . . . . . . . . . . . . . . . . . . . 1-316
1.108.3.1 Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-316
1.109 LSHIFT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-317
1.109.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-317
1.109.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-317
1.109.3 Internal Pointer Position . . . . . . . . . . . . . . . . . . . . . . 1-318
1.109.4 Related Commands . . . . . . . . . . . . . . . . . . . . . . . . . 1-318
1.109.4.1 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-318
1.110 MAIL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-319
1.110.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-319
1.110.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-319
1.111 MASK Line Command . . . . . . . . . . . . . . . . . . . . . . . . . . 1-320
1.111.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-320
1.111.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-320
1.111.3 Related Commands . . . . . . . . . . . . . . . . . . . . . . . . . 1-321
1.111.3.1 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-321
1.112 MERGE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-322
1.112.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-322
1.112.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-322
1.112.3 Internal Pointer Position . . . . . . . . . . . . . . . . . . . . . . 1-322
1.112.4 Related Commands . . . . . . . . . . . . . . . . . . . . . . . . . 1-323
1.112.4.1 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-323
1.113 MESSAGE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-324
1.113.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-324
1.113.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-324
1.113.3 Related Commands . . . . . . . . . . . . . . . . . . . . . . . . . 1-324
1.114 MOVE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-325
1.114.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-325
Contents xiii
1.125.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-351
1.125.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-351
1.125.3 Related Commands . . . . . . . . . . . . . . . . . . . . . . . . . 1-351
1.126 OMIT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-352
1.126.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-352
1.126.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-353
1.126.3 Internal Pointer Position . . . . . . . . . . . . . . . . . . . . . . 1-355
1.126.4 Related Commands . . . . . . . . . . . . . . . . . . . . . . . . . 1-355
1.126.4.1 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-356
1.127 Overlay Mask Line Commands . . . . . . . . . . . . . . . . . . . . . 1-357
1.127.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-357
1.127.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-357
1.127.3 Related Commands . . . . . . . . . . . . . . . . . . . . . . . . . 1-357
1.127.3.1 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-358
1.128 ORDER . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-359
1.129 ORDER AWS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-360
1.129.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-360
1.129.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-360
1.129.2.1 Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-361
| 1.130 ORDER DSN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-363
| 1.130.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-363
| 1.130.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-369
| 1.130.3 Usage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-369
| 1.130.4 Field-name Attribute Defaults . . . . . . . . . . . . . . . . . . . 1-369
| 1.130.5 The Ampersand as Command Delimiter . . . . . . . . . . . . . 1-369
| 1.130.6 Fields Containing Dates . . . . . . . . . . . . . . . . . . . . . . . 1-370
| 1.130.7 Related Commands . . . . . . . . . . . . . . . . . . . . . . . . . 1-370
1.131 ORDER LIB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-371
1.131.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-371
1.131.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-372
1.131.3 Related Commands . . . . . . . . . . . . . . . . . . . . . . . . . 1-373
1.131.3.1 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-374
1.132 ORDER Line Command . . . . . . . . . . . . . . . . . . . . . . . . . 1-376
1.132.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-376
1.132.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-376
1.132.3 Related Commands . . . . . . . . . . . . . . . . . . . . . . . . . 1-377
1.132.3.1 Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-377
1.133 PASSWORD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-379
1.133.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-379
1.133.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-379
1.134 POINT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-380
1.135 POINT AWS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-381
1.135.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-381
1.135.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-381
1.135.3 Internal Pointer Position . . . . . . . . . . . . . . . . . . . . . . 1-382
1.135.4 Related Commands . . . . . . . . . . . . . . . . . . . . . . . . . 1-382
1.135.4.1 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-382
1.136 POINT DSN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-383
1.136.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-383
1.136.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-383
1.136.3 Related Commands . . . . . . . . . . . . . . . . . . . . . . . . . 1-384
Contents xv
1.147.2.1 Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-423
1.148 PRINT LOCATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-424
1.148.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-424
1.148.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-425
1.149 PRINT RELEASE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-428
1.149.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-428
1.149.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-429
1.149.2.1 Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-429
1.150 PRINT ROUTE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-430
1.150.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-430
1.150.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-430
1.150.2.1 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-431
1.151 PRINT STATUS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-432
1.151.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-432
1.151.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-433
1.151.2.1 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-435
1.152 PURGE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-436
1.152.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-436
1.152.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-436
| 1.153 QDSN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-437
| 1.153.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-437
| 1.153.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-437
| 1.153.3 Related Commands . . . . . . . . . . . . . . . . . . . . . . . . . 1-437
1.154 QUERY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-438
1.154.1 QUERY ALLOCATE . . . . . . . . . . . . . . . . . . . . . . . . . 1-438
1.154.1.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-438
1.154.1.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-438
1.154.1.3 Related Commands . . . . . . . . . . . . . . . . . . . . . . . 1-439
1.154.2 QUERY CALL . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-439
1.154.2.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-439
1.154.2.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-440
1.154.2.3 Related Commands . . . . . . . . . . . . . . . . . . . . . . . 1-440
1.154.3 QUERY DIVERT . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-440
1.154.3.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-440
1.154.3.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-441
1.154.3.3 Related Commands . . . . . . . . . . . . . . . . . . . . . . . 1-441
1.155 REFRESH . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-442
1.155.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-442
1.155.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-443
1.155.2.1 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-443
1.156 RELEASE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-444
1.156.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-444
1.156.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-444
1.156.3 Related Commands . . . . . . . . . . . . . . . . . . . . . . . . . 1-445
1.157 RENAME . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-446
1.157.1 RENAME AWS . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-446
1.157.1.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-446
1.157.1.2 Related Commands . . . . . . . . . . . . . . . . . . . . . . . 1-446
1.157.1.3 Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-446
1.157.2 RENAME DSN . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-447
1.157.2.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-447
Contents xvii
1.167.1 Scroll Line Commands (By Line) . . . . . . . . . . . . . . . . . 1-469
1.167.1.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-469
1.167.1.2 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-469
1.167.2 Scroll Line Commands (By Page) . . . . . . . . . . . . . . . . . 1-470
1.167.2.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-470
1.167.2.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-470
1.167.2.3 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-471
1.167.3 Scroll Line Commands (To Top/Bottom) . . . . . . . . . . . . 1-471
1.167.3.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-471
1.167.3.2 Note . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-471
1.167.3.3 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-472
| 1.168 SDSN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-473
| 1.168.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-473
| 1.168.2 Related Commands . . . . . . . . . . . . . . . . . . . . . . . . . 1-473
1.169 SEARCH . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-474
1.169.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-474
1.169.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-475
1.169.3 Internal Pointer Position . . . . . . . . . . . . . . . . . . . . . . 1-477
1.169.4 Related Commands . . . . . . . . . . . . . . . . . . . . . . . . . 1-478
1.169.4.1 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-478
1.170 SELECT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-479
1.170.1 SELECT AWS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-479
1.170.1.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-479
1.170.1.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-480
1.170.1.3 Internal Pointer Position . . . . . . . . . . . . . . . . . . . . 1-481
1.170.1.4 Related Commands . . . . . . . . . . . . . . . . . . . . . . . 1-481
1.170.1.5 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-481
1.170.2 SELECT DSN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-482
1.170.2.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-482
1.170.3 SELECT LIB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-484
1.170.3.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-484
1.171 SEND . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-485
1.171.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-485
1.171.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-485
1.171.3 Related Commands . . . . . . . . . . . . . . . . . . . . . . . . . 1-486
1.171.3.1 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-487
1.172 SEQ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-488
1.172.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-488
1.172.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-488
1.172.3 Related Commands . . . . . . . . . . . . . . . . . . . . . . . . . 1-489
1.172.3.1 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-489
1.173 SET Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-490
1.173.1 SET . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-493
1.173.1.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-493
1.173.1.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-494
1.173.1.3 Related Commands . . . . . . . . . . . . . . . . . . . . . . . 1-494
| 1.173.2 SET ALLRECALL . . . . . . . . . . . . . . . . . . . . . . . . . . 1-494
| 1.173.2.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-494
| 1.173.2.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-495
1.173.3 SET ATTACH . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-495
1.173.3.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-495
Contents xix
| 1.173.15.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-518
| 1.173.15.3 Usage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-518
| 1.173.16 Field-name Attribute Defaults . . . . . . . . . . . . . . . . . . 1-519
| 1.173.17 The Ampersand as Command Delimiter . . . . . . . . . . . . 1-519
| 1.173.18 Fields Containing Dates . . . . . . . . . . . . . . . . . . . . . . 1-519
| 1.173.19 Related Commands . . . . . . . . . . . . . . . . . . . . . . . . . 1-519
1.173.20 SET DSNCMLST . . . . . . . . . . . . . . . . . . . . . . . . . . 1-519
1.173.20.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-519
1.173.20.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-520
1.173.20.3 Related Commands . . . . . . . . . . . . . . . . . . . . . . 1-520
1.173.21 SET DSNCNT . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-520
1.173.21.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-520
1.173.21.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-521
1.173.21.3 Related Commands . . . . . . . . . . . . . . . . . . . . . . 1-521
1.173.22 SET DSNEMPTY . . . . . . . . . . . . . . . . . . . . . . . . . . 1-521
1.173.22.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-521
1.173.22.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-522
1.173.22.3 Related Commands . . . . . . . . . . . . . . . . . . . . . . 1-522
1.173.23 SET DSNRECALL . . . . . . . . . . . . . . . . . . . . . . . . . . 1-522
1.173.23.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-522
1.173.23.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-522
1.173.23.3 Related Commands . . . . . . . . . . . . . . . . . . . . . . 1-523
1.173.24 SET EDITCHNG . . . . . . . . . . . . . . . . . . . . . . . . . . 1-523
1.173.24.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-523
1.173.24.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-523
1.173.24.3 Related Commands . . . . . . . . . . . . . . . . . . . . . . 1-524
1.173.25 SET EOF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-525
1.173.25.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-525
1.173.25.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-526
1.173.25.3 Related Commands . . . . . . . . . . . . . . . . . . . . . . 1-526
1.173.26 SET ESCAPE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-526
1.173.26.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-526
1.173.26.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-526
1.173.26.3 Related Commands . . . . . . . . . . . . . . . . . . . . . . 1-527
1.173.26.4 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-527
1.173.27 SET FILL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-527
1.173.27.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-527
1.173.27.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-527
1.173.27.3 Related Commands . . . . . . . . . . . . . . . . . . . . . . 1-528
1.173.28 SET HELPPFX . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-528
1.173.28.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-528
1.173.28.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-529
| 1.173.29 SET INFRECALL . . . . . . . . . . . . . . . . . . . . . . . . . . 1-529
| 1.173.29.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-529
| 1.173.29.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-530
1.173.30 SET JOBCNT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-530
1.173.30.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-530
1.173.30.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-531
1.173.30.3 Related Commands . . . . . . . . . . . . . . . . . . . . . . 1-531
1.173.31 SET LIB ORDER . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-531
1.173.31.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-531
Contents xxi
1.173.44.3 Related Commands . . . . . . . . . . . . . . . . . . . . . . 1-547
| 1.173.45 SET SPLIT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-547
| 1.173.45.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-547
| 1.173.45.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-548
| 1.173.45.3 Related Commands . . . . . . . . . . . . . . . . . . . . . . 1-548
1.173.46 SET STATS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-548
1.173.46.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-548
1.173.46.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-549
1.173.46.3 Related Commands . . . . . . . . . . . . . . . . . . . . . . 1-549
1.173.47 SET SUBMIT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-549
1.173.47.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-549
1.173.47.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-550
1.173.47.3 Related Commands . . . . . . . . . . . . . . . . . . . . . . 1-550
1.173.47.4 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-551
1.173.48 SET SYSID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-551
1.173.48.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-551
1.173.48.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-551
1.173.48.3 Related Commands . . . . . . . . . . . . . . . . . . . . . . 1-551
1.173.49 SET TLOCK . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-552
1.173.49.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-552
1.173.49.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-552
1.173.49.3 Related Commands . . . . . . . . . . . . . . . . . . . . . . 1-553
1.173.50 SET USERID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-553
1.173.50.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-553
1.173.50.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-554
1.173.50.3 Related Commands . . . . . . . . . . . . . . . . . . . . . . 1-554
1.174 Shift Line Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-555
1.174.1 Shift (Left) Line Commands . . . . . . . . . . . . . . . . . . . . 1-555
1.174.1.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-555
1.174.1.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-556
1.174.1.3 Related Commands . . . . . . . . . . . . . . . . . . . . . . . 1-556
1.174.1.4 Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-556
1.174.2 Shift (Right) Line Commands . . . . . . . . . . . . . . . . . . . 1-557
1.174.2.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-557
1.174.2.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-558
1.174.2.3 Related Commands . . . . . . . . . . . . . . . . . . . . . . . 1-558
1.174.2.4 Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-559
1.175 SIGNON . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-560
1.175.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-560
1.175.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-560
1.176 SORT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-561
1.176.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-561
1.176.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-561
1.176.2.1 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-562
1.177 SPACE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-563
1.177.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-563
1.177.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-563
1.178 STATUS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-564
1.178.1 STATUS AWS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-565
1.178.1.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-565
1.178.1.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-565
Contents xxiii
1.182.3.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-595
1.182.3.3 Internal Pointer Position . . . . . . . . . . . . . . . . . . . . 1-597
1.182.3.4 Related Commands . . . . . . . . . . . . . . . . . . . . . . . 1-597
1.182.3.5 Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-597
1.182.4 Text-Related (TXTLCASE) . . . . . . . . . . . . . . . . . . . . . 1-598
1.182.4.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-598
1.182.4.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-599
1.182.4.3 Internal Pointer Position . . . . . . . . . . . . . . . . . . . . 1-599
1.182.4.4 Related Commands . . . . . . . . . . . . . . . . . . . . . . . 1-600
1.182.5 Text-Related (TXTSPLIT) . . . . . . . . . . . . . . . . . . . . . . 1-600
1.182.5.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-600
1.182.5.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-601
1.182.5.3 Internal Pointer Position . . . . . . . . . . . . . . . . . . . . 1-602
1.182.5.4 Related Commands . . . . . . . . . . . . . . . . . . . . . . . 1-602
1.182.5.5 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-602
1.183 Text-Related Line Commands . . . . . . . . . . . . . . . . . . . . . . 1-604
1.183.1 Text Center Line Commands . . . . . . . . . . . . . . . . . . . . 1-605
1.183.1.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-605
1.183.1.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-605
1.183.1.3 Related Commands . . . . . . . . . . . . . . . . . . . . . . . 1-605
1.183.1.4 Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-606
1.183.2 Text Enter Line Command . . . . . . . . . . . . . . . . . . . . . 1-606
1.183.2.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-606
1.183.2.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-606
1.183.2.3 Related Commands . . . . . . . . . . . . . . . . . . . . . . . 1-607
1.183.2.4 Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-607
1.183.3 Text Flow Line Command . . . . . . . . . . . . . . . . . . . . . 1-608
1.183.3.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-608
1.183.3.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-608
1.183.3.3 Related Commands . . . . . . . . . . . . . . . . . . . . . . . 1-609
1.183.3.4 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-609
1.183.4 Text Join Line Command . . . . . . . . . . . . . . . . . . . . . . 1-610
1.183.4.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-610
1.183.4.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-611
1.183.4.3 Related Commands . . . . . . . . . . . . . . . . . . . . . . . 1-611
1.183.4.4 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-612
1.183.5 Text LowerCase Line Command . . . . . . . . . . . . . . . . . . 1-612
1.183.5.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-612
1.183.5.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-612
1.183.6 Related Commands . . . . . . . . . . . . . . . . . . . . . . . . . 1-613
1.183.7 Text Split Line Command . . . . . . . . . . . . . . . . . . . . . . 1-613
1.183.7.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-613
1.183.7.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-614
1.183.7.3 Related Commands . . . . . . . . . . . . . . . . . . . . . . . 1-615
1.183.7.4 Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-615
1.184 TIME . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-616
1.184.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-616
1.184.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-616
1.185 TOP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-617
1.185.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-617
1.185.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-617
Contents xxv
1.197.3 Internal Pointer Position . . . . . . . . . . . . . . . . . . . . . . 1-646
1.197.4 Related Commands . . . . . . . . . . . . . . . . . . . . . . . . . 1-646
1.197.4.1 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-647
1.198 XLATE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-648
1.198.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-648
1.198.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-648
1.198.3 Internal Pointer Position . . . . . . . . . . . . . . . . . . . . . . 1-649
1.198.4 Related Commands . . . . . . . . . . . . . . . . . . . . . . . . . 1-649
1.198.4.1 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-650
1.199 Xlate Line Commands . . . . . . . . . . . . . . . . . . . . . . . . . . 1-651
1.199.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-651
1.199.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-651
1.199.3 Related Commands . . . . . . . . . . . . . . . . . . . . . . . . . 1-652
1.199.3.1 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-653
1.200 ZAP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-654
1.200.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-654
1.200.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-654
1.200.3 ZAP (* Subcommand) . . . . . . . . . . . . . . . . . . . . . . . . 1-656
1.200.3.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-656
1.200.3.2 Note . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-656
1.200.4 ZAP (ABSDUMP Subcommand) . . . . . . . . . . . . . . . . . . 1-656
1.200.4.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-656
1.200.4.2 Note . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-658
1.200.5 ZAP (BASE Subcommand) . . . . . . . . . . . . . . . . . . . . . 1-658
1.200.5.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-658
1.200.5.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-658
1.200.6 ZAP (CCHHR Subcommand) . . . . . . . . . . . . . . . . . . . 1-658
1.200.6.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-658
1.200.6.2 Note . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-659
1.200.7 ZAP (DUMP Subcommand) . . . . . . . . . . . . . . . . . . . . 1-659
1.200.7.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-659
1.200.7.2 Note . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-660
1.200.8 ZAP (IDRDATA Subcommand) . . . . . . . . . . . . . . . . . . 1-660
1.200.8.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-660
1.200.8.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-660
1.200.9 ZAP (NAME Subcommand) . . . . . . . . . . . . . . . . . . . . 1-661
1.200.9.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-661
1.200.9.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-661
1.200.10 ZAP (RELDUMP Subcommand) . . . . . . . . . . . . . . . . . 1-661
1.200.10.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-661
1.200.10.2 Note . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-662
1.200.11 ZAP (REP Subcommand) . . . . . . . . . . . . . . . . . . . . . 1-662
1.200.11.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-663
1.200.11.2 Note . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-663
1.200.12 ZAP (SETSSI Subcommand) . . . . . . . . . . . . . . . . . . . 1-663
1.200.12.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-663
1.200.12.2 Note . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-663
1.200.13 ZAP (SYSLIB Subcommand) . . . . . . . . . . . . . . . . . . . 1-664
1.200.13.1 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-664
1.200.13.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-665
1.200.14 ZAP (TTR Subcommand) . . . . . . . . . . . . . . . . . . . . . 1-667
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . X-1
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . X-1
Contents xxvii
xxviii Command Reference Guide
About This Guide
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.
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.
ATTACH 5,,
This command displays the contents of the active AWS beginning at line 5
and continuing to the end.
The asterisk (*), minus sign (-) and plus sign (+) are pseudo-commands
and are described in the body of this manual.
Primary commands are those commands that are entered in the Command
Area of the Advantage CA-Roscoe screen.
Line commands are those commands that are entered in the sequence number
field of the Execution Area when an AWS is attached. (To use line commands,
SET DISPLAY NUMX must be in effect for that AWS. This command
establishes a display format that includes an unprotected sequence number
field.)
See the Advantage CA-Roscoe Interactive Environment User Guide for additional
information.
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.
This topic lists available commands, their functions, syntax, related commands,
and examples.
1.1.1 Syntax
+ (Redisplay Command)
── + ──┬────────┬──┬───────┬──┬───────────┬───────────────────
│ ┌─1──┐ │ │ ┌─B─┐ │ │ ┌─1──┐ │
└─┼────┼─┘ └─┼───┼─┘ └─,──┼────┼─┘
└─v1─┘ └─F─┘ └─v2─┘
Operand Description
With no operand, redisplays the last executed command or program
name.
v1 Relative number of the previously executed command (within the
command save area buffer) that is to be redisplayed. If the number
exceeds the number of commands in the area, the oldest command
is assumed. If omitted, the default is 1.
F Causes the scan to go forward (towards the most recently executed
command). If omitted, the default is B.
B Causes the scan to go backward (towards the oldest executed
commands). If omitted, the default is B.
v2 Number of previously executed commands/program names that are
to be redisplayed in the Command Area. If specified, the number
must be 1, 2, or 3. If omitted, the default is 1.
1.1.2 Notes
Restriction:
■ The plus sign cannot be used to redisplay previously executed line
commands.
Multiple Execution of + :
■ Repeated executions of the plus sign are comparable to executing +1B,1.
Each execution displays a successively older executed command or
program name.
1.1.3.1 Examples
Assume that the following primary commands have just been entered.
FETCH WIDGET
ATTACH
RENUMBER
UPDATE
■ To redisplay the last executed command or program name (UPDATE *),
enter:
+
■ To display the next to the last executed command (instead of redisplaying
the last executed command), enter:
+2
The RENUMBER command is now redisplayed. To see the command that
preceded the RENUMBER, enter:
+ +1 +B or +1B
The ATTACH command is redisplayed. To redisplay the RENUMBER
command, enter:
+F or +1F
■ To redisplay the last three executed commands, enter:
+3,3
1.2.1 Syntax
* (Defer Execution)
────string───────────────────────────────────────────────────
Operand Description
string One or more commands and program names whose execution is
to be deferred.
1.2.2 Notes
Deferring Execution:
■ Primary Commands:
The asterisk can be placed anywhere within the Command Area. No
subsequent primary command, Monitor command or RPF program will be
executed until the asterisk is deleted.
The user can scroll the data while the asterisk is used. To execute the
command(s), delete the asterisk.
■ Line Commands:
The asterisk has no effect on the execution of line commands.
1.2.3.1 Examples
1.3.1 Syntax
- (Rexecute Command)
── - ────────────────────────────────────────────────────────
1.3.2 Notes
Restriction:
■ The minus sign cannot be used to reexecute previously executed line
commands.
Multiple Executions Of - :
■ Any number of minus signs can be entered, as long as each minus sign is
on a line by itself or is separated from other commands by a command
delimiter (for example, - & - & - is valid, assuming that the command
delimiter is the &).
1.4.1 Syntax
=n (Add to AWS Command)
── =n──┬────────┬─────────────────────────────────────────────
└─string─┘
Operand Description
n One- to six-digit sequence numbers. Leading zeros can be omitted.
string Data to be added to or replaced within the active AWS. The string
may not exceed the width of the screen if entered from the terminal
or 255 characters if added using an RPF program.
1.4.2 Notes
If the specified line number:
■ Exists. The string replaces the current contents of the line. If no string is
specified, the contents of the line are deleted (the line is overlaid with
spaces).
■ Does not exist. The string is added to the active AWS.
1.5 : Command
Performs a specific screen escape action.
1.5.1 Syntax
: Command
── :C── :E── :L── :P── :S── :U── :W───────────────────────────
Command Description
:C Causes the current screen display to be copied into an AWS.
:E Causes split-screen processing to end.
:L Causes the Terminal Lock screen to be displayed.
:P Causes the current screen display to be printed at the default (or
current) printing location assigned to the terminal.
:S Causes a full-screen split to occur.
:U Causes an ETSO application that is prompting for input to be
suspended.
:W Causes a full-screen swap to occur.
1.5.2 Notes
Usage:
■ While these commands are intended to be used when an RPF program or
other application (ETSO or CA-eMAIL+) is in control of the terminal,
they can be issued at any time.
■ To use one of these commands, type the appropriate command in any
unprotected field and press 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 display to determine if the
site has changed the defaults.)
Using : commands:
■ Using :C :
The SET COPYDEST command must be issued before the :C command
may be issued. SET COPYDEST identifies the AWS that is to receive the
copied data.
■ Using :L :
1.6 AJOB
|
| Invokes an RPF that displays a job menu or selection list from which jobs can
| be monitored and processed.
|1.6.1 Syntax
|
| AJOB Command
| ──AJOB──┬────────────────┬────────────────────────────────────
| ├─jobname─┬───┬──┤
| │ └─v─┘ │
| └─jobnum─────────┘
| Operand Description
| With no operands, displays the Job Facility menu.
| jobname Name of the job to qualify the Job Selection list. One or more
| wildcard characters may be included with the name. If the name
| does not include wildcard characters, it may be qualified with:
| v Number of the job to be attached
| jobnum Number of the job to be attached
|1.6.2 Notes
| Determine Execution Status:
| ■ AJOB can be used to display a Job Selection list containing job status and
| information. You can use the selection list and menu panels to provide
| information about jobs in execution, initiators, job queues, and devices.
| ■ You can also use the DISPLAY command to determine the status of a job.
| DISPLAY can be used to obtain specific job information.
| ■ Selecting a job from the job display panel causes output to the Execution
| Area and places the Job Facility in a pending state. It can be resumed at any
| time, using any PA key or any of the following Advantage CA-Roscoe
| commands:
| AJOB
| SELECT MENU
| SELECT NEXT
| SELECT PREV
| NEXT JOB
| PREV JOB
| LAST JOB
| FIRST JOB
| DETACH JOB (job is detached first)
| While the Job Facility is pending, Advantage CA-Roscoe commands (except
| the SCREEN command) can be issued. RPFs, however, are not supported.
| The PA keys will return control to the previous level, or to Advantage
| CA-Roscoe when issued from the primary menu.
| ■ The CLEAR key will discontinue AJOB processing from any AJOB 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 will leave the most recent job attached that had been selected for
| viewing.
| When CLEAR is pressed during a CONSOLE display, it causes the
| CONSOLE display to be cleared and redisplays the OPERATOR
| COMMAND panel.
| ■ If a job is currently attached and you issue the AJOB command, the first
| job is implicitly detached (AJOB issues a DETACH JOB NOACT).
| ■ If a specified job can be found, it is attached and AJOB terminates. If the
| specified job cannot be found, or if the job name uses a wildcard
| specification, then a Job Selection list is presented based on the JOB|GRP
| NAME value.
| JES2 Sites:
| ■ A job's files may be examined at any time. (If the attributes of the output
| files are to be modified, the job must be submitted with a special SYSOUT
| class established by site management.) If the job is:
| AWAITING EXECUTION
| The JCL and all SYSIN data can be viewed.
| (This is the only time that this information is
| displayed.)
| EXECUTING The JCL and much of the job log and SMB that
| is currently written can be viewed, plus all
| available files. (If a file is open and empty, only
| the end of file message is presented when that
| file is displayed.)
| AWAITING PRINT All SYSOUT files that have not yet been printed
| or purged can be viewed.
| ■ Using Job Numbers: A job may be queried by its job name or number. If
| there are multiple jobs with the same name and no job number is
| specified, a Job Selection List is produced.
| JES3 Sites:
| ■ If an output file exists, it may be examined at any time. Modifications may
| only be made to the attributes of files routed to a SYSOUT class held for:
| – An external writer (when ETSO is not active),
| or
| – TSO (when ETSO is active).
| ■ Site management will tell you what special SYSOUT class(es) they have
| established.
| ■ Using Job Numbers: A job may be queried by its job number. If there are
| multiple jobs with the same name and no job number is specified, a Job
| Selection List is produced.
| Note: The question mark, asterisk, and plus sign may be used in the same
| search string.
| Example: S?A*JC+
| Matches: STARTJCL
| Consecutive asterisks (**) or an asterisk and plus sign (*+) are invalid.
|1.6.2.1 Examples
| ■ To invoke the Job Facility, displaying the Job Facility menu, enter:
| AJOB
| ■ To display a job selection list for all jobs beginning with RO, enter:
| AJOB RO+
| ■ To display a Job Facility menu containing a specific job, enter:
| AJOB COMPILE 52
| where COMPILE is the jobname and 52 is the jobnumber.
1.7 ALLOCATE
To allocate a file. In Advantage CA-Roscoe, several types of allocations can be
made, specifically to:
Data Sets: Create and, optionally, catalog a data set.
ETSO: Allocate a data set that can be referenced during the execution of
an application known to ETSO.
Advantage CA-Roscoe-Managed files:
Allocate a Advantage CA-Roscoe file (the terminal, AWS or a
library member) that can be referenced during the execution of an
application known to ETSO:
1.8.1 Syntax
ALLOCATE (Data Set) Command
──ALLOCate──DSN──dsname──┬──────┬──┬────────────────────┬────────
└─(+v)─┘ └─LIKE dsn─┬──────┬──┘
└─(+v)─┘
──┬───────────────┬──┬───────────┬──┬────────────────┬────────────
└─AVGREC─┬─U─┬──┘ └─BLKSIZE v─┘ │ ┌─YES─┐ │
├─K─┤ └─CATLG─┴─NO──┴──┘
└─M─┘
──┬──────────────────┬──┬───────┬──┬───────────────┬──────────────
└─DATACLAS charstr─┘ └─DIR v─┘ └─DSORG charstr─┘
──┬──────────────────────┬──┬───────────────┬─────────────────────
└─DSNTYPE─┬─LIBRARY─┬──┘ └─EXPDT charstr─┘
└─PDS─────┘
──┬──────────────┬──┬──────────┬──┬──────────┬──┬─────────┬───────
└─INCr charstr─┘ └─KEYLEN v─┘ └─KEYOFF v─┘ └─LRECL v─┘
──┬──────────────────┬──┬────────────────┬──┬───────────────┬─────
└─MGMICLAS charstr─┘ │ ┌──┐ │ └─RECFM charstr─┘
└─PRImary─┴─v─┴──┘
──┬────────────────┬──┬────────────────────────────────┬──────────
└─RECORG─┬─ES─┬──┘ └─SECMODEL(charstr─┬─────────┬─)─┘
├─KS─┤ └─GENERIC─┘
├─LS─┤
└─RR─┘
──┬─────────────┬──┬──────────────────┬──┬──────────────┬─────────
└─SECondary v─┘ └─STORCLAS charstr─┘ └─UNIT charstr─┘
──┬───────────────────────────────┬──────────────────────────────
│ ┌──
───────────┐ │
┬─────────┬┴──┘
└─VOLume charstr──
└─charstr─┘
──┬──────────┬──────────────────────────────────────────────────
└─ENDALLOC─┘
Operand Description
DSN 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 (Generation Data
Group) data set to be allocated, specified as a value
between 1 and 255.
LIKE Fully qualified name of an existing data set. It may be
qualified with:
v Relative generation number of the GDG (Generation
Data Group) data set to be used as a model. It can be 0
(most current) or a minus number (for example, -1).
The following information is copied from the existing data set:
INCR (allocation unit), PRIMARY, SECONDARY, and DIR
(space allocation parameters), BLKSIZE, DSORG, EXPDT,
KEYLEN, LRECL, RECFM, UNIT, and VOLUME.
If the existing data set is an SMS-managed data set, the
following information is also copied: DATACLAS, KEYOFF,
MGMTCLAS, RECORG, and STORCLAS.
MODEL is an alias for LIKE.
Note: Any of this information may be overridden by
specifying one or more of the following operands.
AVGREC= (SMS only.) Scale modification factor to be used for average
block requests (INCR BLK), specified as:
U Use primary and secondary quantities as specified.
K Use kilobytes; multiple primary and secondary quantities
by 1024.
M Use megabytes; multiple primary and secondary
quantities by 1024576.
BLKSIZE Block size of the data set to be allocated, specified as a value
between 0 and 32760. If omitted, the default is 0.
Note: BLKSIZE is required if INCR BLK is specified and the
specified value may not exceed 65535.
CATLG Designate whether the data set is to be cataloged by
specifying:
YES Catalog the data set.
NO Do not catalog the data set.
If omitted, the default is YES.
For SMS-managed data sets, this operand is ignored; the data
set is always cataloged.
1.8.2 Notes
Restrictions:
■ ALLOCATE supports the creation of new VSAM data sets on systems
where IBM's DFSMS is installed. For systems without DFSMS, VSAM data
sets may be created using IBM's Access Method Services DEFINE
command.
Syntax Requirements:
■ When entered at the terminal, the command must be complete within a
line (continuations are not allowed).
■ When executed from within an RPF program, both ALLOCATE and
ENDALLOC must appear on lines by themselves, with command operands
on intervening lines.
Allocation Requirement:
■ Data sets may be created only on DASD volumes that are mounted and
online or on mass storage volumes that can be staged.
Using CATLG:
■ If CATLG YES is specified and the data set cannot be cataloged (for
example, it is already cataloged or the user has insufficient access authority
for the catalog), the command is rejected. The user may reexecute the
command, specifying CATLG NO.
Using EXPDT:
■ When the expiration date is specified as 'yyydd', it is assumed to indicate a
year in the twentieth century. Years beyond 1999 may be specified only at
sites with MVS/XA SP2.2.0 or higher. At these sites, the year may be
specified in the range 2000 through 2155.
Using INCR:
■ Allocation units may be specified in the form of blocks, cylinders or tracks.
The following chart shows the aliases that may be specified with the INCR
operand:
1.9.1 Syntax
ALLOCATE (Data Set Under ETSO) Command
──ALLOCate──┬────────┬──┬─────────────────────────┬──────────────
└─ddname─┘ │ ┌─,─────┐ │
┬─────┬┴─)─┤
├─DSName=(dsn──
│ └─dsn─┘ │
├─DUMMY───────────────────┤
├─JCLDD=charstr───────────┤
└─SYSOUT=(charstr)────────┘
──┬──────────┬──┬────────────────┬──┬───────────┬─────────────────
└─LIKE=dsn─┘ └─AVGREC=─┬─U─┬──┘ └─BLKSIZE=v─┘
├─K─┤
└─M─┘
──┬────────────────┬──┬──────────────┬──┬──────────────────┬──────
└─BURST─┬─YES─┬──┘ └─CHAR=charstr─┘ └─CONTIG=─┬─YES─┬──┘
└─NO──┘ └─NO──┘
──┬──────────┬──┬──────────────────┬──┬──────────────┬────────────
└─COPIES=v─┘ └─DATACLAS charstr─┘ └─DEST=charstr─┘
──┬───────┬──┬──────────────┬──┬───────────────┬──────────────────
└─DIR v─┘ └─DISP=charstr─┘ └─DSORG=charstr─┘
──┬───────────────────────┬──┬───────────────┬────────────────────
└─DSNTYPE=─┬─LIBRARY─┬──┘ └─EXPDT=charstr─┘
└─PDS─────┘
──┬─────────────┬──┬───────────────────┬──┬──────────────┬────────
└─FCB=charstr─┘ └─FLASH=(charstr,v)─┘ └─INCr=charstr─┘
──┬──────────┬──┬──────────┬──┬─────────┬─────────────────────────
└─KEYLEN=v─┘ └─KEYOFF=v─┘ └─LRECL=v─┘
──┬──────────────────┬──┬──────────────────┬──────────────────────
└─MGMICLAS=charstr─┘ └─MODIFY=charstr,v─┘
──┬───────────────┬──┬─────────────────┬──────────────────────────
└─OPTCD=charstr─┘ │ ┌──┐ │
└─PRImary=─┴─v─┴──┘
──┬───────────────────┬──┬───────────────┬──┬───────────────┬─────
└─PROTECT=─┬─YES─┬──┘ └─QNAME=charstr─┘ └─RECFM=charstr─┘
└─NO──┘
──┬─────────────────┬──┬───────────────────┬──────────────────────
└─RECORG=─┬─ES─┬──┘ └─RELease=─┬─YES─┬──┘
├─KS─┤ └─NO──┘
├─LS─┤
└─RR─┘
──┬───────────────┬──┬─────────────────┬──┬─────────────┬─────────
└─RETPD=charstr─┘ └─ROUND=─┬─YES─┬──┘ └─SECondary=v─┘
└─NO──┘
──┬────────────────────────────────┬──┬──────────────────┬────────
└─SECMODEL(charstr─┬─────────┬─)─┘ └─SPACE=( charstr)─┘
└─GENERIC─┘
──┬──────────────────┬────────────────────────────────────────────
└─STORCLAS=charstr─┘
──┬───────────────────────────────────────┬──┬──────────────┬─────
└─UCS=(charstr─┬────────────────────┬─)─┘ └─UNIT=charstr─┘
└─,─┬──────┬─,VERIFY─┘
└─FOLD─┘
──┬────────────────┬─────────────────────────────────────────────
└─VOLume=charstr─┘
──┬──────────┬──────────────────────────────────────────────────
└─ENDALLOC─┘
Operand Description
ddname One- to eight-character DD name to be associated with the
data set being allocated. If omitted, the DSNAME=
operand is required and space is allocated for the data set.
DSNAME= Fully qualified name of the data set(s) to be allocated.
A maximum of 10 data set names may be specified,
enclosed by parentheses. The parentheses are optional if
only one data set name is specified.
LIKE= Fully qualified name of an existing data set.
If DSNAME= is specified and there is no space allocation,
one track is assigned. If no disposition is specified, NEW is
assumed. (DISP=NEW is the only valid disposition.)
If DSNAME= is omitted, a space allocation is required. If
no disposition is specified, NEW is assumed. (DISP=NEW
is required.)
Without SMS, the DCB parameters of the existing data set
are used to allocate the new data set(s).
With SMS, the attributes copied from the existing data set
are AVGREC, KEYLEN, KEYOFF, LRECL, RECORG (or
RECFM), and SPACE.
Note: LIKE= is invalid with DUMMY, SYSOUT= or
JCLDD=.
──(class─┬───────┬──┬───────┬─)─────────────
└─,prog─┘ └─,form─┘
where:
class The site-defined class representing 328x-type
printers or any valid system printer SYSOUT class.
If specified as *, the site's system printer default
class is used. (Parentheses are optional if only class
is specified.)
prog One- to eight-character name of a site-written
program on the system library that is to be used to
write the output data set (in place of JES2 or JES3).
(Valid only when directing output to a system
printer.)
form One- to four-character string specifying the type of
form on which the output is to be printed. (Valid
only when directing output to a system printer.)
AVGREC= (SMS only.) Scale modification factor to be used for
average block requests (INCR BLK), specified as:
U Use primary and secondary quantities as specified.
K Use kilobytes; multiple primary and secondary
quantities by 1024.
M Use megabytes; multiple primary and secondary
quantities by 1024576.
BLKSIZE= Maximum block length, in bytes, specified as a value
between 0 and 32760.
BURST= Requirement for the use of the 3800 print subsystem
burster-trimmer-stacker option, specified as:
YES Output is to be burst into separate sheets.
(Abbreviate as Y.)
NO Output is to be left in continuous fanfold.
(Abbreviate as N.)
1.9.2 Notes
Restriction:
■ ALLOCATE is valid only when the Extended Time-Sharing Option (ETSO)
is active.
Syntax Requirements:
■ When entered at the terminal, the command must be complete within a
line (continuations are not allowed).
■ When executed from within an RPF program, both ALLOCATE and
ENDALLOC must appear on lines by themselves, with command operands
on intervening lines.
■ The individual operands establishing space requirements can be specified
with no values (for example, PRIMARY=5,SECONDARY=,DIR=1 is valid).
While this can be done from the terminal, it is meant to aid in building an
ALLOCATE command from within an RPF program.
■ Finally, all files must be allocated before invoking application execution by
the CALL command.
Allocation Limits:
■ By default, 19 files can be allocated per session. (Site management has the
option of changing this maximum value.) This value includes any
combination of terminal, active AWS, library member and OS data sets.
■ If split screens are being used, the applications executing in each screen
may allocate the maximum number of files.
1.9.3.1 Examples
This example assumes that R is a valid 328x-type printer class and that
PR17 is a printing location associated with the user's terminal.
5. To allocate a SYSOUT data set from within an RPF program, where the
output is directed to a system printer:
ALLOCATE
SYSPRINT SYSOUT=(W,,LTRH)
RECFM=FBM
DEST=ABCD
BURST=N
CHARS=(ROS4)
COPIES=2
ENDALLOC
6. To allocate a temporary data set:
ALLOCATE TEMPDD SPACE=(TRK,1(1,1))
1.10.1 Syntax
ALLOCATE (Advantage CA-Roscoe Managed Files) Command
──ALLOCate── ddname──┬────────────────┬─────────────────────────
├─AWS─┬────────┬──┤
│ └─=aname─┘ │
└─MEM=mem─────────┘
──┬────────────────────┬──┬───────────┬──┬─────────┬──────────────
└─CTRL=──┬─FORMAT──┬─┘ └─BLKSIZE=v─┘ └─LRECL=v─┘
├─DISCARD─┤
└─KEEP────┘
──┬───────────────┬──┬──────────┬────────────────────────────────
└─RECFM=charstr─┘ └─ENDALLOC─┘
Operand Description
ddname One- to eight-character DD name to be associated with the
input/output file.
* Causes the terminal to be used as an input/output file.
AWS Causes the active AWS to be used as an input/output file.
OR
AWS= Name of the existing AWS that is to be used as an
input/output file.
MEM= Name of the library member to be used as an input/output file.
CTRL= Designate recognition of carriage control characters by
specifying:
FORMAT Interpret carriage control characters as:
blank no blank lines
0 1 blank line
- 2 blank lines
1 3 blank lines
Ignore any other characters found in column 1.
DISCARD Ignore carriage control characters. The output
record starts with column 2.
KEEP Ignore carriage control characters. The output
record starts with column 1.
1.10.2 Notes
Restriction:
■ ALLOCATE is valid only when the Extended Time-Sharing Option (ETSO)
is active.
Syntax Requirements:
■ When entered at the terminal, the command must be complete within a
line (continuations are not allowed).
■ When executed from within an RPF program, both ALLOCATE and
ENDALLOC must appear on lines by themselves, with command operands
on intervening lines.
Allocation Requirement:
■ All files must be allocated before invoking application execution through
the CALL command.
■ By default, 19 files can be allocated per session. (Site management has the
option of changing this maximum value.) This value includes any
combination of terminal, AWS, library member and OS data sets.
■ If split screens are being used, the applications executing in each screen
may allocate the maximum number of files.
The BLKSIZE, LRECL and RECFM operands can be used to override the
default DCB values for the intercepted Advantage CA-Roscoe-managed file.
1.10.3.1 Examples
1.11 ALTER
Changes the attributes of an AWS, job output or a library member. The ALTER
command is used several ways:
AWS To change the attributes of an AWS.
JOB To change the attributes of an attached job output file.
mem To change the description and/or attributes of a library member.
1.12.1 Syntax
ALTER AWS Command
──ALTer Aws──┬─aname─┬──┬────────────────┬──┬─────────┬────────
└──────┘ ├─RECoverable────┤ ├─SESsion─┤
└─NONRECOVERABLE─┘ ├─SPLit───┤
├─RPF─────┤
└─LEVel───┘
──┬──────────┬─────────────────────────────────────────────────
├─IMPLicit─┤
└─WXPLicit─┘
Operand Description
aname The name of the specific AWS whose attributes are to be
altered.
* Indicates the active AWS.
RECoverable Designates that the contents of this AWS are to be backed up
on disk and recovered in the event of a session or system
termination.
NONRECOVERABLE
Designates that the contents of this AWS are to be retained in
storage for as long as possible. While this provides faster
execution, the data is lost if there is a session or system
termination. (Abbreviate as NREC.)
Note: RECOVERABLE and NONRECOVERABLE are mutually
exclusive.
SESsion Causes this AWS to be discarded when the session ends.
SPLit Causes this AWS to be discarded when the split screen in
which the CREATE command was executed is terminated.
RPF Causes this AWS to be discarded when the RPF 'application'
containing the CREATE command returns control to the
terminal. (In this case, 'application' refers to the RPF program
invoked by the user and all subordinate RPF programs that it
may invoke.)
LEVel Causes this AWS to be discarded when the RPF program
containing the CREATE command terminates. (Abbreviate as
LVL.)
Note: SESSION, SPLIT, RPF and LEVEL are mutually
exclusive.
1.12.3.1 Examples
1.13.1 Syntax
ALTER JOB Command
──ALTer Job──┬────────┬──┬─NOPrint─┬──Class charstr────────────
├─ALL────┤ └─Print───┘
└─File v─┘
──Destcharstr──Form v──COPIES v────────────────────────────────
Operand Description
ALL Causes all files to be affected. (Site management has the option
of restricting use of this operand.)
File Number of the file to be affected. An asterisk (*) may be used
to indicate the file that is currently attached.
Note: ALL and FILE v are mutually exclusive. If neither is
specified, the attributes of the currently attached job
output file are changed.
NOPrint Causes the designated file(s) to be marked for deletion when
the job is detached.
Print Causes the designated file(s) to be marked for printing when
the job is detached.
Class SYSOUT class to be assigned to the file(s).
Dest Name of the printing location where the file(s) are to be
printed. (REMOTE is a synonym for DEST.)
Form (JES2.) One- to eight-digit form number to be assigned to the
file(s).
COPIES (JES2.) Number of copies of the designated file(s) that are to be
printed. The number must be between 1 and 255.
1.13.2 Notes
JES2 Sites:
■ The ALTER command is valid only when a job has held SYSOUT data sets.
JES3 Sites:
■ The ALTER command is valid only when a job has held SYSOUT data sets
and the data sets are held for either:
– An external writer (when ETSO is not active), OR
1.13.3.1 Examples
■ To change the attributes of the second file of a job so that two copies of the
file will be printed when the job is detached:
ALTER JOB FILE 2 PRINT COPIES 2
■ To change the attributes of the file that is currently attached so that the file
is not printed:
ALTER JOB NOPRINT
or
ALTER JOB FILE NOPRINT
1.14.1 Syntax
ALTER (LIB) Command
──ALTer──mem──┬───────────┬──┬───────────────────┬─────────────
└─/charstr/─┘ └─SEQ─┬──────────┬──┘
│ ┌─8─┐ │
├─s──┼───┼─┤
│ └─l─┘ │
└─COBOL────┘
──┬───────┬──┬────────────┬────────────────────────────────────
└─NOSEQ─┘ ├─Shared─────┤
├─Execonly───┤
└─Restricted─┘
Operand Description
mem Name of the library member to be altered.
/charstr/ One- to thirty-character delimited description to be assigned to
the member.
SEQ Sets attribute to allow the insertion of sequence numbers when
the library member is submitted for background execution.
With no qualification, causes sequence numbers to be placed in
columns 73 through 80. The qualifications are:
s l Starting column and length of the sequence number
field.
The maximum length of the field is 8 characters. If
omitted, the default is 8.
COBOL Causes sequence numbers to be placed in columns 1
through 6.
NOSEQ Sets attribute to prevent the insertion of sequence numbers
when the library member is submitted for execution.
Shared Sets attribute to allow anyone to access or execute the member;
only the owner can change or delete it. (Abbreviate as S or
SHR.)
Execonly Sets attribute to allow anyone to execute the member; only the
owner can access, change or delete it. (This attribute is intended
for RPF programs.) (Abbreviate as E or EXE.)
Restricted Sets attribute to allow only the owner to execute, access, change
or delete the member. (Abbreviate as R or RES.)
1.14.2 Notes
■ ALTER has no effect on the contents of the library member or on attributes
not specified in the command.
■ Unless changed by site management, only the owner of a library member
can change the member's description or attributes.
1.14.3.1 Examples
To change only the access attribute of the library member ABC to SHARED:
ALTER ABC SHARED
1.15 AMS
Permits interactive execution of IDCAMS (the IBM Access Method Services
system utility).
1.15.1 Syntax
AMS Command
──AMS─────────────────────────────────────────────────────────
1.15.2 Notes
Restrictions:
■ AMS is a Monitor command. Site management has the option of restricting
its use.
If its use is not restricted, see Appendix B for the extended syntax that
permits the input to be read from the active AWS or a library member.
AMS Overview:
■ By default, AMS attached IDCAMS in such a way that SYSIN and
SYSPRINT become terminal input and output. (Site management can
change AMS so that the active AWS is used for input and output. The
extended syntax allows the user to also obtain input from a library
member.)
■ IDCAMS is invoked with a PARM field entry directing it to reset its
margins for SYSIN to columns 1 through 72. IDCAMS echoes the
MARGINS command and displays a message that the command is
complete. After this message is displayed, the user may enter any AMS
directive(s) or IDCAMS command(s).
■ AMS terminates when IDCAMS finishes all processing (when IDCAMS
detects an end-of-file condition on SYSIN). End-of-file on SYSIN is
returned to IDCAMS when:
– The ..END or ..EOD is entered.
– Any Attention key is used.
– End-of-file is reached in the active AWS or library member.
■ Note that it is assumed that the user is familiar with IDCAMS as described
in the IBM manual OS/VS Access Method Services. That manual should
be used as the definitive guide on JCL requirements, command syntax and
execution.
AMS Directives:
■ AMS directives begin with the characters .. and are never seen by
IDCAMS. The AMS directives are:
.. AWSIN Subsequent input taken from the active AWS.
.. AWS Subsequent output goes into the active AWS.
.. END or .. EOD Logical end-of-file on SYSIN.
.. HELP AMS directives (not IDCAMS) are listed.
.. STATUS Current source for input and the destination for the
output are shown.
.. TERMIN Subsequent input taken from the terminal.
.. TERMOUT Subsequent output goes to the terminal.
IDCAMS Commands:
■ While all IDCAMS commands are valid, please note the following:
1. Avoid the use of modal commands (IF..., THEN..., and so forth) since
their execution cannot be interrupted.
2. Commands such as DEFINE are long and it is easy to make mistakes.
Prepare input to IDCAMS in the AWS. Put a ..TERMIN directive after
each IDCAMS command. If the command is executed successfully, a
..AWSIN directive will switch the input source back to the AWS.
Otherwise, a ..EOD will terminate IDCAMS and allow the AWS to be
re-edited.
3. PRINT is useful for examining VSAM or non-VSAM data sets. Avoid
using the AWS or terminal in a REPRO command. It is suggested that,
where applicable, the COUNT parameter be included with the PRINT
and REPRO commands to limit the amount of data processed.
4. Avoid accessing any data set defined by DSNAME in the Advantage
CA-Roscoe JCL. IDCAMS forces a non-shareable disposition on such
data sets, making them inaccessible to other programs until Advantage
CA-Roscoe is shut down.
1.16 ATTACH
Attaches and displays data at the terminal. This data may be one of the
following:
■ The contents of an AWS.
■ The Data Set Facility, a sequential data set, PDS Selection List or member,
AllFusion CA-Librarian Selection List or module, or Catalog Selection List.
■ Job output.
■ The Library Facility or a library member.
■ A VTOC or Volume Selection List.
1.17.1 Syntax
ATTACH AWS Command
──ATTACH──┬────────────────┬───────────────────────────────────
└─AWS─┬───────┬──┘
├──────┤
└─aname─┘
──┬───────────────────────────────────────────────────────┬────
└─/string/─┬───┬──┬───┬──┬─────┬──┬─────────┬──┬─────┬──┘
└─p─┘ └─q─┘ └─LIT─┘ └─context─┘ └─Mix─┘
Operand Description
With no operand, attaches and displays the contents of the
currently active AWS.
AWS Causes the currently active AWS to be reattached and the display to
begin with the first line. AWS can be qualified with:
* Causes the display to begin with the previously
displayed location.
aname Name of the AWS to be attached.
/string/ Search string, which may not exceed 80 characters and must be
bound by delimiters. The attachment and display begins with the
first line containing the string and continues from that point to the
end of the range.
p q Number of the first and last lines to be searched for the string or to
be displayed. If only one number is specified, only that line is
searched/displayed.
LITeral Prevents the search string from being interpreted (for example,
X'C1' is to be treated as a character string; not as the hexadecimal
representation of the letter A). If omitted, the string is subject to
interpretation.
context Qualifies the search string within the data. If omitted, the search is
for the string exactly as entered. If specified, it must be one of the
following:
WORD Treat the string as a complete entity (it is preceded and
followed by a non-alphanumeric character.) (Abbreviate
as WOR.)
1.17.2 Notes
At 3270-type terminals:
■ When you sign on, an automatically created AWS can be attached by
entering ATTACH with no AWS name. You can attach any other existing
AWS by including its name with the command. Once attached, the
contents of that AWS is displayed and can be scrolled and modified. It
remains attached until:
1. Another AWS is created with an ACTIVE attribute.
2. A existing AWS is ATTACHed or SELECTed.
3. The active AWS is DISCARDed.
4. A command is issued that causes output to the Execution Area (for
example, ATTACH DSN).
5. The DETACH command is entered.
6. The CLEAR key is pressed.
At typewriter devices:
■ ATTACH causes an immediate display of data; there is no attachment. Use
the ATTN function to stop a listing at a typewriter device.
Binary Data:
■ If the data in the active AWS contains binary characters, those characters
are displayed as spaces when that AWS is attached.
1.17.4.1 Examples
■ To attach the currently active AWS to the terminal and begin the display
with the first line:
ATTACH
■ To attach the contents of the currently active AWS and begin the display
with the first line containing the string START:
ATTACH /START/
■ To attach the AWS named TEST:
ATTACH AWS TEST
■ To reattach the currently active AWS and begin the display with the first
line:
ATTACH AWS
■ To reattach the currently active AWS and begin the display with the first
line of the previously displayed data:
ATTACH AWS
1.18.1 Syntax
ATTACH DSN Command
──Attach Dsn──┬─────────────────────────────────────────┬─────
├────────────────────────────────────────┤
├─dsn─┬──────────┬────────────────────────┤
│ ├─(dsnmem)─┤ │
│ └─(v)──────┘ │
├─┬───────────────────────────────┬───────┤
│ │ ┌──
───────────┐ │ │
│ ├─Volume charstr──
┬─────────┬┴──┤ │
│ │ └─charstr─┘ │ │
│ │ ┌──
───────────┐ │ │
│ └─UNITcharstr──
┬─────────┬┴─────┘ │
│ └─charstr─┘ │
├─┬─────────────────────────────────┬─────┤
│ ├─┬─────────────────────────────┬─┤ │
│ │ │ ┌──
───────────┐ │ │ │
│ │ └─PSWd charstr──
┬─────────┬┴──┘ │ │
│ │ └─charstr─┘ │ │
│ ├─┬─────────────┬─────────────────┤ │
│ │ └─MCD charstr─┘ │ │
│ ├─┬─────────────┬─────────────────┤ │
│ │ └─ARC charstr─┘ │ │
│ ├─┬──────────────┬────────────────┤ │
│ │ └─PGMr charstr─┘ │ │
│ ├─┬─────────────────┬─────────────┤ │
│ │ └─MODtype charstr─┘ │ │
│ └─┬──────────────┬────────────────┘ │
│ └─LANG charstr─┘ │
├─HIST────────────────────────────────────┤
├─┬───────┬───────────────────────────────┤
│ ├─QUICK─┤ │
│ ├─SHORT─┤ │
│ └─LONG──┘ │
├─┬─────────────────┬─────────────────────┤
│ └─CONfirm charstr─┘ │
├─┬────────────────┬──────────────────────┤
│ └─CONMem charstr─┘ │
├─┬────────┬──────────────────────────────┤
│ └─LINE v─┘ │
└─┬─────────────────────────────────────┬─┘
└─ORDERed─┬────┬─fldname─┬─────────┬──┘
└─BY─┘ └─charstr─┘
Operand Description
With no operands, displays the Data Set Facility menu.
* Causes the previously attached data set object to be reattached.
dsn One- to 44-character fully qualified name of the data set ob[e[t to
be attached. (With no further qualification, a data set, PDS
Selection List or AllFusion CA-Librarian Selection List is
attached.) To produce a Catalog Selection List, one or more
'wildcard' characters may be included with the name.
If the name does not include wildcard characters, it may be
qualified with:
dsnmem
One- to eight-character name of the AllFusion
CA-Librarian module or PDS member to be attached.
To produce a qualified AllFusion CA-Librarian or PDS
Selection List, use one or more wildcard characters with
the name. With no wildcards, the appropriate
member/module is displayed.
v Relative generation number of the GDG (generation data
group) data set to be attached, specified as 0 (most
current) or a minus number (for example -1).
Volume One- to six-character serial number of the volume on which the
data set resides. One to six serial numbers may be specified.
| (VOLUME cannot be used with AllFusion CA-Librarian data sets
| defined as VSAM.)
If a generic data set name is used with DSN, only one volume
may be specified.
■ VOLUME is required if the data set is not cataloged.
■ VOLUME may be entered as VOLUME, VOL, or V.
Note: To attach a VTOC or Volume Selection List, use the
ATTACH VOLUME command.
UNIT One- to eight-character unit name associated with the device
type(s) on which the data set resides. It may be either an
IBM-defined generic name (for example, 3380) or a site-defined
esoteric name (for example, SYSDA). Required if the data set is
| not cataloged and resides on a mass storage device. (UNIT
| cannot be used with AllFusion CA-Librarian data sets defined as
| VSAM.)
PSWd Password(s), established by the site, for the designated data set or
AllFusion CA-Librarian master file. If omitted and a password is
required, access is denied.
If one password is specified, it is treated as the data set or
AllFusion CA-Librarian master file module password.
If two passwords are specified, the first is treated as the data set
password and the second is treated as the AllFusion CA-Librarian
password.
MCD Management code of the AllFusion CA-Librarian master file.
Required when attaching a PROD2 module. Site-dependent
when attaching a master file containing PROD2 modules.
ARC Archive level of the AllFusion CA-Librarian master file module to
be attached. (The module must be in ARCHIE format.) If
omitted, the most current level of the module is attached.
The level may be specified in one of the following forms:
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 Date and time when the desired archive level
was current. An even number of digits
(starting from the right) may be omitted.
Omitted digits are assumed to have the
highest values that are consistent with the
values of those digits that are specified.
PGMr One- to 15-character programmer name that is to be used when
selecting modules for inclusion in a AllFusion CA-Librarian
Selection List. Only those modules marked as owned by the
specified programmer are included in the selection list. If omitted,
all appropriate modules (as qualified by other operands of this
command) are included.
MODtype Designate 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.
If omitted, all appropriate modules (as qualified by other
operands of this command) are included.
LANG Language code designating the programming language type of
the modules that are to be included in a AllFusion CA-Librarian
Selection List. If omitted, all appropriate modules (as qualified by
other operands of this command) are included.
HIST Causes the display to contain only history records for the
specified AllFusion CA-Librarian master file module. The first
eight positions of the record contain the record date.
QUICK, SHORT, or LONG
Designates the extent of information that is to be included in the
initial Selection List display.
Note: HIST, QUICK, SHORT, and LONG are mutually exclusive.
CONfirm Designate whether data set delete operations are to be confirmed
prior to their execution by specifying one of the following:
YES Confirm delete operation.
NO Do not confirm operation.
Note that CONFIRM may be entered as CONFIRM, CONF, or CON.
CONMem Designate whether member/module delete operations are to be
confirmed prior to their execution by specifying one of the
following:
YES Confirm delete operation.
NO Do not confirm operation.
LINE Designate the location at which the display is to begin. If omitted,
the display begins with the first line. If specified, it must be in the
following form:
v Number of the line at which the display is to begin.
* Reattach at the current top line.
*+v Reattach at the current top line plus the specified number of
lines.
*-v Reattach at the current top line minus the specified number
of lines.
Note that LINE is ignored when reattaching the Data Set Facility
menu or a function panel.
| ORDERed Is the operand to invoke the Advantage CA-Roscoe internal sort.
| It can be specified as ORD or ORDER.
| BY Is an optional extra word, permitted for continuity.
| fldname Is the selection list field that is to be sorted. It can be
| one of the following:
1.18.2 Notes
Data Set Attachment Criteria:
Example: Matches:
TEST1.AB+ TEST1.ABC
TEST1.ABR.NEXT.LOAD
Any One- to eight-character index level, or
TEST2..LOAD TEST2.BASE.LOAD
TEST2.PROD.LOAD
Within a level:
Any number of leading characters, or
TEST3.BC TEST3.ABC
TEST3.XYZBC
TEST4.AB TEST4.ABA
TEST4.ABXYZ
TEST5.AC.SOURCE TEST5.AAC.SOURCE
TEST5.ABEC.SOURCE
Any number of index levels, including none.
TEST6. TEST6.AAA
TEST6.BBBB.NEXT.LOAD
Example: Matches:
TEST7.PROD.+ TEST7.APROD1.BASE
TEST7.ABPROD1.PREV.SOURCE
Example: Matches:
TEST.SAMPLE1(RO?) ROE
ROS
None, one or more characters.
TEST.SAMPLE2(JCL) AJCL
JCL
JCLEND
XJCLX
+ None, one or more trailing characters.
TEST.SAMPLE3(RO+) RO
ROE
ROSCOE
Example: TEST.SAMPLE4(S?AJC+)
Matches: STARTJCL
1.18.4.1 Examples
1.19.1 Syntax
ATTACH JOB Command
──Attach Job──┬───────────────┬──┬──────────────┬──┬──────┬──
├─v──────────────┤ │ ┌─1──┐ │ ├─CC───┤
└─jobname─┬───┬──┘ ├─File─┴─ v─┴──┤ └─NOCC─┘
└─v─┘ │ ┌─1──┐ │
├─Line─┴─ v─┴──┤
│ ┌─1──┐ │
└─Page─┴─ v─┴──┘
Operand Description
* Causes the previously attached job to be reattached.
v Number of the job to be attached.
jobname Name of the job to be attached.
If multiple jobs have been submitted with the same job name, the
job number may be included to designate the specific job to be
attached. If omitted, the next available job is selected.
FILE Number of the file at which the display begins. If omitted, the
default is 1.
PAGE Number of the page within a file at which the display begins. If
omitted, the default is 1.
LINE Number of the line within a file at which the display begins. If
omitted, the default is 1.
CC Causes display of carriage control characters.
NOCC Prohibits display of carriage control characters. This is the default if
neither CC nor NOCC are specified.
1.19.2 Notes
Determine Execution Status:
■ Use DISPLAY to determine the status of a job. DISPLAY can be used to
provide information about jobs in execution, initiators, job queues and
devices.
At 3270-Type Terminals:
■ The user can scroll through the contents of an attached job but cannot
modify it.
■ The job remains attached until explicitly detached.
At Typewriter Devices:
■ ATTACH causes an immediate display of data; there is no attachment.
■ The listing stops when: 1) the ATTN function is used, or 2) the number of
lines indicated by the BREAK command have been listed. (After the
specified number of lines have been listed, printing stops. To restart listing
at the same location, enter ATTACH JOB *.)
■ Use the SET DISPLAY command to specify the length of the output lines.
(The default is 80.) The maximum length is 150 characters. If a number is
specified that is longer than the line that can be printed at the device, the
line is wrapped.
JES2 Sites:
■ A job's files may be examined at any time. (If the attributes of the output
files are to be modified, the job must be submitted with a special SYSOUT
class established by site management.) If the job is:
AWAITING EXECUTION
The JCL and all SYSIN data can be viewed. (This is
the only time that this information will be
displayed.)
EXECUTING The JCL and much of the job log and SMB that is
currently written can be viewed, plus all available
files. (If a file is open and empty, only the end of
file message is presented when that file is
displayed.)
AWAITING PRINT All SYSOUT files that have not yet been printed or
purged can be viewed.
■ Using Job Numbers: A job may be attached by its job name and/or
number. If there are multiple jobs with the same name and no job number
is specified, a Job List is produced.
JES3 Sites:
■ If an output file exists, it may be examined at any time. Modifications may
only be made to the attributes of files routed to a SYSOUT class held for:
– An external writer (when ETSO is not active), or
Example: Matches:
ROS? ROSE
ROST
None, one or more characters.
ROSJCL ROSAJCL
ROSJCL
ROSJCLEND
ROSXJCLX
+ None, one or more trailing characters.
DROS+ DROS
DROSCOE
DROSTSO
Example: S?AJC+
Matches: STARTJCL
1.19.3.1 Examples
■ To display the job named COMPILE, beginning with the first line of the
first file:
ATTACH JOB COMPILE
Note that if there were more than one job named COMPILE, the preceding
command would display a Job List of all of them.
■ To display the job COMPILE beginning with the fourth line of the second
file:
ATTACH JOB COMPILE 542 FILE 2 LINE 4
■ To reattach the job COMPILE and begin the display with the last file, page,
and line shown:
ATTACH JOB
The above command can also be used to reattach a Job List.
1.20.1 Syntax
ATTACH LIB Command
──Attach Lib──┬─ +────────────┬──┬─────┬───────────────────────
├─KEY string────┤ └─mem─┘
└─pfx.─┬─────┬──┘
└─mem─┘
──┬─────────────────────────────────────┬──┬────────────┬───────
└─ORDERed─┬────┬─fldname─┬─────────┬──┘ ├─Shared─────┤
└─BY─┘ └─charstr─┘ ├─Execonly───┤
├─Restricted─┤
└─Nodesc─────┘
──┬────────┬───────────────────────────────────────────────────
└─LINE v─┘
──Attach──┬─────┬──┬──────┬──mem─────────────────────────────────────
└─Lib─┘ └─pfx.─┘
──┬───────────────────────────────────────────────────────────┬──────
├─/string/─┬──────────┬──┬─────────┬──┬─────────┬──┬─────┬──┤
│ └─p─┬───┬──┘ └─LITeral─┘ └─context─┘ └─Mix─┘ │
│ └─q─┘ │
└─LINE v────────────────────────────────────────────────────┘
──Attach Lib──┬───┬─────────────────────────────────────────────────
└──┘
Operand Description
+ Provides a Selection List containing all of the members owned
by the user signed on.
The member list to be attached can be displayed in a specific
order. Use the ORDER operands to qualify the display:
ORDERed BY fldname [ charstr ]
where:
ORDERed is the operand to invoke the Advantage
CA-Roscoe internal sort. It can be specified as
ORD or ORDER.
BY is an optional extra-word, permitted for
continuity.
1.20.2 Notes
At 3270-type terminals:
■ The contents of the attached member can be scrolled but it cannot be
modified. (To modify the contents of the member, a copy must be placed
in an AWS.)
■ The library member remains attached until explicitly detached.
■ Executing a command that causes output to the Execution Area (for
example, ATTACH DSN) or pressing the CLEAR key places the member in
a 'pending' state. The member can be reattached at any time.
At typewriter devices:
■ ATTACH causes an immediate display of data; there is no attachment. Use
the ATTN function to stop a listing at a typewriter device.
create a selection list that contains only those member that match the
selection criteria.
1.20.4.1 Examples
1.21.1 Syntax
ATTACH VOLUME Command
──Attach──┬─────────┬──Volume──┬─────────┬──┬──────────────┬───
└─DSN dsn─┘ ├────────┤ └─UNIT charstr─┘
├─+───────┤
└─charstr─┘
──┬───────────────────┬──┬───────┬─────────────────────────────
└─TYPE─┬─PRIVATE─┬──┘ ├─QUICK─┤
├─PUBLIC──┤ ├─SHORT─┤
└─STORAGE─┘ └─LONG──┘
Operand Description
With no operands, displays the Data Set Facility menu.
Dsn One- to 44-character name with 'wildcard' characters to be used
to create a qualified VTOC Selection List. (See Notes for
additional information.)
* Causes the previously attached data set object to be reattached.
+ Causes a Volume Selection List to be displayed. The List contains
only those units that have a volume mounted.
charstr Volume serial number. 'Wildcard' characters may be used to
create a Volume Selection List.
Note: If neither *, + or a serial number is specified, UNIT
and/or TYPE are required.
UNIT One- to eight-character unit name. It may be either an
IBM-defined generic name (for example, 3380) or a site-defined
esoteric name (for example, SYSDA).
TYPE Designate the type of volumes to be included by specifying one
or more of the following:
PRIVATE Include private volumes. (Abbreviate as PRV.)
PUBLIC Include public volumes.
STORAGE Include storage volumes. (Abbreviate as STG).
If omitted, all volumes types are included in the Selection List.
QUICK, SHORT, or LONG
Designates the extent of information that is to be included in the
initial Selection List display.
Note: QUICK, SHORT and LONG are mutually exclusive.
1.21.2 Notes
Detaching/Reattaching the Data Set Facility:
■ The Data Set Facility remains attached until explicitly detached.
■ Executing a command that causes output to the Execution Area (for
example, ATTACH LIB) or pressing the CLEAR key places the Data Set
Facility in a 'pending' state. It can be reattached at any time.
■ If a data set or Selection List is currently attached and the user attaches
another one, the first is implicitly detached (the user need not enter the
DETACH DSN command).
QUICK/SHORT/LONG Setting:
■ The first time you use the Data Set Facility (through DSN, ATTACH DSN,
or ATTACH VOL), QUICK is assumed. Thereafter, the setting in effect
when you sign off is remembered and reinstated whenever you sign back
on.
■ QUICK, SHORT, and LONG control the extent of information included in
the initial Selection List display. If QUICK or SHORT are specified,
information is acquired for entries based on the operations affecting those
entries.
1.21.4.1 Examples
1.22 BOTTOM
Positions the pointer to the last line of the active AWS.
1.22.1 Syntax
BOTTOM Command
──BOTTOM──────────────────────────────────────────────────────
1.22.2 Notes
■ BOTTOM does not cause the display to be changed it only positions the
pointer to the last line of the active AWS.
■ While BOTTOM can be entered from the terminal, it is intended for use in
RPF programs.
1.23.1 Syntax
BOUNDSB Command
──BOUNDS──┬───┬──┬───┬────────────────────────────────────────
└─<─┘ └─>─┘
Operand Description
With no operands, resets column boundaries to columns 1 and 80.
< Left boundary symbol.
> Right boundary symbol.
1.23.2 Notes
Default Settings:
■ At sign-on, the default column boundaries are:
AWS = 1 through 80
DSN = 1 through 32767
JOB = 1 through 255
LIB = 1 through 80
■ When SET DISPLAY NUMX is in effect, the current column boundary
settings are displayed on the Scale Line.
Using BOUNDS:
■ The < and > boundary symbols may be placed anywhere on the line.
When positioning to a location that contains data, use either the space bar
or the cursor positioning keys. When positioning to a location that does
not contain data, use the space bar.
■ To set the column boundaries to one column, enter BOUNDS twice to
specify that both the left (<) and right (>) column boundaries are to be set
to the chosen column. The Scale Line will contain a vertical bar (|),
indicating the column boundary.
■ If only one column boundary character (< or >) is specified, only that
boundary is changed.
Abbreviations:
■ BOUNDS may be abbreviated as BOUND, BNDS AND BND.
1.23.3.1 Examples
> AWS(AAA.SHIPRATE) SCRL FULL COLS 1 72
> <...+....1....+....2....+....3....+....4....+....5..
...... ================================ T O P ==============
BOUNDS <DENTIFICATI>N DIVISION.
2 PROGRAM-ID. SHIPRATE.
The Scale Line in the next example reflects the boundaries in affect after
this command is executed.
■ To reset the right column boundary to 35:
> AWS(AAA.SHIPRATE) SCRL FULL COLS 1 72
> ....+..<.1....+....>....+....3....+....4....+....5..
...... ================================ T O P ==============
BOUNDS IDENTIFICATION DIVISION. >
2 PROGRAM-ID. SHIPRATE.
> AWS(AAA.SHIPRATE) SCRL FULL COLS 1 72
> ....+.<..1....+....2....+....3....>....4....+....5..
...... ================================ T O P ==============
BOUNDS <DENTIFICATION DIVISION.
BOUNDS >ROGRAM-ID. SHIPRATE.
1.24 BREAK
(Typewriter devices only.) Controls the number of lines written before
pausing.
1.24.1 Syntax
BREAK Command
──BREAK──┬───┬────────────────────────────────────────────────
└─v─┘
Operand Description
With no operand, deactivates the software BREAK function.
v Number of lines to be written before pausing.
1.24.2 Notes
Default:
■ At sign-on, the site-defined number of lines is in effect.
Using BREAK:
■ BREAK is meant to be used at terminals that do not have a hardware
BREAK key.
■ If BREAK is deactivated, the hardware BREAK key must be used.
Controls:
■ To resume listing after a pause, use the CONTROL-S or CONTROL-Q
keys.
■ To terminate the listing, press the RETURN key. An 'EOT' (CONTROL-D)
disables the terminal.
1.25 CALL
Initiates execution of an application known to ETSO.
1.25.1 Syntax
CALL Command
──CALL──charstr─┬────────┬────────────────────────────────────
└─string─┘
Operand Description
charstr One- to eight-character name used to invoke the application.
string Parameter list to be passed to the application. The list must be
bound by delimiters and can consist of any parameters valid within
the application.
With programs, the list cannot exceed 100 characters in length. With
command processors, it cannot exceed:# 1) the length of the
terminal line, or 2) 255 characters, if issued from within an RPF
program.
1.25.2 Notes
Restriction:
■ The CALL command is valid only when the Extended Time-Sharing
Option (ETSO) is active.
Executing Applications:
■ Your site management will tell you what applications are available and
how they should be invoked. For example, to invoke IEBCOPY, you might
enter:
CALL IEBCOPY
While to invoke GDDM ICU, you might enter:
CALL ADMCHART
Terminate Prompting/Output:
■ If the application prompts for a variable amount of input, you can indicate
end-of-input by entering '..', the default escape indicator.
■ The same indicator can also be used to terminate an application that is
writing output to the terminal.
■ You can change the escape indicator using the SET ESCAPE command.
1.25.3.1 Example
■ To allocate the terminal as an input and an output file and to invoke the
application DOIT and pass it parameters:
ALLOCATE SYSIN
ALLOCATE SYSPRINT
CALL DOIT '1 2'
1.26.1 Syntax
CANCEL ETSO Command
──CANCEL ETSO─────────────────────────────────────────────────
1.26.2 Notes
Restrictions:
■ The CANCEL command is valid only when the Extended Time-Sharing
Option (ETSO) is active.
■ Only applications using the ETSO Application Programming Interface have
the option of suspending execution.
Obtaining Information:
■ Use the QUERY CALL command to display information about ETSO
applications that you are currently executing.
1.27 CATALOG
Catalogs an OS data set.
1.27.1 Syntax
CATALOG Command
──CATALOG──┬─Dsn dsname─┬──────┬───────┬───────────────────────
│ └─(+v)─┘ │
│ ┌──
───────┐ │
charstr┴──┘
└─Volume charstr──
──┬─────────────────────────────┬──────────────────────────────
│ ┌──
───────────┐ │
┬─────────┬┴──┘
└─UNIT charstr──
└─charstr─┘
Operand Description
Dsn One- to 44-character fully qualified name of the data set to be
cataloged. The name may be further qualified with:
+v Relative generation number of GDG (generation data group)
date set to be cataloged, specified as a value between 1 and
255.
Volume One- to six-character serial number of volume on which the data set
resides. One to six volumes may be specified.
UNIT One- to eight-character name of the unit associated with the
volume(s) specified by VOLUME. The name may be either an
IBM-defined generic name (for example, 3380) or a site-defined
esoteric name (for example, SYSDA).
One to six unit names may be specified (one for each corresponding
volume). If multiple volumes are specified with VOLUME but only
one unit name is specified, that unit name is assumed to apply to
all volumes specified.
1.27.2 Notes
Restrictions:
■ CATALOG does not support VSAM data sets. Use IBM's Access Method
Services DEFINE command to catalog a VSAM data set.
■ CATALOG may not be used to create a catalog entry for an SMS-managed
data set.
UNIT Requirements:
■ UNIT is not required if the volumes specified with VOLUME are mounted
and online. (If specified, it is ignored. The unit information is obtained
dynamically from the unit control blocks (UCBs) associated with each
volume.)
■ UNIT is required if the data set resides on a tape or non-mounted volume
(for example, mass storage).
Abbreviation:
■ CATALOG can also be abbreviated as CATLG.
CATALOG Processing:
■ If the first (or only) volume specified with CATALOG 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.)
1.28 CDSN
|
| Invokes an RPF that discontinues a data set editing session without saving or
| updating the data set.
|1.28.1 Syntax
|
| CDSN Command
| ──CDSN────────────────────────────────────────────────────────
|1.28.2 Notes
| ■ This command invokes an RPF, so a prefix may be required for execution.
| By default, it will be executed from the RO prefix.
1.29 CHAIN
Concatenates specified library members in the active AWS.
1.29.1 Syntax
CHAIN Command
┌──
───────┐
┬─────┬┴───────────────────────────────────────
──CHAIN──mem───
└─mem─┘
Operand Description
mem Name of the library member to be concatenated. A maximum of 21
member names can be specified, provided that the command fits on
a single line.
1.29.2 Notes
■ The contents of the active AWS are deleted before the concatenation
occurs.
■ The new contents of the active AWS is numbered beginning with 1 and
incremented by 1.
■ The library members are brought into the active AWS in the order
specified and assume the attributes of the last library member named.
If one of the members is not found, execution terminates. Any members
already fetched into the AWS remain there.
■ If only one member name is specified, the result is the same as a FETCH
command.
1.29.4.1 Example
■ To copy three library members into the active AWS in the order specified,
where one of the members belongs to the individual assigned the prefix
ABC:
CHAIN SAMPLE1 ABC.OTHER SAMPLE2
1.30 COMPRESS
Compresses a partitioned data set to regain unused space.
1.30.1 Syntax
COMPRESS Command
──COMPRESS Dsn──dsname──┬───────────────┬──┬─────────────┬─────
└─Volume chrstr─┘ └─UNIT chrstr─┘
──┬─────────────┬──────────────────────────────────────────────
└─PSWd chrstr─┘
Operand Description
dsname One- to 44-character fully qualified name of the partitioned data set
to be compressed.
Volume One- to six-character serial number of the volume containing the
data set to be compressed. VOLUME is required if the data set is
not cataloged.
UNIT One- to eight-character unit designation associated with the device
on which the data set resides. UNIT is required only if the data set
resides on a mass storage device.
PSWd Password (established by the site) for the designated data set. If
omitted and a password is required, the operation is rejected.
1.30.2 Notes
COMPRESS Requirements:
■ When a COMPRESS operation is requested, the utility program defined by
the site is invoked to process the request. (As distributed, the utility
program is IEBCOPY.)
■ To be compressed, the data set must:
1. Reside on a single DASD volume that is currently mounted and online,
or a mass-storage volume that is capable of being staged.
2. Be a partitioned data set.
3. Not have the unmoveable attribute ( DSORG=POU) or keyed records.
4. Meet any requirements imposed by the site-defined utility program
that have not been mentioned here.
COMPRESS Messages:
■ Diagnostic messages produced by the utility are written to the user's
library member ZZZZZCMP. (If the member does not exist, it is created; if
it is does exist, its contents are overlaid.)
■ Type of information directed to this member can be controlled by the SET
DSNCMLST command.
Site-Imposed Limits:
■ The number of COMPRESS requests that may be active concurrently is
limited by site management. If the limit has been reached, the user is
placed in a wait for two seconds, then the request is retried. This process
continues until the data set is compressed or the user terminates the
request with an attention interrupt.
■ Site management has the option of designating whether the user must
have exclusive control of the data set.
■ If the site requires exclusive control and that cannot be obtained, the
compress request is rejected.
■ If the site does not require exclusive control, shared control is accepted if
exclusive control cannot be obtained.
1.31 COPY
Copies all or part of the designated data into an AWS.
1.31.1 Syntax
COPY Command
┌─N1─┐
──Copy──┬───────────┬──┬──────────┬──o──┼────┼──┬───────┬──────
├─AWS aname─┤ └─p─┬───┬──┘ └─Nv─┘ ├─NOHDR─┤
├─Dsn───────┤ └─q─┘ └─FULL──┘
├─Job───────┤
├─Lib───────┤
├─mem───────┤
└─SCReen────┘
──┬──────────┬─────────────────────────────────────────────────
└─TO aname─┘
Operand Description
aname Name of an existing AWS that is to be copied.
Dsn Designates that the currently attached data set object is to be
copied.
Job Designates that the currently attached job output file is to be
copied.
Lib Designates that the currently attached library member or Selection
List is to be copied.
mem Name of the library member to be copied.
SCReen Designates that the currently displayed screen is to be copied.
Note: If neither an explicit AWS name, DSN, JOB, LIB, a library
member name nor SCREEN is specified, one or more lines
within the active AWS are to be copied.
p q Number of the first and last lines to be copied. If only one number
is specified, only that line is copied.
o Destination of the operation, specified as:
v A line number.
* After the line at which the AWS pointer is positioned.
T Before the first AWS line.
B or ,, After the last AWS line.
R Replace AWS contents with copied data. (Treated as T
when copying within the AWS.)
Nv Number of times (v) the specified lines are duplicated. The default
is N1.
NOHDR (Applicable only when copying from a Selection List.) Prevents the
Selection List header lines from being copied.
FULL (Applicable only when copying from a Selection List.) Causes the
Selection List being copied to include all available information. If
omitted, only the information provided by the current format is
copied. (Use the SELECT ALT command to change the format.)
TO Name of the AWS that is to receive the data. If omitted, the data is
copied to the currently active AWS.
1.31.2 Notes
■ The copy operation is nondestructive (lines are not deleted from their
original location).
AWS Overflow:
■ If the number of lines to be copied exceeds the size of the AWS, the
operation terminates when the AWS is full; the data copied up to the point
of the overflow is retained.
Terminating Operation:
■ The Attention key may be used to interrupt a copy operation.
Copying to an AWS:
■ When copying between AWSs, both AWSs must exist. Either or neither of
them need be the active AWS.
■ If you are working with split screens, you may not copy to the AWS that
is active in the other split screen. (You may copy from the AWS that is
active in the other screen to the AWS that is active in the screen containing
the command.)
■ When LIB is specified with the command (for example, COPY LIB), all or
part of the currently attached member or Selection List is copied into the
AWS.
1.31.4.1 Example
■ To copy lines 100 through 500 after the last line of the active AWS:
COPY 1 5 B
■ To copy every line in the active AWS beginning with the line at which the
pointer is currently positioned through the end of that AWS to before the
first line of that AWS:
COPY ,, T
■ To copy ten lines, beginning at the line at which the pointer is currently
positioned, after line 300 in the active AWS:
COPY 1 3
■ To copy lines 100 through 500 from the AWS named SAMPLE to the top
of the active AWS:
COPY AWS SAMPLE 1 5 T
■ To copy all of the attached data set object after line 900 of the AWS named
SAMPLE :
COPY DSN 9 TO SAMPLE
■ To copy the currently attached Library Selection List to the active AWS,
omitting the Selection List header lines and replacing the contents of the
AWS:
COPY LIB NOHDR R
■ To copy lines 700 through 1200 of the library member named TEST1 to the
line at which the pointer is currently positioned within the active AWS:
COPY TEST1 7 12
■ To copy lines 5 through 20 of the current screen display four times and
place them after line 1200 of the AWS named SAMPLE:
COPY SCREEN 5 2 12 N4 TO SAMPLE
1.32.1 Syntax
Copy Line Commands
──┬─C─┬───┬──┬────────────────────────────────────────────────
│ └─v─┘ │
├─CC───────┤
├─CR───────┤
├─CCR──────┤
├─CB───────┤
└─CT───────┘
Command Description
C Copy one line. To copy multiple lines, specify:
v Number of lines to be copied.
CC Copy block of lines. CC must be entered on the first and last line of
block to be copied. The range of lines to be copied does not have to
be displayed in its entirety on one screen. Scrolling and other line
commands can be performed while a line command is pending.
CR Copy one line. The command remains displayed.
CCR Copy block of lines; the commands remain displayed. CCR must
be entered on the first and last line of block to be copied. The range
of lines to be copied does not have to be displayed in its entirety on
one screen. Scrolling and other line commands can be performed
while a line command is pending.
CB Copy all lines from the line containing the command through the
last line of the active AWS.
CT Copy all lines from the first line of the active AWS through the line
containing the command.
1.32.2 Notes
■ The copy operation is nondestructive (lines are not deleted from their
original location).
1.32.3.1 Example
■ To copy two lines (lines 100 and 200) after line 400 of the active AWS:
> AWS(AAA.TAXREPT) SCRL FULL COLS 7 78
> .<.1....+....2....+....3....+....4....+....5...
...... ================================ T O P =========
C21 IDENTIFICATION DIVISION.
2 PROGRAM-ID. TAX-REPT.
3
A4 ENVIRONMENT DIVISION.
■ To copy all lines from line 300 through the end of the AWS to before line
100:
> AWS(AAA.TAXREPT) SCRL FULL COLS 7 78
> .<.1....+....2....+....3....+....4....+....5...
...... ================================ T O P =========
B1 IDENTIFICATION DIVISION.
2 PROGRAM-ID. TAX-REPT.
CB3
4 ENVIRONMENT DIVISION.
1.33 COPYS
Copies one or more lines containing a specific string from the designated data
into the AWS.
1.33.1 Syntax
COPYS Command
──COPYS──┬─AWS aname─┬──┬───────────┬──/string/────────────────
├─Dsn───────┤ └──┬───┬─ e─┘
├─Job───────┤ └─s─┘
├─Lib───────┤
├─mem───────┤
└─SCReen────┘
──┬───────────┬──o──┬────┬──┬─────────┬──┬─────┬────────────────
└─ p─┬───┬──┘ └─Nv─┘ └─LITeral─┘ └─Mix─┘
└─q─┘
──┬─────────┬──┬───────┬──┬──────┬──┬──────────┬───────────────
└─context─┘ └─NOHDR─┘ └─FULL─┘ └─TO aname─┘
Operand Description
aname Name of an existing AWS that is to be copied.
Dsn Designates that the currently displayed data set object is to be
copied.
Job Designates that the currently displayed job output file is to be
copied.
Lib Designates that the currently attached library member or Selection
List is to be copied.
mem Name of the library member to be copied.
SCReen Designates that the current screen display is to be copied.
s e Number of the starting and ending columns to be searched for the
string. If only one number is specified, it is assumed to be the
ending column. The ending column cannot exceed: 1) 255, or 2) the
record length of the data set object.
/string/ Search string which may not exceed 80 characters in length and
must be bound by delimiters.
p q Number of the first and last lines to be searched for the string. If
only one number is specified, only that line is searched.
NOHDR (Applicable only when copying from a Selection List.) Prevents the
Selection List header lines from being copied.
FULL (Applicable only when copying from a Selection List.) Causes the
Selection List being copied to include all available information. If
omitted, only the information provided by the current format is
copied. (Use the SELECT ALT command to change the format.)
TO Name of the AWS that is to receive the data. If omitted, the data is
copied to the currently active AWS.
1.33.2 Notes
■ The copy operation is nondestructive (lines are not deleted from their
original location).
Abbreviation:
■ COPYS can be abbreviated as CS.
AWS Overflow:
■ If the number of lines to be copied exceeds the size of the AWS, the
operation terminates when the AWS is full; the data copied up to the point
of the overflow is retained.
Terminating Operation:
■ The Attention key may be used to interrupt a copy operation.
■ If you are working with split screens, you may not copy to the AWS that
is active in the other split screen. (You may copy from the AWS that is
active in the other split screen to the AWS that is active in the screen
containing the command.)
■ When LIB is specified with the command (for example, COPY LIB), all or
part of the currently attached member or Selection List is copied into the
AWS.
1.33.4.1 Examples
■ To copy every line containing the string WIDGET in the lines 100 through
900 of the attached data set object, replacing the active AWS contents:
COPYS DSN WIDGET 1 9 R
■ To copy every line from the attached data set object containing the
hexadecimal string C1 to the top of the active AWS:
COPYS DSN X'C1' LITERAL
■ To copy every line containing the string XYZ from the existing AWS
named OUTDATA to the top of the existing AWS named INDATA:
COPYS AWS OUTDATA XYZ T TO INDATA
■ To copy every line of the attached job output file containing the string
PRINT-FILE to, or immediately after, line 1200 of the active AWS:
COPYS JOB PRINT-FILE 12
■ To copy every line from the attached job output file containing a string
beginning with ABC to the bottom of the active AWS:
COPYS JOB ABC PREFIX B
■ To copy every line from the library member MEMBER1 containing the
string XYZ to the top of the active AWS, repeating those lines three times:
COPYS MEMBER XYZ T N3
■ To copy every line containing the date 12/12/88 from the Library Selection
List, omitting the header lines, after the line at which the AWS pointer is
currently positioned:
COPYS LIB '12/12/88' NOHDR
■ To copy every line containing the string DATE in columns 10 through 50
of the displayed screen to the bottom of the AWS named SAMPLE :
COPYS SCREEN 1 5 DATE B TO SAMPLE
1.34 COPYX
Copies one or more lines not containing a specific string from the designated
data into the AWS.
1.34.1 Syntax
COPYX Command
──COPYX──┬─AWS aname─┬──┬───────────┬──/string/────────────────
├─Dsn───────┤ └──┬───┬─ e─┘
├─Job───────┤ └─s─┘
├─Lib───────┤
├─mem───────┤
└─SCReen────┘
──┬───────────┬──o──┬────┬──┬─────────┬──┬─────┬────────────────
└─ p─┬───┬──┘ └─Nv─┘ └─LITeral─┘ └─Mix─┘
└─q─┘
──┬─────────┬──┬───────┬──┬──────┬──┬──────────┬───────────────
└─context─┘ └─NOHDR─┘ └─FULL─┘ └─TO aname─┘
Operand Description
aname Name of an existing AWS that is to be copied.
Dsn Designates that the currently displayed data set object is to be
copied.
Job Designates that the currently displayed job output file is to be
copied.
Lib Designates that the currently attached library member or Selection
List is to be copied.
mem Name of the library member to be copied.
SCReen Designates that the current screen display is to be copied.
s e Number of the starting and ending columns to be searched for the
string. If only one number is specified, it is assumed to be the
ending column. The ending column cannot exceed: 1) 255, or 2) the
record length of the data set object.
/string/ Search string which may not exceed 80 characters in length and
must be bound by delimiters.
p q Number of the first and last lines to be searched for the string. If
only one number is specified, only that line is searched.
NOHDR (Applicable only when copying from a Selection List.) Prevents the
Selection List header lines from being copied.
FULL (Applicable only when copying from a Selection List.) Causes the
Selection List being copied to include all available information. If
omitted, only the information provided by the current format is
copied. (Use the SELECT ALT command to change the format.)
TO Name of the AWS that is to receive the data. If omitted, the data is
copied to the currently active AWS.
1.34.2 Notes
■ The copy operation is nondestructive (lines are not deleted from their
original location).
Abbreviation:
■ COPYX can be abbreviated as CX.
AWS Overflow:
■ If the number of lines to be copied exceeds the size of the AWS, the
operation terminates when the AWS is full; the data copied up to the point
of the overflow is retained.
Terminating Operation:
■ The Attention key may be used to interrupt a copy operation.
■ If you are working with split screens, you may not copy to the AWS that
is active in the other split screen. (You may copy from the AWS that is
active in the other split screen to the AWS that is active in the screen
containing the command.)
■ When LIB is specified with the command (for example, COPY LIB), all or
part of the currently attached member or Selection List is copied into the
AWS.
1.34.4.1 Examples
■ To copy every line not containing the string WIDGET in the lines 100
through 900 of the attached data set object, replacing the active AWS
contents:
COPYX DSN WIDGET 1 9 R
■ To copy every line from the attached data set object not containing the
hexadecimal string C1 to the top of the active AWS:
COPYX DSN X'C1' LITERAL
■ To copy every line not containing the string XYZ from the existing AWS
named OUTDATA to the top of the existing AWS named INDATA:
COPYX AWS OUTDATA XYZ T TO INDATA
■ To copy every line of the attached job output file not containing the string
PRINT-FILE to, or immediately after, line 1200 of the active AWS:
COPYX JOB PRINT-FILE 12
■ To copy every line from the attached job output file not containing a string
beginning with ABC to the bottom of the active AWS:
COPYX JOB ABC PREFIX B
■ To copy every line from the library member MEMBER1 not containing the
string XYZ to the top of the active AWS, repeating those lines three times:
COPYX MEMBER XYZ T N3
■ To copy every line not containing the date 12/12/88 from the Library
Selection List, omitting the header lines, after the line at which the AWS
pointer is currently positioned:
COPYX LIB '12/12/88' NOHDR
■ To copy every line not containing the string DATE in columns 10 through
50 of the displayed screen to the bottom of the AWS named SAMPLE :
COPYX SCREEN 1 5 DATE B TO SAMPLE
1.35 CREATE
Assign a name and attributes to an AWS.
1.35.1 Syntax
CREATE Command
──CREATE AWS──aname──┬────────────────┬──┬─────────┬───────────
├─RECoverable────┤ ├─SESsion─┤
└─NONRECoverable─┘ ├─SPLit───┤
├─RPF─────┤
└─LEVel───┘
──┬──────────┬──┬──────────┬──┬────────┬───────────────────────
├─ACTive───┤ ├─IMPlicit─┤ ├─NEW────┤
└─INACTive─┘ └─EXPlicit─┘ ├─REUSE──┤
└─RETAIN─┘
Operand Description
aname One- to eight-character name to be assigned to the AWS being
created. It must conform to Advantage CA-Roscoe's member
naming conventions. The name may not be FLIP, NEXT,
PREV, ROSn, SYSn or TMPn (where 'n' is a numeric value); nor
may it be B, F, N, P, T, or R.
If the name is specified as TEMP, a name is generated in the
form TMPn, where 'n' is a unique character.
RECoverable Designates that the contents of this AWS is to be backed up on
disk and recovered in the event of a session or system
termination.
NONRECOVERABLE
Designates that the contents of this AWS is to be retained in
storage for as long as possible. While this provides faster
execution, the data is lost if there is a session or system
termination. (Abbreviate as NREC.)
Note: RECoverable and NONRECOVERABLE are mutually
exclusive. If neither is specified, the default is
RECOVERABLE if the AWS is defined with an explicit
name or NONRECOVERABLE if the AWS is defined
with the name TEMP.
1.35.2 Notes
Defaults and Restrictions:
■ By default, each user has two AWSs (named ROSn). The first is available
when you sign on. The other is automatically provided when you split the
screen. The number of additional AWSs that you may create is established
by site management.
1.35.4.1 Examples
1.36 DDO
Permits Advantage CA-Datacom/DB Datadictionary to be used during a
Advantage CA-Roscoe terminal session.
1.36.1 Syntax
DDO Command
──DDO─────────────────────────────────────────────────────────
1.36.2 Notes
To Start Advantage CA-Datacom/DB Datadictionary Session:
■ At sites using Advantage CA-Datacom/DB Datadictionary, executing the
DDO command causes the Advantage CA-Datacom/DB Datadictionary
frontispiece to be displayed. All facilities of Advantage CA-Datacom/DB
Datadictionary are available to the Advantage CA-Roscoe users.
Restriction:
■ The DDO command cannot be issued when the Advantage CA-Roscoe
screen has been split and both presentation areas are displayed.
See the descriptions of the :commands on page 1-9 for information about
specific screen escape actions that can be performed during a Advantage
CA-Datacom/DB Datadictionary session.
1.37 DEFINE
Defines an alias, or a generation data base or data set index.
1.38.1 Syntax
DEFINE ALIAS Command
──DEFine ALIAS──charstr──RELate──dsn──────────────────────────
Operand Description
ALIAS Name of the alias to be created.
RELate One- to 44-character name of the non-VSAM data set, ICF user
catalog, or VSAM user catalog for which an alias is to be created.
1.38.2 Notes
Non-VSAM Data Sets:
■ When defining an alias for a non-VSAM data set, the data set must be
cataloged in an ICF or VSAM catalog accessible to Advantage CA-Roscoe.
Catalog Restriction:
■ The catalog entry created for the alias must be in the same catalog as the
entry for the related non-VSAM data set, ICF user catalog, or VSAM user
catalog.
■ Attempts to define an alias with a name that causes an entry to be created
in a different catalog are not supported by catalog management and are,
therefore, rejected.
1.39.1 Syntax
DEFINE ALIAS Command
──DEFine ALIAS──charstr──RELate──dsn(mem)──────────────────────
──┬────────────────┬──┬──────────────┬──┬──────────────┬───────
└─Volume charstr─┘ └─UNIT charstr─┘ └─PSWd charstr─┘
Operand Description
ALIAS One- to eight-character alias to be created.
RELate Fully qualified name of the PDS in which the alias is to be created
plus the One- to eight-character name of the member for which an
alias is to be created.
Volume One- to six-character serial number of the volume on which the
PDS resides. VOLUME is required only if the data set is not
cataloged.
Note: Volume can be specified as VOLUME, VOL, or V.
UNIT One- to eight-character unit name associated with the device on
which the PDS resides. UNIT is required only if the data set resides
on a mass storage volume and is not cataloged.
PSWd One- to eight- character OS password for the PDS.
1.39.2 Notes
Non-Load Module Aliases:
■ If the related member is not a load module (or is an alias in a load
module), the PDS directory record for the alias is created by copying all
information from the related member's directory record and setting the
alias flag in the new directory record.
all information from the related member's directory record, then overlaying
the following fields based on the information found in the ESD (External
Symbol Dictionary) data for the symbol:
– Entry Point Offset,
– Addressing Mode,
– Overlay Control Information, and
– Scatter Load Information.
■ If the requested alias is defined as a symbolic name in the load module,
the request is rejected if it is not one of the following types:
– Control Section Definition
– Entry Label Reference
– Common Control Section
– Resolved External Reference
– Resolved Weak External Reference
■ Additionally, if the load module is in overlay format, the symbol must
refer to a location in the root segment (segment 1) of the load module.
1.40.1 Syntax
DEFINE GDG Command
──DEFine GDG──charstr──┬──────────────┬──┬─────────┬───────────
└─LIKE charstr─┘ └─LIMit=v─┘
┌─NOEMPTY─┐ ┌─NOSCRATCH─┐
──┼─────────┼──┼───────────┼──┬───────────────┬─────────────────
└─EMPty───┘ └─SCRatch───┘ └─OWNER charstr─┘
──┬────────────┬───────────────────────────────────────────────
├─FOR v──────┤
└─TO charstr─┘
Operand Description
GDG One- to 35-character name of the generation data group to be
created. (GDG may also be specified as
GENERATIONDATAGROUP.)
LIKE One- to 35-character name of an existing generation data
group whose attributes are to be used as a model in assigning
the attributes of the GDG being created.
Note: MODEL is an alias for LIKE.
LIMit Maximum number of generation data sets that may be
associated with the GDG. The value must be between 1 and
255.
Note: LIMIT is required if the LIKE operand is not used.
NOEMPTY Causes only the oldest generation data set to be uncataloged
when the limit is reached. (NOEMPTY may be abbreviated as
NEMP.)
EMPty Causes all generation data sets to be uncataloged when the
maximum number of generation data sets have been reached
for the GDG and another generation data set is to be
cataloged.
Note: If neither EMPTY nor NOEMPTY are specified, the
default is NOEMPTY.
NOSCRATCH Prevents the data set's format-1 DSCB from being deleted;
causing the space to remain allocated to the data set.
(NOSCRATCH may be abbreviated as NSCR. It may also be
specified as NODELETE or NDEL.)
1.40.2 Notes
Using the LIKE Operand:
■ When LIKE is specified, the existing GDG must be cataloged in a catalog
that is accessible to Advantage CA-Roscoe.
■ The attributes from the model GDG are assigned to the new GDG unless
they are overridden by specific operands of this command.
1.41 DELETE
To delete one of the following:
■ The contents of an AWS
■ A data set object
■ The contents of a library member or the entire member
1.42.1 Syntax
DELETE AWS Command
──DELete──┬───────────┬──┬──────────┬─────────────────────────
└─AWS aname─┘ └─p─┬───┬──┘
└─q─┘
Operand Description
With no operand, deletes the entire contents of the active AWS.
aname Name of the AWS whose contents is to be deleted. If omitted, the
default is the active AWS.
p q Number of the first and last lines within the AWS that are to be
deleted. If only one number is specified, only that line is deleted.
1.42.2 Notes
Deleting an AWS:
■ If the entire contents of an AWS is deleted, the starting value and
increment for its line numbers are reset to the defaults (from 100 by 100).
1.42.4.1 Examples
1.43.1 Syntax
DELETE DSN Command
──DELete Dsn──dsn──┬──────────┬────────────────────────────────
├─(dsnmem)─┤
├─(v)──────┤
└─()──────┘
──┬───────────────────────────┬──┬─────────────────────────┬────
│ ┌──
───────┐ │ │ ┌──
───────┐ │
charstr┴──┘ └─UNIT charstr──
└─Volume charstr──
charstr┴──┘
──┬─────────────────────────┬──┬─────────────┬──┬───────┬──────
│ ───────┐ │ └─MCD charstr─┘ └─PURGE─┘
┌──
charstr┴──┘
└─PSWd charstr──
Operand Description
Dsn One- to 44-character fully qualified name of the data set to be
deleted. The name may be qualified with:
dsnmem
One- to eight-character name of the PDS member or
AllFusion CA-Librarian module to be deleted.
v Relative generation number of the GDG (Generation Data
Group) data set to be deleted, specified as 0 (most recent)
or a minus number (for example, -1).
* Causes all of the members comprising the designated PDS
to be deleted; the data set itself is retained.
Volume One- to six-character serial number of the volume on which the
data set resides. One to six volumes may be specified. Required if
the data set is not cataloged.
Note: Volume can be specified as VOLUME, VOL, V.
UNIT One- to eight-character unit name associated with the device type(s)
on which the data set resides. It may be either an IBM-defined
generic name (for example, 3380) or a site-defined esoteric name
(for example, SYSDA). Required if the data set is not cataloged and
resides on a mass storage device.
PSWd Password(s), established by the site, for the designated data set or
AllFusion CA-Librarian master file. If omitted and a password is
required, access is denied.
If one password is specified, it is treated as the data set or the
AllFusion CA-Librarian master file module password.
If two passwords are specified, the first is treated as the data set
password and the second is treated as the AllFusion CA-Librarian
password.
MCD Management code of the AllFusion CA-Librarian master file.
Required when deleting a PROD2 module.
PURGE Causes the data set to be purged, regardless of its expiration or
retention date. If omitted, the data set is purged only if the
expiration or retention date is passed. (Not applicable with
AllFusion CA-Librarian master files.)
1.43.2 Notes
■ Non-VSAM Data Sets:
– DELETE can be used to delete any non-VSAM data set and the
following VSAM object types: ALIAS, AIX, CLUSTER, GDGBASE,
PAGESPACE, and PATH.
■ GDG Bases:
– GDG bases may be deleted only if there are no GDG data sets
cataloged under them.
■ 'Uncatalog' Operation:
– For SMS-managed data sets, an uncatalog operation is always
performed.
– For data sets that are not SMS-managed, an uncatalog operation is
performed if the data set to be deleted is cataloged and the volumes on
which the delete operation is performed match those specified in the
catalog.
– Only an uncatalog operation is performed for requests to delete an
alias, GDG base, or path.
1.43.3.1 Examples
1.44.1 Syntax
DELETE (LIB) Command
──DELete──mem─────────────────────────────────────────────────
Operand Description
mem Name of the library member to be deleted.
1.44.2 Notes
Deleting Part of Member:
■ To delete specific lines within a member, a copy of the member must be
placed in an AWS. Update the member with the contents of that after
removing the appropriate lines.
Delete Confirmation:
■ Site management may require that you confirm any attempt to delete a
library member. If confirmation is required, a message is displayed.
Reenter the DELETE command; entering any other command terminates
the operation.
Resulting Display:
■ If the member named by the DELETE command is currently displayed, the
resulting display will be:
– The Selection List if you displayed the member using that list.
– The menu if you displayed the member using the menu.
– A blank Execution Area if you attached the member directly.
1.45.1 Syntax
Delete Line Command
──┬─D─┬───┬────────────┬──────────────────────────────────────
│ └─v─┘ │
├─DD─────────────────┤
├─DB─────────────────┤
├─DT─────────────────┤
├─DS─┬───┬─ /string/─┤
│ └─V─┘ │
├─DSB /string/───────┤
├─DST /string/───────┤
├─DU /string/────────┤
├─DX─┬───┬─ /string/─┤
│ └─V─┘ │
├─DXB /string/───────┤
└─DXT /string/───────┘
Command Description
D Delete one line. To delete multiple lines, specify:
v Number of lines to be deleted.
DD Delete block of lines. DD must be entered on the first and last line
of the block of lines to be deleted. The range of lines to be deleted
need not appear in its entirety on one screen. Scrolling and other
line commands can be performed while a line command is pending.
DB Delete all lines from the line containing the command through the
last line of the active AWS.
DT Delete all lines from the first line of the active AWS through the
line containing the command.
DS Delete line containing the designated string. To delete multiple lines
containing the string, specify:
v Number of lines to be included in the delete operation.
DSB Delete all lines containing the designated string from the line
containing the command through the last line of the active AWS.
DST Delete all lines containing the designated string from the first line of
the active AWS through the line containing the command.
DU Delete all lines from the line containing the command until the first
line containing the designated string.
DX Delete the line not containing the designated string. To delete
multiple lines not containing the string, specify:
v Number of lines to be included in the delete operation.
DXB Delete all lines not containing the designated string from the line
containing the command through the last line of the active AWS.
DXT Delete all lines not containing the designated string from the first
line of the active AWS through the line containing the command.
/string/ Search string, which must not exceed the length of the terminal line
and must be bound by delimiters.
1.45.2 Notes
Changing Search Column Boundaries:
■ By default, the search is restricted to the default or current column
boundaries. To change the column boundaries, use the modifiable STATUS
DISPLAY screen, the SET BOUNDS primary command, or the BOUNDS
line command. This range remains in effect until explicitly changed.
1.45.3.1 Examples
■ To delete two lines where one form of the command is used to delete lines
100 and 200 and another form is used to delete lines 300 and 400:
> AWS(AAA.TAXREPT) SCRL FULL COLS 7 78
> .<.1....+....2....+....3....+....4....+....5....+...
...... ========================== T O P ====================
D21 IDENTIFICATION DIVISION.
2 PROGRAM-ID. TAX-REPT.
DD3
DD4 ENVIRONMENT DIVISION
■ To delete every line from line 300 through the end of the active AWS:
> AWS(AAA.TAXREPT) SCRL FULL COLS 7 78
> .<.1....+....2....+....3....+....4....+....5....+...
...... ========================== T O P ====================
1 IDENTIFICATION DIVISION.
2 PROGRAM-ID. TAX-REPT.
DB3
4 ENVIRONMENT DIVISION.
■ To delete every line containing the string XYZ beginning with line 200 and
continuing for the next five lines:
> AWS(AAA.TAXREPT) SCRL FULL COLS 7 78
> .<.1....+....2....+....3....+....4....+....5....+...
...... ========================== T O P ====================
1 IDENTIFICATION DIVISION.
DS52 /XYZ/RAM-ID. TAX-REPT.
3
4 ENVIRONMENT DIVISION
■ To delete every line not containing the string ERROR-MSG from the first
line of the active AWS through the line containing the command:
> AWS(AAA.TAXREPT) SCRL FULL COLS 7 78
> .<.1....+....2....+....3....+....4....+....5....+...
...... ========================== T O P ====================
891 MOVE MESSAGE TO ERROR-MSG.
DXT2 /ERROR-MSG/N-DATE TO OUT-DATE.
893 MOVE IN-ERROR TO OUT-ERROR.
■ To delete every line from the beginning of the active AWS until the first
occurrence of the string PROCEDURE DIVISION:
> AWS(AAA.TAXREPT) SCRL FULL COLS 7 78
> .<.1....+....2....+....3....+....4....+....5....+...
...... ========================== T O P ====================
DU2 /PROCEDURE DIVISION/ OUT-DATE.
893 MOVE IN-ERROR TO OUT-ERROR.
1.46 DELETES
Deletes one or more lines from an AWS that contains a designated string.
1.46.1 Syntax
DELETES Command
──DELETES──┬───────────┬──┬───────────┬── /string/─────────────
└─AWS aname─┘ └──┬───┬─ e─┘
└─s─┘
──┬───────────┬──┬─────────┬──┬─────────┬──┬─────┬─────────────
└─ p─┬───┬──┘ └─LITeral─┘ └─context─┘ └─Mix─┘
└─q─┘
Operand Description
aname Name of the AWS that is to be affected by this operation. If
omitted, the active AWS is assumed.
s e Number of the starting and ending columns to be searched for the
string. If only one number is specified, it is assumed to be the
ending column. The ending column cannot exceed 255.
/string/ Search string which may not exceed 80 characters in length and
must be bound by delimiters.
p q Number of the first and last lines to be searched for the string. If
only one number is specified, only that line is searched.
LITeral Prevents the search string from being interpreted (for example,
X'C1' is to be treated as a character string; not as the hexadecimal
representation of the letter A). If omitted, the string is subject to
interpretation.
context Qualifies the search string within the data. If omitted, the search is
for the string exactly as entered. If specified, it must be one of the
following:
WORD Treat the string as a complete entity (it is preceded
and followed by a non-alphanumeric character.)
(Abbreviate as WOR.)
BEGIN Treat the string as either beginning or being a
complete entity (it is preceded by a non-alphanumeric
character and followed by either an alphanumeric or
non-alphanumeric characters.) (Abbreviate as BEG.)
PREFIX Treat the string as beginning an entity (it is preceded
by a non-alphanumeric character and followed by an
alphabetic character.) (Abbreviate as PRE.)
1.46.2 Notes
Abbreviation:
■ DELETES can be abbreviated as DS or DELS.
1.46.4.1 Examples
■ To delete every line in the active AWS containing the character string
PRINT-FILE in columns 20 through 50:
DELETES 2 5 /PRINT-FILE/
■ To delete every line in the active AWS containing the character string
DATE in lines 100 through 900:
DELS /DATE/ 1 9
■ To delete every line within the AWS named SAMPLE that contains the
character string DATE within columns 20 through 50 of lines 100 through
900:
DELETES AWS SAMPLE 2 5 /DATE/ 1 9
1.47 DELETEX
Deletes one or more lines in an AWS that do not contain a specific string.
1.47.1 Syntax
DELETX Command
──DELETEX──┬───────────┬──┬───────────┬──/string/──────────────
└─AWS aname─┘ └──┬───┬─ e─┘
└─s─┘
──┬───────────┬──┬─────────┬──┬─────────┬──┬─────┬─────────────
└─ p─┬───┬──┘ └─LITeral─┘ └─context─┘ └─Mix─┘
└─q─┘
Operand Description
aname Name of the AWS that is to be affected by this operation. If
omitted, the active AWS is assumed.
s e Number of the starting and ending columns to be searched for the
string. If only one number is specified, it is assumed to be the
ending column. The ending column cannot exceed 255.
/string/ Search string which may not exceed 80 characters in length and
must be bound by delimiters.
p q Number of the first and last lines to be searched for the string. If
only one number is specified, only that line is searched.
LITeral Prevents the search string from being interpreted (for example,
X'C1' is to be treated as a character string; not as the hexadecimal
representation of the letter A). If omitted, the string is subject to
interpretation.
context Qualifies the search string within the data. If omitted, the search is
for the string exactly as entered. If specified, it must be one of the
following:
WORD Treat the string as a complete entity (it is preceded
and followed by a non-alphanumeric character.)
(Abbreviate as WOR.)
BEGIN Treat the string as either beginning or being a
complete entity (it is preceded by a non-alphanumeric
character and followed by either an alphanumeric or
non-alphanumeric characters.) (Abbreviate as BEG.)
PREFIX Treat the string as beginning an entity (it is preceded
by a non-alphanumeric character and followed by an
alphabetic character.) (Abbreviate as PRE.)
1.47.2 Notes
Abbreviation:
■ DELETEX can be abbreviated as DX or DELX.
1.47.4.1 Examples
■ To delete every line in the active AWS that does not contain the string
REPORT-FILE:
DELETEX /REPORT-FILE/
■ To delete every line in the active AWS that does not contain the string
TEST in columns 20 through 50:
DELX 2 5 /TEST/
■ To delete every line in the AWS named SAMPLE that does not contain the
string DATA within columns 12 and 30 of lines 100 through 1200:
DELETEX AWS SAMPLE 12 3 /DATA/ 1 12
1.48.1 Syntax
Destination Line Commands
──┬─A─┬───┬────┬──────────────────────────────────────────────
│ └─v─┘ │
├─B─┬───┬────┤
│ └─v─┘ │
├─BB─┬───┬───┤
│ └─v─┘ │
├─TT─┬───┬───┤
│ └─v─┘ │
├─AD─┬───┬───┤
│ └─v─┘ │
├─BD─┬───┬───┤
│ └─v─┘ │
├─BBD─┬───┬──┤
│ └─v─┘ │
├─TTD─┬───┬──┤
│ └─v─┘ │
├─O─┬───┬────┤
│ └─v─┘ │
├─OO─────────┤
├─OB─────────┤
├─OT─────────┤
└─OD─┬───┬───┘
└─v─┘
Command Description
A Inserts the line(s) being copied or moved after this line. With a copy
operation, qualify with:
v Number of copies of the designated line(s) to be inserted. If
omitted, inserts one copy.
B Inserts the line(s) being copied or moved before this line. With a
copy operation, qualify with:
v Number of copies of the designated line(s) to be inserted. If
omitted, inserts one copy.
BB Inserts the line(s) being copied or moved after the last line of the
active AWS. With a copy operation, qualify with:
v Number of copies of the designated line(s) to be inserted. If
omitted, inserts one copy.
TT Inserts the line(s) being copied or moved before the first line of the
active AWS. With a copy operation, qualify with:
OD Overlays one line with the line(s) being copied or moved. With a
copy operation, the CR or CCR line command is removed when the
operation completes. The destination may be qualified with:
v Number of lines to be overlaid.
1.48.2 Notes
Using Destination Line Commands:
■ A destination line command does not have to be on the same screen
display as the associated Copy or Move line command. Scrolling, as well
as other line commands, can be performed while the line command is
pending. (A destination command is pending when entered with no or an
incomplete Copy or Move line command.)
■ The destination cannot be within the range of lines designated by the Copy
or Move line commands.
■ Destination commands may be specified in the sequence number field of
the lines designating the top and bottom of the active AWS. (The sequence
number field of these lines contains '......'.)
1.48.3.1 Examples
■ To overlay the blank characters in line 200 and 300 with data copied from
line 100:
> AWS() SCRL FULL COLS 7 78
> .<.1....+....2....+....3....+....4....+...>
...... ========================== T O P ===========
C1 AAAAA BBBBB CCCCC DDDDD EEEEE
O22 XXXXX XXXXX
3 XXXXX XXXXX XXXXX
> AWS() SCRL FULL COLS 7 78
> .<.1....+....2....+....3....+....4....+...>
...... ========================== T O P ===========
1 AAAAA BBBBB CCCCC DDDDD EEEEE
2 AAAAA XXXXX CCCCC XXXXX EEEEE
3 XXXXX BBBBB XXXXX DDDDD XXXXX
> AWS() SCRL FULL COLS 7 78
> .<.1....+....2....+....3....+....4....+...>
...... ========================== T O P ===========
CR1 XXXXX YYYYY ZZZZZ
A2 AAAAA
AD3 BBBBB
> AWS() SCRL FULL COLS 7 78
> .<.1....+....2....+....3....+....4....+...>
...... ================================ T O P =====
1 XXXXX YYYYY ZZZZZ
2 AAAAA
21 XXXXX YYYYY ZZZZZ
3 BBBBB
31 XXXXX YYYYY ZZZZZ
1.49 DETACH
Detaches an attached AWS, data set object, job or library member.
1.49.1 Syntax
DETACH Command
──Detach──┬────────────────┬──────────────────────────────────
├─Dsn────────────┤
├─Job─┬───────┬──┤
│ ├─Noact─┤ │
│ └─Hold──┘ │
└─Lib────────────┘
Command Description
With no operand, releases whatever is currently attached. If an
AWS is attached, it is also detached.
Dsn Causes the currently attached data set object to be released. If
omitted, the data set object may be reattached.
Job Causes the currently attached job to be released. If omitted, the job
may be reattached.
If specified without qualification, all files are released from the hold
queue and user-assigned NOTE names are deleted. (The files are
disposed of according to their PRINT/NOPRINT status, where files
marked PRINT are routed to the appropriate SYSOUT print class
while files marked NOPRINT are deleted.) The qualifications are:
Noact Causes all files associated with the job to be retained when
the job is detached. User-assigned NOTE names are also
retained.
Note: Can be specified as NOACT, NOA, or N.
Hold Causes the files marked NOPRINT to be released when the
job is detached. Files marked PRINT are retained as are all
user-assigned NOTE names associated with those files.
Note: Can be specified as HOLD, HOL, H.
Lib Causes the attached Library Facility to be released. If omitted, the
Library Facility may be reattached.
1.49.2 Notes
■ When the screen is redisplayed, the data in the Execution Area has been
blanked out.
Abbreviations:
■ DETACH can be specified as DETACH, DET, or D.
AWS:
■ DETACH does not affect the contents of the AWS.
Jobs:
■ DETACH JOB acts as though NOACT was also specified when detaching a
job under the following conditions:
JES2 1) The job is awaiting execution or is executing, or 2) the held job
has no held SYSOUT files.
JES3 The job has no held SYSOUT files.
■ Multiple users can concurrently attach the same job. The first person to
attach the job has control over the job's disposition. If that person issued
the DETACH JOB command, the job is released. Other viewers discover
the job is released the next time they press the Enter key or use a PF key
to scroll.
| ■ After the job is released, if a Job List was displayed, a new Job List will be
| displayed using the original input parameters and current JES information.
| ■ If a Job List is displayed, DETACH JOB releases the Job List.
Library Facility:
■ Attaching another library member causes an implicit detach of the
currently attached member.
■ When a member is detached, all NOTE names are deleted.
1.49.2.1 Examples
1.50 DISCARD
Removes a named AWS and deletes its contents.
1.50.1 Syntax
DISCARD Command
──DISCard──AWS──┬─aname─┬─────────────────────────────────────
└──────┘
Operand Description
aname Name of the AWS to be removed.
* Causes the previously attached (current) AWS to be discarded.
Note: If only one AWS remains, it cannot be discarded.
1.50.3.1 Example
1.51 DISPLAY
Displays information from the operating system on jobs in execution, initiators,
job queues and devices.
1.51.1 Syntax
DISPLAY Command
──DISplay──┬────┬──┬─────────┬────────────────────────────────
├─-A─┤ └─charstr─┘
└─-X─┘
Operand Description
With no operand, displays the status of all jobs whose names
contain the user's identification in the site-designated location.
-A Causes information to be written to the active AWS.
If charstr is specified, the designated information is written to the
active AWS and DISPLAY terminates.
If charstr is omitted, the status of all jobs whose names contain the
user's identification in the site-designated location is written to the
active AWS.
-X Invokes prompting.
If charstr is specified, the designated information is displayed and a
prompt is issued.
If charstr is omitted, a prompt is issued, the appropriate
information is displayed and another prompt is issued.
charstr Subcommand or job name. The subcommands include:
Active Job
AWS Mask
Devices Name
END NOAWS
Help QUEUE
Init
Note: Each subcommand is discussed individually on the
following pages.
1.51.2 Notes
Restrictions:
■ DISPLAY is a Monitor command. Site management has the option of
restricting the use of this command and its subcommands.
User Identification:
■ The type of user identification and its location within the job name is
defined by site management. The identification can be either the user's
prefix or an abbreviated form of his sign-on key. If the identification is not
in the designated location, a message is displayed.
Subcommands:
■ If an invalid (misspelled or non-existent) subcommand is entered, it is
treated as a job name.
1.52.1 Syntax
DISPLAY (ACTIVE Subcommand)
──Active──┬─────────┬─────────────────────────────────────────
├─All─────┤
├─charstr─┤
├─Stc─────┤
└─Tso─────┘
Operand Description
With no operand, displays activity information that is appropriate
for the site's environment, where:
JES2: Shows all jobs submitted through JES2. No started tasks or
active TSO users are shown.
JES3: Shows all jobs submitted through JES3. No started tasks or
active TSO users are shown.
All Displays all active jobs, started tasks, and TSO users.
charstr (JES2 Only.) One- to seven-character remote destination name. All
active jobs submitted from the remote destination are displayed.
Stc Displays only started tasks.
Tso Displays only active TSO users.
1.53.1 Syntax
DISPLAY AWS Subcommand
──AWS─────────────────────────────────────────────────────────
1.53.2 Notes
Messages:
■ Informational and error messages cannot be directed to the AWS. They are
always written to the terminal. (Note that the messages can be trapped
when DISPLAY is executed from within an RPF program.)
Resetting Destination:
■ Use the NOAWS subcommand to reset the output destination.
1.54.1 Syntax
DISPLAY (DEVICES Subcommand)
──Devices─────────────────────────────────────────────────────
1.54.2 Notes
The information provided by the resulting display includes:
UCB Unit control block device number of each device.
VOLSER Serial number of the volume mounted on each device.
STATUS Three fields, separated by slashes, that provide information about
the device:
1st Field Volume Use Status, shown as:
PRV = Private
PUB = Public
STR = Storage
2nd Field Volume Mount Status (for DASD volumes only),
shown as:
RMV = Volume is removeable.
RSD = Volume is permanent resident.
RSV = Volume is reserved.
3rd Field Device Status, shown as:
A = Allocated
O = Online
S = System residence volume (SYSRES)
DEVTYPE Device type (for example, 3380).
1.55.1 Syntax
DISPLAY (END Subcommand)
──END─────────────────────────────────────────────────────────
1.55.2 Note
■ END is only needed when execution was initiated by the DISPLAY-X
command.
1.56.1 Syntax
DISPLAY (HELP Subcommand)
──HELP────────────────────────────────────────────────────────
1.56.2 Note
■ HELP always writes to the terminal.
1.57.1 Syntax
DISPLAY (INIT Subcommand)
──Init────────────────────────────────────────────────────────
1.57.2 Notes
JES2 Information:
■ Shows the status of all initiators, the classes associated with each initiator,
and the name and number of any job executing on each initiator.
■ The information is reported only for the CPU on which Advantage
CA-Roscoe is running.
JES3 Information:
■ Shows the status of each job class group, the number of initiators allocated
to each group, the status of each job class within a group, and the name
and number of each job executing within a class.
1.58.1 Syntax
DISPLAY (JOB Subcommand)
──┬──────┬──┬─charstr───┬─────────────────────────────────────
└─Job=─┘ └─charstr +─┘
Operand Description
charstr Name of job about which status information is desired.
charstr + Causes information about jobs whose names begin with the
characters preceding the plus sign to be displayed.
1.58.2 Notes
When to Use JOB=:
■ JOB is required only when the job name matches a DISPLAY
subcommand. As illustrated in the examples, entering DISPLAY
JOB=charstr is comparable to entering DISPLAY charstr.
1.58.2.1 Examples
■ To display the status of jobs whose names contain the user's ID in the
site-designated location:
DISPLAY
■ To display the status of the job(s) named ABC:
DISPLAY ABC or DISPLAY JOB=ABC
■ To display the status of jobs whose names begin with ROS:
DISPLAY ROS+ or DISPLAY JOB=ROS+
■ To display the status of the job(s) named ACTIVE:
DISPLAY JOB=ACTIVE
1.59.1 Syntax
DISPLAY (MASK Subcommand)
──MASK=──charstr──────────────────────────────────────────────
Operand Description
charstr Name of the job for which status information is desired.
The name cannot exceed eight characters in length. It must include
at least one valid character and may include one or more asterisks
(*), where the asterisk represents any character valid in a job name.
If less than eight characters are specified, the string is treated as
though it is padded to the right with asterisks. This is comparable
to including a plus sign (+) with the string of the JOB subcommand
(JOB=ROS+).
1.59.1.1 Example
■ To display the status of all jobs whose names contain the letter A in the
first position and C in the third position:
DISPLAY MASK=AC
1.60.1 Syntax
DISPLAY (NAME subcommand)
──NAME──┬─charstr1─┬──────────────────────────────────────────
└─charstr2─┘
Operand Description
charstr1 One-character job class. Only the names of jobs in this class are
shown.
charstr2 One- to seven-character remote destination name. Only the names
of jobs for this remote destination are shown.
1.60.2 Notes
JES2 Information:
■ With charstr1, the display includes information about jobs awaiting
execution.
■ With charstr2, the display includes information about jobs awaiting
execution or print.
JES3 Information:
■ The NAME subcommand displays information about all jobs.
1.61.1 Syntax
DISPLAY (NOAWS subcommand)
──NOAWS───────────────────────────────────────────────────────
1.62.1 Syntax
DISPLAY (QUEUE subcommand)
──QUEUE──┬─charstr1─┬─────────────────────────────────────────
└─charstr2─┘
Operand Description
charstr1 One-character job class. Only the number of jobs in this class are
shown.
charstr2 One- to seven-character remote destination name. Only the number
of jobs for this remote destination are shown.
1.62.2 Note
JES3:
■ The QUEUE subcommand is ignored.
1.63 DIVERT
Redirects the input or output associated with TGET, TPUT, WTO, and WTP
macros encountered within the application executing under ETSO.
1.63.1 Syntax
DIVERT Command
──DIVERT──┬─TGET charstr─┬────────────────────────────────────
├─TPUT charstr─┤
├─WTO charstr──┤
└─WTP charstr──┘
Operand Description
TGET Identify the redirected source of terminal input (requested through
a TGET macro) by specifying one of the following:
■ AWS
■ MEM library member name
■ TERMINAL (or *)
TPUT Identify the redirected target of terminal output (requested by a
TPUT macro) by specifying one of the following:
■ AWS
■ DISCARD
■ MEM library member name
■ TERMINAL (or *)
WTO Identify the redirected target of console output (requested through a
WTO macro) by specifying one of the following:
■ AWS
■ CONSOLE
■ DISCARD
■ MEM library member name
■ TERMINAL (or *)
WTP Identify the redirected target of terminal output (requested through
a WTO macro with route code 11) by specifying one of the
following:
■ AWS
■ CONSOLE
■ DISCARD
■ MEM library member name
■ TERMINAL (or *)
1.63.2 Notes
Restrictions:
■ The DIVERT command is valid only when the Extended Time-Sharing
Option (ETSO) is active.
■ DIVERT has no affect on the data sets or Advantage CA-Roscoe-managed
files identified by previously executed ALLOCATE commands.
| Messages normally seen on the master console may not be seen when an
| application runs under Advantage CA-Roscoe Interactive ETSO Environment.
| An application may appear as if it is hung, when it is really waiting for a tape
| mount or an operator's response from a message that an operator can not see.
| To avoid this problem, divert WTP's to the master console using the
| Advantage CA-Roscoe DIVERT command. The following RPF can be used as a
| sample RPF to divert WTP and to initiate an application.
| <<SARROS>>
| : THIS RPF WILL DESTROY THE AWS - SAVE THE AWS IF REQUIRED
| PUSH
| SET ATTACH NOPAUSE
| SET BOUNDS AWS 1 3
| Q DIVERT AWS
| FIND /WTP/
| READ AWS L1 1 12
| DIVERT WTP CONSOLE
| TRAP ON
| +CALL SARROS /+A1+/
| TRAP OFF
| IF INDEX(L1 '.') EQ
| +DIVERT WTP +L1+
| ELSE
| +DIVERT WTP MEM +L1+
| ENDIF
| IF (TC EQ )
| RESPONSE 'SARROS ENDED, RC IS '|TC
| WRITE AWS B LASTERR
| A
| ENDIF
| POP
| RETURN
1.64 DROP
Deletes a NOTE name.
1.64.1 Syntax
DROP Command
──DROP──┬─────┬──charstr──────────────────────────────────────
├─Dsn─┤
├─Job─┤
└─Lib─┘
Operand Description
Dsn Designates that the operation is to apply to the sequential data set,
PDS member or AllFusion CA-Librarian module that is attached but
not currently displayed.
Job Designates that the operation is to apply to the job that is attached
but not currently displayed.
Lib Designates that the operation is to apply to the library member that
is attached but not currently displayed.
Note: If neither DSN, JOB, or LIB are specified, the operation
applies to the currently attached and displayed data.
charstr Name, previously defined by the NOTE command, that is to be
dropped.
1.64.2.1 Examples
■ To delete the NOTE name WIDGET which is associated with the currently
attached and displayed data:
DROP WIDGET
■ To delete the NOTE name XYZ which is associated with the attached but
not currently displayed job:
DROP JOB XYZ
1.65 DSN
Attaches the Data Set Facility menu to the terminal and, optionally, displays a
function-related panel.
1.65.1 Syntax
DSN Command
──DSN──┬───────────────────────────────┬──────────────────────
├─charstr─┬─────────────────┬───┤
│ └─dsn─┬────────┬──┘ │
│ ├─dsnmem─┤ │
│ └─v──────┘ │
│ ┌──
───────────┐ │
├─Volume charstr──
┬─────────┬┴──┤
│ └─charstr─┘ │
│ ┌──
───────────┐ │
┬─────────┬┴────┘
└─UNIT charstr──
└─charstr─┘
Operand Description
With no operand, displays the Data Set Facility menu.
charstr One or more data set facility function codes. If omitted, the Data Set
Facility menu is displayed. If specified, it must be one of the
following:
A Causes the Data Set Facility menu to be displayed with the
attach code in the OPTION field.
AL Causes Allocate Function Panel to be displayed.
AM Causes the Allocate SMS Function Panel to be displayed.
C Causes the Copy Function Panel to be displayed.
CM Causes the Data Set Facility menu to be displayed with the
compress code in the OPTION field.
CT Causes the Data Set Facility menu to be displayed with the
catalog code in the OPTION field.
D Causes the Delete Function Panel to be displayed.
DA Causes the Define Alias Func- tion Panel to be displayed.
DG Causes the Define Generation Data Group Function Panel to
be displayed.
I Causes the Data Set Facility menu to be displayed with the
info code in the OPTION field.
P Causes the Print Function Panel to be displayed.
1.65.2 Notes
■ If the specified function code supports subfunction codes, the subfunction
codes can be concatenated to the primary code (for example, R.M). A
maximum of four code may be specified, separated by periods.
■ If invalid or insufficient information is specified, the Data Set Facility menu
is displayed.
1.65.3.1 Examples
■ To display the Allocate Function Panel to allocate the data set TEST.NEW:
DSN AL TEST.NEW
■ To display the Data Set Facility menu with the uncatalog code in the
OPTION field and the name TEST.OLD in the DATA SET field:
DSN UC TEST.OLD
■ To display the Rename Function Panel with the R (rename data set)
subfunction code in the OPTION field and the name TEST.NEW in the
DATA SET field:
DSN R.R TEST.NEW
1.66 EDIT
Replaces a character string found within the contents of the active AWS with
another string.
1.66.1 Syntax
EDIT Command
──Edit──┬─F─────────────────────────────────────────────┬──────
└──┬───┬─e/─┬─────────┬─/─┬─────────┬─/p─┬───┬──┘
└─s─┘ └─string1─┘ └─string2─┘ └─q─┘
──┬─────────┬──┬─────────┬─────────────────────────────────────
└─LITeral─┘ └─context─┘
Operand Description
F Terminates EDIT after replacing the first occurrence of string1
with string2.
s e Number of the starting and ending columns to be searched for
string1. If only one number is specified, it is assumed to be
the ending column. The ending column cannot exceed 255.
/string1/string2/
Delimited search and replacement strings. Neither string may
exceed 80 characters in length; their combined length may not
exceed 110 characters.
If string1 is:
Longer than string2 All data to the right of the original
string is shifted left; the remaining
columns of the line (or edit range) are
padded with blanks.
Omitted (for example, //STRING2/) string2
replaces the contents of the line(s).
(Column limits are ignored.)
If string2 is:
Longer than string1 All data to the right of the original
string is shifted right. Any characters
extending beyond column 255 (or the
edit range) are lost.
Omitted (for example, /STRING1//) string1 is
deleted from the line(s); the lines are not
deleted.
1.66.2 Notes
■ At least one operand must be specified; F cannot be the only operand.
1.66.4.1 Examples
■ To replace every occurrence of the word DATE with the word TIME:
EDIT /DATE/TIME/
■ To change every occurrence of the word REPT to REPORT in columns 12
through 40 of lines 100 through 500:
EDIT 12 4 /REPT/REPORT/ 1 5
■ To replace the word THE with the word AN:
EDIT /THE/AN/ WORD
If the qualifier WORD is omitted and the active AWS contains the line
'THEIR OTHER BROTHER ATE THE APPLE, the characters THE would
be changed to AN in the words THEIR, OTHER, and BROTHER.
■ To delete every occurrence of the string FILLER from the active AWS
contents without deleting the lines containing that string:
EDIT /FILLER//
■ To overlay lines 1800 through 2500 with the string FILLER:
EDIT //FILLER/ 18 25
1.67.1 Syntax
Edit Line Commands
──┬─E─┬───┬──┬───────────────────┬──┬─────────────────────────
│ └─v─┘ └─/string1/string2/─┘ │
├─EE─┬───────────────────┬────────┤
│ └─/string1/string2/─┘ │
├─EB─┬───────────────────┬────────┤
│ └─/string1/string2/─┘ │
└─ET─┬───────────────────┬────────┘
└─/string1/string2/─┘
Command Description
E Edit one line. To edit multiple lines, specify:
v Number of lines on which edit is to occur.
EE Edit block of lines. EE must be entered on the first and last
line of the block of lines to be edited. The range of lines
need not appear in its entirety on one screen. Scrolling, as
will as other line commands, can be performed while a line
command is pending.
EB Edit all lines from the line containing the command through
the last line of the active AWS.
ET Edit all lines from the first line of the active AWS through
the line containing the command.
/string1/string2/ Delimited search and replacement strings. The combined
length of both strings must not exceed the length of a
terminal line.
If omitted, the strings specified using a previous edit line
command are used. If string1 is:
longer than string2 all data to the right of the original
string is shifted left; the remaining
columns of the line (or edit range) are
padded with blanks.
Omitted string2 replaces the contents of the
line(s). (Column limits are ignored.)
If string2 is:
Longer than string1 all data to the right of the original
string is shifted right. Any characters
extending beyond column 255 (or the
edit range) are lost.
Omitted string1 is deleted from the line(s); the
lines are not deleted.
1.67.2 Notes
Changing Search Column Boundaries:
■ By default, the entire line is searched for the specified string. The search
can be limited to specific columns by using the SET BOUNDS primary
command or the BOUNDS line command. The range remains in effect until
changed by another SET BOUNDS command or BOUNDS line command.
1.67.3.1 Example
> AWS(AAA.TAXREPT) SCRL FULL COLS 7 78
> .<.1....+....2....+....3....+....4....+...
...... ========================== T O P ==========
EB12 /INC-TAX-FILE/TAX-FILE/
13 FILE SECTION.
14 FD INC-TAX-FILE
15 RECORDING MODE F
1.68 EDSN
|
|1.68.1 Syntax
|
| EDSN Command
| ──EDSN──┬───────────────────┬──┬────────────────┬──────────────
| ├──────────────────┤ └─Volume charstr─┘
| └─dsn─┬──────────┬──┘
| └─(dsnmem)─┘
| ──┬──────────────┬──┬───────────────────────────┬───────────────
| └─UNIT charstr─┘ └─PSWd charstr─┬─────────┬──┘
| └─charstr─┘
| ──┬─────────────┬──────────────────────────────────────────────
| └─ARC charstr─┘
| Operand Description
| With no operands, displays the Edit Data Set Facility menu.
| * Causes the active edited data set object to be redisplayed for
| editing. If no data set has been previously edited, the currently
| attached data set will be selected. If no data sets are active, the Edit
| Data Set Facility menu is displayed.
| dsn One- to 4four-character fully qualified name of the data set object to
| be edited.
| The name cannot include wildcard characters. If the data set is not
| physical sequential, it must be qualified with:
| dsnmem
| One- to eight-character name of the AllFusion
| CA-Librarian module or PDS member to be edited.
| Volume One- to six-character serial number of the volume on which the
| data set resides. Only one serial number may be specified. (Volume
| cannot be specified with AllFusion CA-Librarian data sets defined
| as VSAM.)
| ■ Volume is required if the data set is not cataloged.
| ■ Volume may be abbreviated in the following ways: VOLUME,
| VOL, or V.
| UNIT One- to eight-character unit name associated with the device type
| on which the data set resides. It may be either an IBM-defined
| generic name (for example, 3380) or a site-defined esoteric name
| (for example, SYSDA). Required if the data set is not cataloged and
| resides on a mass storage device. Only one unit name may be
|1.68.2 Notes
| ■ This command invokes an RPF, so a prefix may be required for execution.
| By default, it will be executed from the RO prefix.
| <...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....
|
| EDIT DATA SET FACILITY
| FUNCTION ===>
|1.68.3.1 Examples
| ■ To edit module ABC of the data set or AllFusion CA-Librarian master file
| named TEST.SAMPLE:
| EDSN TEST.SAMPLE(ABC)
| ■ To reestablish editing of the data set TEST.SAMPLE that had been invoked
| by a previous EDSN command:
| EDSN
1.69 ETC
Permits CA-ETC to be used during a Advantage CA-Roscoe terminal session.
1.69.1 Syntax
ETC Command
──ETC─────────────────────────────────────────────────────────
1.69.2 Notes
Start CA-ETC Session:
■ At sites using CA-ETC, executing the ETC command causes the CA-ETC
frontispiece to be displayed. (CA-ETC is an extended text composition
system that automates the preparation, composition, updating and
maintenance of any textual material. All Advantage CA-Roscoe manuals
are prepared using CA-ETC.) All CA-ETC facilities are available to
Advantage CA-Roscoe users.
Restrictions:
■ CA-ETC cannot be executed during Advantage CA-Roscoe split screen
processing. Likewise, Advantage CA-Roscoe split screen processing cannot
be invoked during a CA-ETC session.
■ The ETC command cannot be issued when the Advantage CA-Roscoe
screen has been split and both presentation areas are displayed.
See the descriptions of the :commands for information about specific screen
escape actions that can be performed during a CA-ETC session.
1.70 EXCL
Locates and displays all lines not containing a specific character string.
1.70.1 Syntax
EXCL Command
──EXCL──┬──────────────────────────────────┬──┬─────────┬──────
└─scope─┬───┬─e─┬───────────────┬──┘ └─LITeral─┘
└─s─┘ └─string─┬───┬──┘
└─n─┘
──┬─────────┬──┬─────┬─────────────────────────────────────────
└─context─┘ └─Mix─┘
Operand Description
With no operand, locates and displays all lines not containing the
previously specified string in the currently attached data.
scope Qualifies the data to be affected. If omitted, the currently attached
data is affected. If specified, it must be one of the following:
AWS Causes the active AWS to be reattached and searched for
the specified string. (Abbreviate as A.)
DSN Causes the pending data set object to be reattached and
searched for the specified string. (Abbreviate as D.)
JOB Causes the pending job output file to be reattached and
searched for the specified string. (Abbreviate as J.)
LIB Causes the pending library member or Selection List to be
reattached and searched for the specified string. (Abbreviate
as L.)
s e Number of the starting and ending columns to be searched for the
string. If only one number is specified, it is assumed to be the
ending column. The ending column cannot exceed: 1) 255, or 2) the
record length of the data set object.
string Search string, which cannot exceed characters in length. If omitted,
the string specified with the previously executed EXCL, FIRST,
INCL, LAST, NEXT or PREV primary or line command or the
ATTACH primary command is used.
n Number of lines to be searched. If omitted, the default is: 1) the
end of the active AWS or library member, or 2) the site-defined
search limit for the data set object or job output.
LITERAL Prevents the search string from being interpreted (for example,
X'C1' is to be treated as a character string; not as the hexadecimal
representation of the letter A). If omitted, the string is subject to
interpretation.
context Qualifies the search string within the data. If omitted, the search is
for the string exactly as entered. If specified, it must be one of the
following:
WORD Treat the string as a complete entity (it is preceded
and followed by a non-alphanumeric character).
(Abbreviate as WOR.)
BEGIN Treat the string as either beginning or being a
complete entity (it is preceded by a non-alphanumeric
character and followed by either an alphanumeric or
non-alphanumeric character). (Abbreviate as BEG.)
PREFIX Treat the string as beginning an entity (it is preceded
by a non-alphanumeric character and followed by an
alphanumeric character). (Abbreviate as PRE.)
EMBED Treat the string as contained within an entity (it is
preceded and followed by an alphanumeric character).
(May also be specified as IMBED; abbreviate as EMB
or IMB.)
SUFFIX Treat the string as ending an entity (it is preceded by
an alphanumeric character and followed by a
non-alphanumeric character). (Abbreviate as SUF.)
END Treat the string as either ending or being a complete
entity (it is preceded by either an alphanumeric or
non-alphanumeric character and is followed by a
non-alphanumeric character).
| Mix Indicates that the search is a case insensitive search. The search is
| for any combination of string characters, in upper and lower case,
| that match the search string. (Abbreviate as M.)
Note: The LITERAL or context keywords may be specified in any order as
long as they are placed at the end of the command.
1.70.2 Notes
EXCL Requirements/Scope:
■ This command is valid only when SET DISPLAY NUMX is in effect.
■ The search for lines not containing the string begins with the first
displayed line or the line at which the pointer is currently positioned.
1.70.4.1 Examples
■ To locate and display every line not containing the word PROC in the
currently attached data:
EXCL PROC WORD
Because the string is qualified, a word such as PROCEDURE will not
match. To find those lines not containing a word beginning with PROC,
you might enter:
EXCL PROC PREFIX
■ To locate and display every line in the currently attached data not
containing the string XYZ in columns 10 through 50:
EXCL 1 5 XYZ
■ To search the next 60 lines and display every line not containing the string
DIVISION:
EXCL DIVISION 6
■ To reattach the currently attached job and then locate and display every
line not containing the string AWS in columns 10 through 50:
EXCL JOB 1 5 /AWS/
The search string is qualified since it matches a keyword operand of the
command.
■ To reattached the previously attached data set object and display every
line (without altering the screen positioning) not containing the previously
specified string:
EXCL DSN LOCKED
1.71.1 Syntax
EXCL Line Command
──EXCL──┬──────────┬──────────────────────────────────────────
└─/string/─┘
Operand Description
/string/ Search string, which must not exceed the length of a terminal line
and must be bound by delimiters. If omitted, the string specified
with the previously executed EXCL, FIRST, INCL, LAST, NEXT, or
PREV primary or line command or the ATTACH primary command
is used.
1.71.2 Notes
■ The line on which EXCL is entered is included in the search.
1.71.3.1 Examples
■ To display every line in the active AWS that does not contain the string
FILLER:
> AWS(AAA.TAXREPT) SCRL FULL COLS 7 78
> .<.1....+....2....+....3....+....4....+..
...... ========================== T O P =========
EXCL /FILLER/CATION DIVISION.
2 PROGRAM-ID. TAX-REPT.
3
4 ENVIRONMENT DIVISION.
■ To display every line that does not contain the previously specified string:
> AWS(AAA.TAXREPT) SCRL FULL COLS 7 78
> .<.1....+....2....+....3....+....4....+..
...... ========================== T O P =========
EXCL IDENTIFICATION DIVISION.
2 PROGRAM-ID. TAX-REPT.
3
4 ENVIRONMENT DIVISION.
1.72 EXEC
Initiates execution of an RPF program.
1.72.1 Syntax
EXEC Command
┌──
────────┐
┬──────┬┴───────────────────────────────────
──┬──────┬──mem───
└─EXEC─┘ └─expr─┘
Operand Description
mem Name of the library member containing the RPF program to be
executed.
expr Value passed to the invoked program. A maximum of eight (8)
expressions can be passed. They are placed sequentially in the
argument variables available to the invoked program.
1.72.2 Notes
Explicit Program Invocation:
■ The EXEC command need only be specified when the name of the
program to be executed matches the name of a Advantage CA-Roscoe or
Monitor command (for example, EXEC IMPORT).
Program Control:
■ When a program is invoked, control transfers to the member containing
that program. Its commands are sequentially executed until the end of the
program, RETURN or STOP is reached. Control then returns to the
terminal user.
Argument Variables:
■ Each program has a maximum of 8 argument variables. The contents of
these variables are set by the expressions passed with the EXEC command.
(The values of the expressions are placed sequentially in the argument
variables. Unused argument variables contain null values.)
■ The expressions can be:
– Character strings, which only need to be delimited if they contain
spaces (for example, EXEC ABC HELLO 'GOOD BY').
– Numeric values (for example, EXEC ABC 123 933).
– Alphanumeric values (for example, EXEC ABC 123ABC ABC123).
– Null value (for example, EXEC ABC ONE ' ' TWO).
■ The expressions cannot be:
– A variable. Variables are not recognized when entered from the
terminal (for example, if EXEC ABC L2 is entered, L2 is assumed to be
a string; not a local variable).
– The result of an arithmetic expression as in: EXEC ABC 1+2.
1.72.2.1 Examples
1.73 EXPORT
To write data from the active AWS and one or more library members to one of
the following:
■ An MVS data set.
■ A AllFusion CA-Librarian Master File.
■ An AllFusion CA-Panvalet library file.
1.74.1 Syntax
EXPORT (MVS Data Set) Command
──EXPort──DSName=dsn─┬──────────┬───┬───────────────┬──────────
└─(dsnmem)─┘ └─MEMber=dsnmem─┘
──┬────────────────────────────────┬──┬──────────────┬──────────
│ ┌──
─────────────┐ │ └─UNIt=charstr─┘
┬───────────┬┴──┘
└─INPut=charstr──
└─/charstr/─┘
──┬────────────────┬──┬──────────────┬──────────────────────────
└─VOLume=charstr─┘ └─DISp=charstr─┘
──┬───────────────────────┬──┬──────────────────┬──────────────
└─RANge=─┬───┬──┬────┬──┘ └─PASsword=charstr─┘
└─p─┘ └─/q─┘
Operand Description
DSName= Name of the data set where data is to be written.
(dsnmem) Name of a PDS member. It can be specified with
either the DSNAME or MEMBER operand but not
with both.
MEMber= Name of a PDS member where data is to be written.
INPut= Location of the data to be written. If omitted, the input is
assumed to be in the active AWS. The input can be specified as
either:
* Current contents of active AWS.
[pfx.] mem Contents of library member. The prefix is required if
the member is not in the library of the user signed
on.
Any combination of the AWS or library members can be specified
as long as the total number of input sources does not exceed 10.
The same source can be specified more than once. If multiple
input sources are specified, they must be separated by slashes.
1.74.2 Notes
Restrictions:
■ EXPORT is a Monitor command. Site management has the option of
restricting its use.
■ If its use is not restricted, see Appendix B for the extended syntax that
permits the input to be read from a library member.
EXPORT Criteria:
■ To be exported, a data set must meet the following criteria:
1. It must be resident on a single direct access volume. Multivolume data
sets cannot be handled.
2. It may not be under the control of another task executing in the
computer.
3. The DCB attributes of the data set must be defined in the DSCB.
4. The DSORG must be PS, PO or DA; the RECFM may not be undefined
or spanned; and the KEYLEN must be zero.
5. You must have the appropriate data set security authorization.
6. It may not be in a format that requires a special handler.
■ The length of each EXPORTed line is padded or truncated to equal the
logical record length (LRECL) of the file. If the LRECL is greater than 255,
each EXPORTed line is padded to the right with spaces. If the LRECL is
less than 255, each line is truncated. Variable-length records are handled
by calculating the actual length (up through the last non-blank character of
the input line).
■ When a member of a PDS is stowed, it replaces any preexisting member of
the same name. The directory entry has no user fields and consists of 12
bytes (8-byte name and 4-byte TTRC field).
1.74.3.1 Examples
The following examples assume that messages EXP60, EXP68 and EXP69 have
not been suppressed by site management or by the SET MONLEVEL
command.
■ To write the first 50 records in the active AWS to the PDS member named
XXX:
EXPORT DSNAME=ABC.DEF(XXX) INPUT= RANGE=FIRST/5
The resulting summary messages would be:
EXP6: 5 RECORDS WRITTEN TO DATA SET
ABC.DEF(XXX) - MEMBER REPLACED ON VOL STOR3
EXP69: SUCCESSFUL EXECUTION OF EXPORT...
■ To add a member to the data set ABC.DEF where the input consists of 216
records in the library member AAA.COBMOD and 108 records in the
AWS:
EXPORT DSN=ABC.DEF(TESTMOD) INPUT=AAA.COBMOD/
The summary messages would be:
EXP6: 324 RECORDS WRITTEN TO DATA SET
ABC.DEF(TESTMOD) - MEMBER ADDED ON VOLUME STOR3
EXP69: SUCCESSFUL EXECUTION OF EXPORT...
■ The following examples illustrate the ways in which the positional
RANGE= operands can be specified:
RANGE=200/500 Include all records from line 200 through line 500.
RANGE=/500 Include all records from the first line through line
500.
RANGE=FIRST Include all records from the first line through the last
line.
RANGE=/FIRST Include only the first line.
RANGE=/LAST Include all records from the first line through the last
line.
RANGE=LAST Include only the last line.
1.75.1 Syntax
EXPORT (AllFusion CA-Librarian Master File)
──EXPort──DSName=dsn─┬──────────┬───┬───────────────┬──────────
└─(dsnmem)─┘ └─MEMber=dsnmem─┘
──┬────────────────────────────────┬──┬──────────────┬──────────
│ ┌──
─────────────┐ │ └─UNIt=charstr─┘
┬───────────┬┴──┘
└─INPut=charstr──
└─/charstr/─┘
──┬────────────────┬──┬───────────────────────┬─────────────────
└─VOLume=charstr─┘ └─RANge=─┬───┬──┬────┬──┘
└─p─┘ └─/q─┘
──┬──────────────────┬─────────────────────────────────────────
└─PASsword=charstr─┘
Operand Description
DSName= Name of the AllFusion CA-Librarian master file to which data
will be written.
(dsnmem) Name of a AllFusion CA-Librarian module. It
can be specified with either the DSNAME or
MEMBER operand but not with both.
MEMber= Name of a AllFusion CA-Librarian module to be updated.
Note: If DSNAME or MEMBER specifies a AllFusion
CA-Librarian master file module name, the AllFusion
CA-Librarian LIBAUDIT option is invoked. If LIBAUDIT
is not available, an error occurs. Do not specify a module
name when adding a new module.
INPut= Location of the data to be written. If omitted, the input is
assumed to be in the active AWS. The input can be specified as
either:
* Current contents of active AWS.
[ pfx. ] mem Contents of library member. The prefix is
required if the member is not in the library of
the user signed on.
Any combination of the AWS and/or library members can be
specified as long as the total number of input sources does not
exceed 10. The same source can be specified more than once. If
1.75.2 Notes
Restrictions:
■ EXPORT is a Monitor command. Site management has the option of
restricting its use.
■ If its use is not restricted, see Appendix B for the extended syntax that
permits the input to be read from a library member.
1.75.3.1 Examples
The following examples assumes that messages EXP60, EXP68 and EXP69 have
not been suppressed by site management or by the SET MONLEVEL
command.
■ To add a module to the AllFusion CA-Librarian master file LIBR.MAST
where the input consists of five records in the active AWS and begins with
a -ADD control statement identifying the module:
EXPORT DSNAME=LIBR.MAST
The summary messages would be:
EXP6: 5 LCS RECORDS INPUT
LIBR.MAST - APPLIED VIA IOU
ON VOLUME STOR3 - IOU REPORT: AA.LIBUPD
EXP69: SUCCESSFUL EXECUTION OF EXPORT...
■ To write the first 50 records in the active AWS to the module named XXX:
EXPORT DSNAME=ABC.MAST(XXX) INPUT= RANGE=FIRST/5
The resulting summary messages would be:
EXP6: 5 RECORDS WRITTEN TO DATA SET
ABC.MAST(XXX) - MEMBER REPLACED ON VOL STOR3
EXP69: SUCCESSFUL EXECUTION OF EXPORT...
■ The following examples illustrate the ways in which the positional
RANGE= operands can be specified:
RANGE=200/500 Include all records from line 200 through line 500.
RANGE=/500 Include all records from the first line through line
500.
RANGE=FIRST Include all records from the first line through the last
line.
RANGE=/FIRST Include only the first line.
RANGE=/LAST Include all records from the first line through the last
line.
RANGE=LAST Include only the last line.
1.76.1 Syntax
EXPORT (AllFusion CA-Panvalet File)
──EXPort──DSName=dsn─┬──────────┬───┬───────────────┬──────────
└─(dsnmem)─┘ └─MEMber=dsnmem─┘
──┬────────────────┬──┬─────────────────┬───────────────────────
└─ACCess=charstr─┘ └─CONtrol=charstr─┘
──┬────────────────┬──┬──────────────────┬──────────────────────
│ ┌─Y─┐ │ └─LANguage=charstr─┘
└─FORmat=─┴─N─┴──┘
──┬────────────────┬──┬──────────────┬──────────────────────────
└─SLEvel=charstr─┘ └─USEr=charstr─┘
──┬────────────────────────────────┬────────────────────────────
│ ┌──
─────────────┐ │
┬───────────┬┴──┘
└─INPut=charstr──
└─/charstr/─┘
──┬───────────────────────┬────────────────────────────────────
└─RANge=─┬───┬──┬────┬──┘
└─p─┘ └─/q─┘
Operand Description
DSName= Name of the AllFusion CA-Panvalet library data set to be
written to.
(dsnmem)
One- to ten-character name of an AllFusion
CA-Panvalet member. It can be specified with
either the DSNAME or MEMBER operand but not
with both. If omitted, a prompt is issued.
MEMber= One- to ten-character name of an AllFusion CA-Panvalet
member to be created or replaced.
ACCess= One- to five-digit AllFusion CA-Panvalet access code.
Interpretation by AllFusion CA-Panvalet is based on the
member security level.
ACCESS is used when replacing an existing AllFusion
CA-Panvalet member. It may not used if the AllFusion
CA-Panvalet member does not exist (when creating a new
member.)
1.76.2 Notes
Restrictions:
■ EXPORT is a Monitor command. Site management has the option of
restricting its use.
■ If its use is not restricted, see Appendix B for the extended syntax that
permits the input to be read from a library member.
1.76.3.1 Example
The following example assumes that messages EXP60, EXP68 and EXP69 have
not been suppressed by site management or by the SET MONLEVEL
command.
■ To replace the AllFusion CA-Panvalet member XXX in library ABC.PANV,
where input consists of 250 records in the library member AAA.COBMOD:
EXPORT DSNAME=ABC.PANV(XXX) INPUT=AAA.COBMOD
The resulting summary messages would be:
EXP6: 25 RECORDS WRITTEN TO PANVALET LIBRARY
AAA.PAN(XXX) - MEMBER REPLACED ON VOL STOR3
EXP69: SUCCESSFUL EXECUTION OF EXPORT...
■ The following examples illustrate the ways in which the positional
RANGE= operands can be specified:
RANGE=200/500 Include all records from line 200 through line 500.
RANGE=/500 Include all records from the first line through line
500.
RANGE=FIRST Include all records from the first line through the last
line.
RANGE=/FIRST Include only the first line.
RANGE=/LAST Include all records from the first line through the last
line.
RANGE=LAST Include only the last line.
1.77 FETCH
Brings all or part of a library member into the active AWS.
1.77.1 Syntax
FEYCH Command
──Fetch──mem──┬──────────┬──┬─────────┬──┬──────┬─────────────
└─p─┬───┬──┘ └─STart v─┘ └─BY i─┘
└─q─┘
Operand Description
mem Name of the library member.
p q Number of the first and last lines to be brought into the active
AWS. If only one number is specified, only that line is retrieved.
STart Starting value for renumber operation.
BY Increment value, not exceeding six digits in length, for the new line
numbers.
1.77.2 Notes
Remembering Member Name:
■ When a FETCH command is issued, the library member name is stored for
later use by the UPDATE or SAVE command. The name is retained until:
– The AWS is deleted,
– Another FETCH command is issued, or
– A SAVE command is executed with a different name.
■ The STATUS AWS command displays the name of the last library member
fetched, updated or saved.
Overlaying Data:
■ FETCH overlays the contents of the active AWS (if any) with the
designated library member. If the specified library member is not found,
the contents of the AWS is not affected.
1.77.4.1 Examples
■ To copy all of the library member named INVLIST into the active AWS
and renumber the AWS from 50 by 50:
FETCH INVLIST START 5 BY 5
■ To copy lines 500 through 2700 from the library member SAMPLE, which
is owned by the individual assigned the prefix ABC, and to renumber the
AWS from 100 by 100:
FETCH ABC.SAMPLE 5 27 BY 1
1.78 FILL
Forces a string of characters into specific columns of the active AWS.
1.78.1 Syntax
FILL Command
──FILL──┬─────────────────────────────────────────┬───────────
├─F───────────────────────────────────────┤
├──┬───┬─ e───────────────────────────────┤
│ └─s─┘ │
└─┬──────────┬──┬──────────┬──┬─────────┬─┘
└─/string/─┘ └─p─┬───┬──┘ └─LITeral─┘
└─q─┘
Operand Description
F Terminates FILL after forcing the string into the first line found
within the specified range.
s e Number of the starting and ending columns to be affected by the
operation. If only one number is specified, it is assumed to be the
ending column. The ending column cannot exceed 255.
/string/ String which may not exceed 80 characters in length and must be
bound by delimiters.
p q Number of the first and last lines to be filled by the string. If only
one number is specified, only that line is filled.
LITeral Prevents the search string from being interpreted (for example,
X'C1' is to be treated as a character string; not as the hexadecimal
representation of the letter A). If omitted, the string is subject to
interpretation.
1.78.2 Notes
■ At least one operand must be specified; F cannot be the only operand.
1.78.4.1 Examples
■ To cause lines 100 through 300 of the active AWS to contain a continuous
string of asterisks:
FILL // 1 3
■ To cause columns 1 through 3 to contain the string ABC:
FILL 1 3 /ABC/
■ To clear columns 30 through 255 of lines 1200 through 3800 and then to fill
columns 30 through 48 of those same lines with the string 'FILLER PIC X(
).':
FILL 3 255 / / 12 38
FILL 3 48 /FILLER PIC X( )./ 12 38
1.79 FIND
The FIND command has two functions:
■ To verify the existence of a library member and display information about
it.
■ To position a pointer within the active AWS to the first line containing a
specific string.
1.80.1 Syntax
FIND (Member) Command
──FIND──mem───────────────────────────────────────────────────
Operand Description
mem Name of the library member to be found.
1.80.2 Notes
The information displayed about the member contains the:
■ Library member name.
■ Member description or blanks if there is no description.
■ Date the member was created or last accessed.
■ Date the member was last updated or blanks if the member has never been
updated.
■ Number of lines in the member.
■ Member's sequence number attribute showing either: 1) the starting
column and length of the sequence number field, or 2) NOSEQ.
■ Member's access attribute, shown as: S (for SHARED), E (for EXECONLY),
or R (for RESTRICTED).
1.81.1 Syntax
FIND (String) Command
──FIND──/string/──┬──────────┬──┬─────────┬──┬─────────┬───────
└─p─┬───┬──┘ └─LITeral─┘ └─context─┘
└─q─┘
──┬─────┬──────────────────────────────────────────────────────
└─Mix─┘
Operand Description
/string/ Search string, which may not exceed 80 characters in length and
must be bound by delimiters.
p q Number of the first and last lines to be searched for the string. If
one number is specified, only that line is searched.
LITeral Prevents the search string from being interpreted (for example,
X'C1' is to be treated as a character string; not as the hexadecimal
representation of the letter A). If omitted, the string is subject to
interpretation.
context Qualifies the search string within the data. If omitted, the search is
for the string exactly as entered. If specified, it must be one of the
following:
WORD Treat the string as a complete entity (it is preceded
and followed by a non-alphanumeric character.)
(Abbreviate as WOR.)
BEGIN Treat the string as either beginning or being a
complete entity (it is preceded by a non-alphanumeric
character and followed by either an alphanumeric or
non-alphanumeric character.) (Abbreviate as BEG.)
PREFIX Treat the string as beginning an entity (it is preceded
by a non-alphanumeric character and followed by an
alphanumeric character.) (Abbreviate as PRE.)
EMBED Treat the string as contained within an entity (it is
preceded and followed by an alphanumeric character.)
(May also be specified as IMBED; abbreviate as EMB
or IMB.)
SUFFIX Treat the string as ending an entity (it is preceded by
an alphanumeric character and followed by a
non-alphanumeric character.) (Abbreviate as SUF.)
1.81.2 Notes
This command is intended for use in RPF programs.
1.81.4.1 Example
To position the pointer to the first occurrence of the string WIDGET in the
active AWS and then delete the line at which the pointer is positioned:
FIND /WIDGET/ DELETE
1.82 FIRST
Searches the attached data and begins the display with either:
■ First occurrence of a particular character string
■ First occurrence of a specific location within job output
Both uses of the FIRST command are discussed individually on the following
pages.
To begin the display with the first line containing a particular character string.
1.82.1 Syntax
FIRST Command
──FIRST──┬───────┬──┬──────────┬──┬───────────────┬────────────
└─scope─┘ └──┬───┬─e─┘ └─string─┬───┬──┘
└─s─┘ └─n─┘
──┬──────────┬──┬─────────┬──┬─────────┬──┬─────┬──────────────
└─position─┘ └─LITeral─┘ └─context─┘ └─Mix─┘
Operand Description
With no operand, locates and displays the first occurrence of the
previously specified string in the currently attached data.
scope Qualifies the data to be affected. If omitted, the currently attached
data is affected. If specified, it must be one of the following:
AWS Causes the active AWS to be reattached and searched for
the specified string. (Abbreviate as A.)
DSN Causes the pending data set object to be reattached and
searched for the specified string. (Abbreviate as D.)
JOB Causes the pending job output file to be reattached and
searched for the specified string. (Abbreviate as J.)
LIB Causes the pending library member or Selection List to be
reattached and searched for the specified string.
(Abbreviate as L.)
s e Number of the starting and ending columns to be searched for the
string. If only one number is specified, it is assumed to be the
ending column. The ending column cannot exceed: 1) 255, or 2) the
record length of the data set object.
string Search string, that cannot exceed 80 characters in length. If omitted,
the string specified with the previously executed EXCL, FIRST,
INCL, LAST, NEXT, or PREV primary or line command or the
ATTACH primary command is used.
1.82.2 Notes
Changing Search Column Boundaries:
■ By default, the search is restricted to the default or current column
boundaries. To change the column boundaries for:
A single execution: Specify the s and e operands with the command
(for example, FIRST 20 30 ABC). After the
command executes, the previously established or
default range is restored.
To limit the operation to a single column, specify s
equal to e.
The terminal session: Use the modifiable STATUS DISPLAY screen, the
SET BOUNDS primary command, or, if the AWS
is attached, the BOUNDS line command. This
range remains in effect until explicitly changed.
1.82.4.1 Examples
■ To begin the display with the first occurrence of the string PAY in the
currently attached and displayed data:
FIRST PAY
■ To begin the display with the first occurrence of the string ABC in columns
1 through 50 of the data that is currently attached and displayed:
FIRST 1 5 ABC
■ To begin the display with the first occurrence of a previously specified
string that appears in columns 30 through 60:
FIRST 3 6
■ To reattach the currently attached job and begin the display with the first
occurrence of the word EXEC:
FIRST JOB EXEC WORD
Because the string is qualified, a word such as EXECUTE will not match
the specified string. To find the first occurrence of EXECUTE, either spell
the word out in full or qualify the string, as in:
FIRST JOB EXEC PREFIX
■ To reattach the active AWS and begin the display with the first occurrence
of the string DIVISION in the next 200 lines:
FIRST AWS DIVISION 2
■ To reattach the previously attached data set object and begin the display
(by centering the line) with the first occurrence of a previously specified
string occurring in columns 60 through 90:
FIRST DSN 6 9 CENTERED
■ To find the first occurrence of the string LIB in the currently attached data:
FIRST /LIB/
The search string is bound by delimiters since it matches a keyword
operand of the command.
1.83.1 Syntax
FIRST JOB Command
──FIRST──┬─────┬──┬──────┬────────────────────────────────────
└─Job─┘ ├─File─┤
├─Page─┤
└─Line─┘
Operand Description
With no operand, uses the value specified with the previously
executed FIRST, LAST, NEXT, or PREV primary command.
Job Causes the pending job to be reattached at the designated location.
File Repositions display to begin with the first file of the attached and
displayed job. (Abbreviate as FILE, FIL, or F.)
Page Repositions display to begin with the first page of the job output
file currently displayed. (Abbreviate as PAGE, PAG, or P.)
Line Repositions display to begin with the first line of the job output file
currently displayed. (Abbreviate as LINE, LIN, or L.)
1.83.2 Notes
■ L, an abbreviation of the LINE operand, may only be used when the JOB
(or J) operand is also specified.
■ The displayed job output is not modifiable.
1.83.4.1 Examples
■ To reattach the previously attached job and begin the display with the first
file:
FIRST JOB FILE
■ To display the first file of job output that is attached and displayed:
FIRST FILE
■ To display the first page of the job output file that is currently attached
and displayed:
FIRST PAGE
1.84.1 Syntax
FIRST Line Command
──FIRST──┬──────────┬─────────────────────────────────────────
└─/string/─┘
Operand Description
/string/ Search string, which must not exceed the length of a terminal line
and must be bound by delimiters. If omitted, the string specified
with the previously executed EXCL, FIRST, INCL, LAST, NEXT, or
PREV primary or line command or the ATTACH primary command
is used.
1.84.2 Notes
The line on which FIRST is entered is included in the search.
1.84.3.1 Examples
> AWS(AAA.TAXREPT) SCRL FULL COLS 7 78
> .<.1....+....2....+....3....+....4....+....5..
...... ========================== T O P =============
FIRST /PROCEDURE/ION DIVISION.
2 PROGRAM-ID. TAX-REPT.
3
4 ENVIRONMENT DIVISION.
> AWS(AAA.TAXREPT) SCRL FULL COLS 7 78
> .<.1....+....2....+....3....+....4....+....5..
...... ========================= T O P ==============
FIRST IDENTIFICATION DIVISION.
2 PROGRAM-ID. TAX-REPT.
3
4 ENVIRONMENT DIVISION.
1.85 FREE
Deallocates one or more files that the user previously allocated for use under
ETSO.
1.85.1 Syntax
FREE Command
──FREE──┬─ALL──────────────────┬──────────────────────────────
│ ┌──
──────────┐ │
┬────────┬┴──┤
├─ddname──
│ └─ddname─┘ │
└─DSN=dsn──────────────┘
Operand Description
ALL Deallocates all files.
ddname DD name of the file to be deallocated. A maximum of 10 names
may be deallocated.
dsn Name of data set to be deallocated.
1.85.2 Notes
Restrictions:
■ The FREE command is valid only when the Extended Time-Sharing Option
(ETSO) is active.
■ If you are using the FREE command in an RPF and have multiple DDs
specified using a single FREE command, an error encountered may cause
some DDs to remain allocated. In RPF processing, an error encountered
on a single line will stop the read of data for the remainder of the line. So,
if for any reason an error is encountered with one of the DDs, any DDs
specified after that DD will not be freed.
To avoid this, specify one FREE command for each DD on separate lines of
your RPF.
1.86 HELP
Provides information about all primary, line, and Monitor commands plus all
RPF commands and facilities.
1.86.1 Syntax
HELP Command
──Help──┬────────────────────┬──┬──────────┬──────────────────
└─command──┬───────┬─┘ ├─Function─┤
└─level─┘ ├─Syntax───┤
└─Level────┘
Operand Description
With no operand, displays a description of the HELP facility.
command Name of a command or facility.
level Name of subcommand or command/facility qualification.
Function Displays only description.
Syntax Displays only command syntax.
Level Displays list of members providing additional or related
information.
1.86.2 Notes
Entering HELP With No Operand:
■ When HELP is entered, the resulting display identifies how to obtain
information about:
– HELP members that containing information that should be reviewed
by all Advantage CA-Roscoe users.
– The command notation conventions used in the HELP displays.
– The PF keys used to scroll through and between HELP displays.
Using PF Keys:
■ The HELP facility uses the following PF key settings:
PF7/19 Scrolls back to the beginning of the current level.
PF8/20 Scrolls forward within the current level.
PF10/22 Scrolls back to the previous level.
PF11/23 Scrolls forward to the next level.
■ If there is no additional information within a level or there is no previous
or next level, the display is unchanged.
Using Abbreviations:
■ Short and/or alternate forms of a command or level may be specified (for
example, HELP SUB provides information about the SUBMIT command).
■ The short forms of the FETCH, LIST, and SAVE commands (F, L, and S,
respectively) are exceptions to this rule.
– If F, L, or S is entered as the only operand of the HELP command, it is
assumed to be an operand abbreviation (for example, HELP F displays
the function of the HELP command; not the description of the FETCH
command).
– If F, L, or S is the first operand, it is treated as the short form of the
command (for example, HELP F S displays the syntax of the FETCH
command).
1.86.2.1 Examples
1.87 IMPORT
Copies all, part, or directories of the following into the active AWS or a library
member:
■ MVS data set
■ AllFusion CA-Librarian Master File
■ AllFusion CA-Panvalet library file
1.88.1 Syntax
INPORT (MVS data Set) Command
──IMPort──DSName=dsn─┬──────────┬───┬────────────────────┬─────
├─(dsnmem)─┤ └─TO=mem─┬────────┬──┘
├─()──────┤ └─UPDATE─┘
└─(V)──────┘
──┬──────┬──┬───────────────────┬───────────────────────────────
├─ASIs─┤ ├─INClude=(charstr)─┤
└─HEX──┘ └─EXClude=(charstr)─┘
──┬──────────────────────────┬──┬─────────────────────┬─────────
│ ┌─,────┐ │ └─RECords=(p─┬────┬─)─┘
dsnmem┴─'─┘
└─RANge='dsnmem── └─,q─┘
──┬────────────────────┬──┬──────────────┬──────────────────────
└─SEQfld─┬────────┬──┘ └─UNIt=charstr─┘
├─=s l───┤
└─=COBOL─┘
──┬────────────────┬──┬──────────────────┬──┬───────┬───────────
└─VOLume=charstr─┘ └─PASsword=charstr─┘ └─NOTTR─┘
──┬──────────┬──┬─────────┬──WRAP=v────────────────────────────
└─OFFSET=s─┘ └─TRUNC=e─┘
Operand Description
DSName= Fully qualified name of the data set to be copied. The name may
be further qualified with one of the following:
(dsnmem)
Name of a PDS member.
(*) Displays formatted listing of a PDS directory.
(v) Relative generation number of the generation data set
being retrieved. It can be 0 (most current) or a
negative number.
TO= Name of the library member that is to contain the copied data.
If the library member exists, the operation can be qualified with:
UPDATE Causes the contents of member to be overlaid. If
omitted, the member is not overlaid and IMPORT
fails.
If the member does not exist, it is created. (If UPDATE is
specified, it is ignored.)
──┬─INClude=─┬─────────────────────────────────────────────────
└─EXClude=─┘
──(─┬──────┬─/charstr1/─┬───────────┬──┬──────────┬─)──────────
└─NOT,─┘ └─s─┬────┬──┘ ├─OR───────┤
└─,e─┘ └─,AND,...─┘
AND Strings on both sides of the AND must match for the
record to be included or excluded.
OR Only one string on either side of the OR must match
for the record to be included or excluded.
RANge= Name of the first and last PDS member to be retrieved. If only
one name is specified, that member module and all others
beginning with that name are retrieved.
RANGE= limits retrieval of a PDS directory to within a specified
range. The limits must be within collating sequence. All
members/modules whose names are within the collating
sequence defined by the range limits are listed. "(*)" must be
specified after the value for DSName=.
RECords= Number of the first and last record to be copied. p and q can be
specified as FIRST and LAST, respectively. If only one number is
specified, the input is copied from that record to the end. If
RECORDS= is omitted, all records are copied. They are selected
by their relative record number within the input data set unless
the SEQFLD operand is used, in which case records are selected
on the basis of their sequence number within the data.
SEQfld Location of preexisting sequence number field on the input
records. If omitted or specified ASIS, the sequence number field is
assumed to be in columns 73 through 80. To designate a
different location, include:
=s l Starting column and length of the sequence number
field.
=COBOL Sequence number field is in columns 1 through 6.
IMPORT terminates if the location of the sequence field is not
within the record or the field does not contain numeric
characters.
Specify SEQFLD in combination with the RECORDS operand to
copy records by existing record number. If RECORDS is not
specified, SEQFLD has no effect.
UNIt= Required for mass storage devices. Specify 3380V or VIRTUAL.
(Abbreviate as UNI.)
VOLume= Serial number of the pack on which the requested data set
resides. (Abbreviate as VOL.)
If operands are entered from the terminal and VOLUME is
omitted, a catalog search for the volume is performed. If the data
is not cataloged, IMPORT prompts for the volume serial number.
VOLUME is required if UNIT is specified. If VOLUME is
omitted, IMPORT does not issue a prompt.
PASsword= Data set password established by the site. If omitted and the data
set is password protected, a prompt is issued.
NOTTR Causes IMPORT to bypass its check for a last TTR pointer of 000
in the data set's DSCB. NOTTR should be used when, for
example, a data set has been updated but for some reason the
TTR pointer has not been.
OFFSET= Starting location of that portion of the record that is to be copied.
If omitted, the default is 0 (the beginning of the record). The
value cannot be less than 0 or greater than: 1) the length of the
record, or 2) the value specified with TRUNC=.
TRUNC= Ending location of that portion of the record that is to be copied.
If omitted, the default is 32767. The value cannot be less than 0 or
the value specified with OFFSET=.
WRAP= Maximum number of characters to be included on a line in the
active AWS. If omitted, the default is 255. The value may be
between 1 and 255. (If the record length is greater than 255 or the
specified segmentation value, the records being copied are
written to the active AWS as a series of segments that do not
exceed 255 or the specified segmentation value.)
If the record length (LRECL) is less than or equal to 255, it is
possible to rejoin the record segments; if the record length id
greater than 255, it is not possible to rejoin the segments.
1.88.2 Notes
Restrictions:
■ IMPORT is a Monitor command. Site management has the option of
restricting its use.
■ If its use is not restricted, see Appendix B for the extended syntax that
permits the input to be read from the active AWS or a library member.
Note that operands placed in the AWS or library member are read and
executed at once. If they are incomplete or invalid, no prompting occurs
and no retries are permitted. IMPORT issues an error message and
terminates.
Enter one or more operands. The combined length of the operands cannot
exceed 200 characters per line. To indicate a continuation, terminate the
line with a comma followed by a space; begin the continuation anywhere
on the following line. (Operands cannot be broken over two lines.)
IMPORT Criteria:
■ To be copied, an MVS data set must meet the following criteria:
1. It must be resident on a single direct access volume available to
Advantage CA-Roscoe.
2. It may not be under exclusive control by another task executing in the
computer nor allocated by DSNAME in the Advantage CA-Roscoe JCL.
3. Its data set organization must be PS or PO.
4. Its record format must not be undefined or variable spanned.
5. KEYLEN must not be greater than 0. (If it is greater than 0, only the
data portion of the record is retrieved.)
6. Its access must not be prevented by site specifications made by the
system programmer.
7. It must not be in a format that requires a special handler (for example,
SYSCTLG data sets).
IMPORT Destination:
AWS The requested data replaces the contents of the active AWS. The
new data is numbered from 1 with an increment of 1.
Library Member
The member is created if it does not exist. If the member exists, its
contents is overlaid if the UPDATE operand is specified. If
UPDATE is omitted, the IMPORT operation terminates. The new
data is numbered from 1 with an increment of 1.
■ Before a record is written, unprintable characters are replaced by spaces.
Only the following character sets are kept: numerics, alphabetics
(uppercase and lowercase) and special characters. Specify the ASIS
operand if character replacement is not to be performed.
Attention Handling:
■ The Attention key can be used to interrupt an IMPORT operation.
■ The ATTN or BREAK key can be used at TTYs to cancel an input line. This
permits a retry (reentry) of the cancelled line. When IMPORT prompts for
a special operand (for example, DSNAME), the input must begin in the
leftmost position of the terminal line.
Note: A leading space causes IMPORT to terminate.
1.88.3.1 Examples
1.89.1 Syntax
IMPORT (AllFusion CA-Librarian Master File)
──IMPort──DSN=dsn─┬──────────┬───┬────────────────────┬────────
├─(module)─┤ └─TO=mem─┬────────┬──┘
└─()──────┘ └─UPDATE─┘
──┬──────┬──┬───────────────────┬──┬──────────────────┬─────────
└─ASIs─┘ ├─INClude=(charstr)─┤ └─LIBarian=charstr─┘
└─EXClude=(charstr)─┘
──┬─────────────┬──┬──────────────┬─────────────────────────────
└─ARC=charstr─┘ └─PGMr=charstr─┘
──┬──────────────────────────┬──┬─────────────────────┬─────────
│ ┌─,────┐ │ └─RECords=(p─┬────┬─)─┘
dsnmem┴─'─┘
└─RANge='dsnmem── └─,q─┘
──┬────────────────────┬──┬──────────────┬──────────────────────
└─SEQfld─┬────────┬──┘ └─UNIT=charstr─┘
├─=s l───┤
└─=COBOL─┘
──┬────────────────┬──┬──────────┬──┬─────────┬──WRAP=v────────
└─VOLume=charstr─┘ └─OFFSET=s─┘ └─TRUNC=e─┘
Operand Description
DSName= Fully qualified name of the AllFusion CA-Librarian Master File.
The name may be further qualified with one of the following:
(module) Name of an AllFusion CA-Librarian module. If the
AllFusion CA-Librarian module is archived, the
current level is copied.
(*) Displays formatted listing of an AllFusion
CA-Librarian index.
This operand is required, except when LIB-I is specified.
TO= Name of the library member that is to contain the copied data.
If the library member exists, the operation can be qualified with:
UPDATE Causes the contents of member to be overlaid. If
omitted, the member is not overlaid and IMPORT
fails.
If the member does not exist, it is created. (If UPDATE is
specified, it is ignored.)
──┬─INClude=─┬─────────────────────────────────────────────────
└─EXClude=─┘
──(──┬──────┬──/charstr/──┬───────────┬──┬──────────┬──)───────
└─NOT,─┘ └─s─┬────┬──┘ ├─OR───────┤
└─,e─┘ └─,AND,...─┘
RECords= Number of the first and last record to be copied. p and q can be
specified as FIRST and LAST, respectively. If only one number is
specified, the input is copied from that record to the end. If
RECORDS= is omitted, all records are copied. They are selected
by their relative record number within the input data set unless
the SEQFLD operand is used, in which case records are selected
on the basis of their sequence number within the data.
SEQfld Location of preexisting sequence number field on the input
records. If omitted or specified ASIS, the sequence number field is
assumed to be in columns 73 through 80. To designate a
different location, include:
=s l Starting column and length of the sequence number
field.
=COBOL Sequence number field is in columns 1 through 6.
IMPORT terminates if the location of the sequence field is not
within the record or the field does not contain numeric
characters.
Specify SEQFLD in combination with the RECORDS operand to
copy records by existing record number. If RECORDS is not
specified, SEQFLD has no effect.
UNIt= Required for mass storage devices. Specify 3380V or VIRTUAL.
| (Abbreviate as UNI. UNIT= cannot be specified with AllFusion
| CA-Librarian data sets defined as VSAM.)
VOLume= Serial number of the pack on which the requested data set
| resides. (Abbreviate as VOL. VOLUME= cannot be specified
| with AllFusion CA-Librarian data sets defined as VSAM .)
If operands are entered from the terminal and VOLUME is
omitted, a catalog search for the volume is performed. If the data
is not cataloged, IMPORT prompts for the volume serial number.
VOLUME is required if UNIT is specified. If VOLUME is
omitted, IMPORT does not issue a prompt.
OFFSET= Starting location of that portion of the record that is to be copied.
If omitted, the default is 0 (the beginning of the record). The
value cannot be less than 0 or greater than: 1) the length of the
record, or 2) the value specified with TRUNC=.
TRUNC= Ending location of that portion of the record that is to be copied.
If omitted, the default is 32767. The value cannot be less than 0 or
the value specified with OFFSET=.
WRAP= Maximum number of characters to be included on a line in the
active AWS. If omitted, the default is 255. The value may be
between 1 and 255. (If the record length is greater than 255 or the
specified segmentation value, the records being copied are
1.89.2 Notes
Restrictions:
■ IMPORT is a Monitor command. Site management has the option of
restricting its use.
■ If its use is not restricted, see Appendix B for the extended syntax that
permits the input to be read from the active AWS or a library member.
Note that operands placed in the AWS or library member are read and
executed at once. If they are incomplete or invalid, no prompting occurs
and no retries are permitted. IMPORT issues an error message and
terminates.
IMPORT Destination:
AWS The requested data replaces the contents of the active AWS. The
new data is numbered from 1 with an increment of 1.
Library Member
The member is created if it does not exist. If the member exists, its
contents is overlaid if the UPDATE operand is specified. If
UPDATE is omitted, the IMPORT operation terminates. The new
data is numbered from 1 with an increment of 1.
■ Before a record is written, unprintable characters are replaced by spaces.
Only the following character sets are kept: numerics, alphabetics
(uppercase and lowercase) and special characters. Specify the ASIS
operand if character replacement is not to be performed.
Attention Handling:
■ The Attention key can be used to interrupt an IMPORT operation.
■ The ATTN or BREAK key can be used at TTYs to cancel an input line. This
permits a retry (reentry) of the cancelled line. When IMPORT prompts for
a special operand (for example, DSNAME), the input must begin in the
leftmost position of the terminal line. Note: A leading space causes
IMPORT to terminate.
1.89.3.1 Examples
or
IMPORT DSN=LIBR.MAST() RANGE='A,C' LIBRARIAN-I
■ To display index information for only the module IGG019MP on
LIBR.MAST:
IMPORT DSN=LIBR.MAST() RANGE='IGG19MP'
or
IMPORT DSN=LIBR.MAST(IGG19MP) LIBRARIAN-I
1.90.1 Syntax
IMPORT (AllFusion CA-Panvalet Member)
──IMPort──DSN=dsn─┬───────────────────────┬────────────────────
├─(member─┬─────────┬─)─┤
│ └─.subset─┘ │
└─()───────────────────┘
──┬────────────────────┬──┬────────────────┬────────────────────
└─TO=mem─┬────────┬──┘ └─ACCess=charstr─┘
└─UPDATE─┘
──┬─────────────────┬──┬──────────────────┬─────────────────────
└─CONtrol=charstr─┘ │ ┌─No──┐ │
└─EXPand=─┴─Yes─┴──┘
──┬──────────────────┬──┬──────────────┬────────────────────────
└─LANguage=charstr─┘ └─PGMr=charstr─┘
──┬──────────────────┬──┬────────────────┬──┬──────────────┬────
│ ┌─Yes─┐ │ └─STAtus=charstr─┘ └─USEr=charstr─┘
└─SUBset=─┴─No──┴──┘
──┬──────┬──┬───────────────────┬───────────────────────────────
└─ASIs─┘ ├─INClude(charstr)──┤
└─EXClude=(charstr)─┘
──┬──────────────────────────┬──┬─────────────────────┬─────────
│ ┌─,────┐ │ └─RECords=(p─┬────┬─)─┘
dsnmem┴─'─┘
└─RANge='dsnmem── └─,q─┘
──┬────────────────────┬──┬──────────┬──┬─────────┬─────────────
└─SEQfld─┬────────┬──┘ └─OFFSET=s─┘ └─TRUNC=e─┘
├─=s,l───┤
└─=COBOL─┘
──┬────────┬───────────────────────────────────────────────────
└─WRAP=v─┘
Operand Description
DSN= One-to 44-character data set name of the AllFusion CA-Panvalet
library to be copied. The name must be further qualified with one
of the following:
(member) One-to ten-character name of the AllFusion
CA-Panvalet member (digits and special characters are
permitted.)
LANguage=
One- to eight-character standard AllFusion CA-Panvalet language
type code. If omitted, the default is all Language type codes
included in the directory list.
LANGUAGE is ignored for member retrieval. For directory
retrieval, LANGUAGE restricts the member list to those matching
the specified Language type code.
Note: The directory display uses a 5-character Language type
code. The displayed values correspond to the 8-character
values, but do not necessarily match exactly. If a one-to
five-character code is specified (for example, ASMB), it is
translated to the corresponding one- to eight-character
value before AllFusion CA-Panvalet is called.
PGMr= One-to eight-character programmer name as it appears in
AllFusion CA-Panvalet directory. It is used to qualify the
directory list to permit a selective retrieval by programmer name.
Last Update ID selects by the column in the directory list.
SUBset= Designate if Subset entries are to be listed for directory retrieval.
Specify:
Yes List Subset entries. YES (or Y) is the default.
N Do not list Subset entries.
SUBSET is ignored for member retrieval.
STAtus= 3-character status mask value used to restrict the directory
retrieval. Each of the 3 characters can be one of three values.
■ For Character 1, specify P, T, or ?, where:
P Production
T Test
? Either
■ For Character 2, specify E, D, or ?, where:
E Enabled
D Disabled
? Either
■ For Character 3, specify A, I, or ?, where:
A Active
I Inactive
? Either
The default for STATUS is ???. STATUS is ignored for member
retrieval.
USER= One-to four-digit user code; leading zeros may be omitted.
USER will restrict the directory list to members with the specified
user code.
──┬─INClude=─┬─────────────────────────────────────────────────
└─EXClude=─┘
──(─┬──────┬─/charstr1/─┬───────────┬──┬──────────┬─)──────────
└─NOT,─┘ └─s─┬────┬──┘ ├─OR───────┤
└─,e─┘ └─,AND,...─┘
1.90.2 Notes
Restrictions:
■ IMPORT is a Monitor command. Site management has the option of
restricting its use.
■ If its use is not restricted, see Appendix B for the extended syntax that
permits the input to be read from the active AWS or a library member.
Note that operands placed in the AWS or library member are read and
executed at once. If they are incomplete or invalid, no prompting occurs
and no retries are permitted. IMPORT issues an error message and
terminates.
IMPORT Destination:
AWS The requested data replaces the contents of the active AWS. The
new data is numbered from 1 with an increment of 1.
Library Member
The member is created if it does not exist. If the member exists, its
contents is overlaid if the UPDATE operand is specified. If
UPDATE is omitted, the IMPORT operation terminates. The new
data is numbered from 1 with an increment of 1.
■ Before a record is written, unprintable characters are replaced by spaces.
Only the following character sets are kept: numerics, alphabetics
(uppercase and lowercase) and special characters. Specify the ASIS
operand if character replacement is not to be performed.
Attention Handling:
■ The Attention key can be used to interrupt an IMPORT operation.
■ The ATTN or BREAK key can be used at TTYs to cancel an input line. This
permits a retry (reentry) of the cancelled line. When IMPORT prompts for
a special operand (for example, DSNAME), the input must begin in the
leftmost position of the terminal line. Note: Leading space causes IMPORT
to terminate.
1.90.3.1 Examples
or,
/sales/5,9,and,/ smith
or,
NOT,/jones/,and,not,/smith/,and, /commissions/52,7
■ To qualify the range of input records to be copied:
records=250 only record 250 is copied.
records=250,last records 250 through the end are copied.
records=first,249 first 249 records are copied.
records=300,900 records 300-900 are copied.
■ To specify the sequence number field location:
seqfld sequence number field in columns 73 through 80.
seqfld=COBOL
field in columns 1 through 6.
seqfld=77,4 field in columns 77 through 80.
1.91 INCL
Locates and displays all lines containing a specific character string.
1.91.1 Syntax
INCL Command
──INCL──┬───────┬──┬──────────┬──┬─────────────────┬───────────
└─scope─┘ └──┬───┬─e─┘ └─/string/─┬───┬──┘
└─s─┘ └─n─┘
──┬──────────┬──┬─────────┬──┬─────────┬──┬─────┬──────────────
└─position─┘ └─LITeral─┘ └─context─┘ └─Mix─┘
Operand Description
With no operand, locates and displays all lines containing the
previously specified string in the currently attached data.
scope Qualifies the data to be affected. If omitted, the currently attached
data is affected. If specified, it must be one of the following:
AWS Causes the active AWS to be reattached and searched for
the specified string. (Abbreviate as A.)
DSN Causes the pending data set object to be reattached and
searched for the specified string. (Abbreviate as D.)
JOB Causes the pending job output file to be reattached and
searched for the specified string. (Abbreviate as J.)
LIB Causes the pending library member or Selection List to be
reattached and searched for the specified string.
(Abbreviate as L.)
s e Number of the starting and ending columns to be searched for the
string. If only one number is specified, it is assumed to be the
ending column. The ending column cannot exceed: 1) 255, or 2) the
record length of the data set object.
string Search string, which cannot exceed 80 characters in length. If
omitted, the string specified with the previously executed EXCL,
FIRST, INCL, LAST, NEXT or PREV primary or line command or
the ATTACH primary command is used.
n Number of lines to be searched. If omitted, the default is: 1) the
end of the active AWS or library member, or 2) the site-defined
search limit for the data set object or job output.
position Designates the screen positioning that is to occur when a match is
found. If omitted, the positioning currently in effect is used. If
specified, it must be one of the following:
1.91.2 Notes
INCL Requirements/Scope:
■ This command is valid only when SET DISPLAY NUMX is in effect.
■ The search for lines containing the string begins with the first displayed
line or the line at which the pointer is currently positioned.
– With the AWS, type an asterisk (*) in the sequence number field of the
appropriate line and press the Enter key.
– With any other form of attached data, 1) use the POINT command (for
example, POINT LINE 500), or 2) place the cursor at the desired line
(using the cursor positioning keys) and press the Enter key.
1.91.4.1 Examples
■ To locate and display every line containing the word PROC in the
currently attached data:
INCL PROC WORD
Because the string is qualified, a word such as PROCEDURE will not
match. To find those lines containing a word beginning with PROC, you
might enter:
INCL PROC PREFIX
■ To locate and display every line in the currently attached data that
contains the string XYZ in columns 10 through 50:
INCL 1 5 XYZ
■ To search the next 60 lines and display every line containing the string
DIVISION:
INCL DIVISION 6
■ To reattach the currently attached job and then locate and display every
line containing the string AWS in columns 10 through 50:
INCL JOB 1 5 /AWS/
The search string is qualified since it matches a keyword operand of the
command.
■ To reattach the previously attached data set object and display every line
(without altering the screen positioning) that contains the previously
specified string:
INCL DSN LOCKED
1.92.1 Syntax
INCL Line Command
──INCL──┬──────────┬──────────────────────────────────────────
└─/string/─┘
/string/ Search string, which must not exceed the length of a terminal line
and must be bound by delimiters. If omitted, the string specified
with the previously executed EXCL, FIRST, INCL, LAST, NEXT, or
PREV primary or line command or the ATTACH primary command
is used.
1.92.2 Notes
The line on which INCL is entered is included in the search.
1.92.3.1 Examples
■ To display every line in the AWS that contains the string PROCEDURE:
> AWS(AAA.TAXREPT) SCRL FULL COLS 7 78
> .<.1....+....2....+....3....+....4....+....5..
...... ========================== T O P =============
INCL /PROCEDURE/ION DIVISION.
2 PROGRAM-ID. TAX-REPT.
3
4 ENVIRONMENT DIVISION.
> AWS(AAA.TAXREPT) SCRL FULL COLS 7 78
> .<.1....+....2....+....3....+....4....+....5..
...... ========================== T O P =============
INCL IDENTIFICATION DIVISION.
2 PROGRAM-ID. TAX-REPT.
3
4 ENVIRONMENT DIVISION.
1.93 INFO
To provide information about one of the following:
■ Data set
■ Library member
■ Volume
1.94.1 Syntax
INFO DSN Command
──INFO DSN──dsn─┬──────────┬───────────────────────────────────
├─(dsnmem)─┤
└─(v)──────┘
──┬───────────────────────────────┬─────────────────────────────
│ ┌──
───────────┐ │
┬─────────┬┴──┘
└─Volume charstr──
└─charstr─┘
──┬─────────────────────────────┬───────────────────────────────
│ ┌──
───────────┐ │
┬─────────┬┴──┘
└─UNIT charstr──
└─charstr─┘
──┬───────────────────────────┬─────────────────────────────────
└─PSWd charstr─┬─────────┬──┘
└─charstr─┘
──┬───────────────────────────────────────────┬────────────────
└─NODSPLY─┬─────────────┬──┬─────────────┬──┘
└─MCD charstr─┘ └─ARC charstr─┘
Operand Description
dsn One-to 44-character fully qualified name of the data set about
which information is desired. The name may be qualified with:
dsnmem
Name of the PDS member or AllFusion CA-Librarian
module about which information is desired. (See Notes
for additional information.)
v Relative generation number of the GDG (generation data
group) data set, specified as 0 (most current) or a minus
number (for example, -1).
Volume One-to six-character serial number of the volume on which the
data set resides. One to six volumes may be specified. Required if
the data set is not cataloged.
Note: Volume can be specified as VOLUME, VOL, V.
UNIT One-to eight-character unit name associated with the device
type(s) on which the data set resides. It may be either an
IBM-defined generic name (for example, 3380) or a site-defined
1.94.2 Notes
RPF Variables:
■ The RPF data set variables are always updated to contain the appropriate
information.
| USED EXTENTS
| Total number of extents used on all volumes.
| ■ The volumes information includes:
| VOLUME NO The tape volume sequence number.
| VOLUME The tape volume serial number.
| SEQ NO The sequence number of the data set on the tape volume.
| DEVTYPE Name of the unit on which the data set resides.
1.95.1 Syntax
INFO LIB Command
──INFO LIB──mem──┬─────────┬──────────────────────────────────
└─NODSPLY─┘
Operand Description
mem Name of the library member about which information is desired.
NODSPLY Suppresses the display of information. (This operand is intended
for use in RPF programs to update the contents of the library
variables.)
1.95.2 Notes
RPF Variables:
■ The RPF library variables are always updated to contain the appropriate
information.
1.96.1 Syntax
INFO VOL Command
──INFO VOL──string──┬──────────────┬──┬─────────┬─────────────
└─UNIT charstr─┘ └─NODSPLY─┘
Operand Description
string Serial number of the volume about which information is desired.
UNIT One-to eight-character unit name associated with the device type
on which the volume resides. Required only if a mass storage
volume.
NODSPLY Suppresses the display of information. (This operand is intended
for use in RPF programs to update the contents of the data set
variables.)
1.96.2 Notes
RPF Variables:
■ The RPF data set variables are always updated to contain the appropriate
information.
Volume Information:
■ The volume information includes:
VOLUME Serial number of the device.
ADDRESS Channel and unit address of the device.
DEVTYPE Physical device type.
DEVICE STATUS Status of the device at the time the information is
requested, shown in the form:
──┬───┬──┬──────┬──┬────┬─────────────────
└─x─┘ └─-yyy─┘ └─-z─┘
1.97 INPUT
Opens the Execution Area for the insertion of data into the active AWS.
1.97.1 Syntax
INPUT Command
──INPUT──┬──────────┬──┬───┬──────────────────────────────────
└─TExtentr─┘ └─o─┘
Operand Description
With no operand, lines are inserted at the top of the active AWS (if
the AWS is empty) or after the last line (if the AWS is not empty).
TExtentr Causes the screen to be opened to allow 'power typing'.
Note: Textentr can be specified the following ways:
TEXTENTR, TEX, TE.
o Destination of the operation, specified as:
v A line number.
* After the line at which the AWS pointer is positioned.
T Before the first AWS line.
B or,, After the last AWS line.
1.97.2 Notes
Using TEXTENTR:
■ When TEXTENTR is specified, the format of the Execution Area changes so
that:
– The sequence number field is protected and invisible and the right
margin is ignored. This allows data to be entered in 'wrap' mode
(when the right margin is reached, the cursor automatically skips over
the invisible sequence number field allowing continuous data entry).
– Without TEXTENTR, the right margin marks the end of a 'word'. If the
right margin is reached in the middle of a word, the cursor is
positioned to the next line. Characters at the end of the previous line
are treated as one word; characters at the beginning of the new line are
treated as another word.
1.97.4.1 Examples
■ To use 'power typing' to enter data at the end of the active AWS and have
that data formatted within the column boundaries of 10 and 45:
Type:
INPUT TEXTENTR
>
> 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 to enter data in wr
ap mode and have it formatted for you whe
>
> 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
21 data in wrap mode and have it
22 formatted for you when you complete
1.98.1 Syntax
Input Line Commands
──┬─I──┬───┬──┬───────────────────────────────────────────────
│ └─v─┘ │
├─IB──┬───┬─┤
│ └─v─┘ │
└─IM──┬───┬─┘
└─v─┘
Command Description
I Insert one line for data entry after the line containing the command.
To insert multiple lines, specify:
v Number of lines to be inserted. It cannot exceed the number
of displayed lines following the line containing the command.
IB Insert one line for data entry before the line containing the
command. To insert multiple lines, specify:
v Number of lines to be inserted. It cannot exceed the number
of displayed lines preceding the line containing the command.
IM Insert one copy of the mask after this line. To insert multiple copies
of the mask, specify:
v Number of copies of the mask to be inserted. Any number of
mask lines can be inserted.
1.98.2 Notes
Command Placement:
■ I and IM may be specified in the sequence number field of the lines
designating the top and bottom of the active AWS. (The sequence number
field of these lines contains '......'.)
Inserting a Mask:
■ IM is ignored if a mask is not defined. (Use the MASK line command to
define a mask.)
■ When IMv is used, the mask is inserted the specified number of times. The
lines are assigned sequence numbers and the field is unprotected.
■ Note that the OM, OMB and OMT line commands may be used to overlay
existing lines with a mask.
1.98.3.1 Examples
■ To insert two data entry lines after line 100 of the active AWS, enter:
> AWS(AAA.TAXREPT) SCRL FULL COLS 7 78
> .<.1....+....2....+....3....+....4....+..>
...... ================================ T O P ===
I21 1 DETAIL-LINE.
2 2 FILLER PIC X(5).
3 2 TOTAL PIC X(15).
> AWS(AAA.TAXREPT) SCRL FULL COLS 7 78
> .<.1....+....2....+....3....+....4....+..>
...... ================================ T O P ===
1 1 DETAIL-LINE.
......
......
2 2 FILLER PIC X(5).
3 2 TOTAL PIC X(15).
■ To define a mask on line 100 and then to insert two copies of it after line
300 of the active AWS:
> AWS(AAA.TAXREPT) SCRL FULL COLS 7 78
> .<.1....+....2....+....3....+....4....+..>
...... ================================ T O P ===
MASK 5 FILLER PIC X.
11 2 FILLER PIC X(1).
2 2 FILLER PIC X(4).
IM23 2 TOTAL PIC X(15).
> AWS(AAA.TAXREPT) SCRL FULL COLS 7 78
> .<.1....+....2....+....3....+....4....+..>
...... ================================ T O P ===
1 1 DETAIL-LINE.
11 2 FILLER PIC X(1).
2 2 FILLER PIC X(4).
3 2 TOTAL PIC X(15).
31 5 FILLER PIC X.
32 5 FILLER PIC X.
1.99 JCK
Validates MVS JCL using Unicenter CA-JCLCheck.
1.99.1 Syntax
|
| JCK Command
| ──JCK──┬────┬──┬─────────┬────────────────────────────────────
| ├─-A─┤ └─charstr─┘
| ├─-D─┤
| └─-X─┘
| Operand Description
| With no operand, syntax checks the contents of the active AWS.
| -A Causes information to be written to the active AWS.
| -D Causes the JCLOPTS to be displayed. JCK continues if there is input
| in the active AWS.
| -X Turns off Advantage CA-Roscoe's SVCs screening of issues.
1.99.2 Notes
■ JCK is a Monitor routine that allows Advantage CA-Roscoe users to
validate MVS JCL using some or all of the functions provided with
Unicenter CA-JCLCheck. Site management has the option of restricting the
use of this Monitor routine.
■ The following options may be specified with the JCK command. Unless
changed by site management, the options AUTOPROC, EASYPROC, and
TERM are always in effect.
| AUTOPROC (JES2 only) Causes Unicenter CA-JCLCheck to
| open and use the site's system procedure library.
| This is the default.
DEBUG [ (charstr v) ] Causes Unicenter CA-JCLCheck to terminate with
a user abend 1000 or 2222, so that a full
SYSUDUMP can be obtained. Normally, DEBUG is
used only at the request of the Advantage
CA-Roscoe Support Staff. However, it can be
useful in debugging user exit routines.
The operands 'charstr' and 'v' are optional. If
specified, 'charstr' must be a Unicenter
CA-JCLCheck error message number and 'v' must
| be an occurrence number. For example,
| DEBUG(66 2) causes Unicenter CA-JCLCheck to
| terminate with a U1000 abend after the second
| occurrence of error message CAY6066.
| If the operands are omitted, Unicenter
| CA-JCLCheck abends with a U2222 at the end of
| the job and issues the error message CAY6196I.
(See the Unicenter CA-JCLCheck Message Guide for a
description of these messages.)
EASYPROC Activates support for the CA-EASYPROCLIB
program product.
If specified, causes CA-JCLJCheck to use the site's
system procedure library if no PROCLIB is defined
within the JCL.
| FEature(n...n)|NOFEat Determines which of Unicenter CA-JCLCheck's
| special features are to be in effect, where n is the
| number of the corresponding special feature. There
| are several features available with the Unicenter
| CA-JCLCheck common component:
| Number Description
| 5 Sets the S.RC variable to the highest
| error message severity of all jobs
| analyzed in this run. Otherwise, the
| return code is set to the highest error
| message severity of the last job
| analyzed in this run.
| 20 Suppresses message CAY6086E for
| SYSOUT data sets. Unicenter
| CA-JCLCheck flags an invalid
| LRECL/BLKSIZE specification
| regardless of the statement type.
| Certain releases of JES ignore invalid
| DCB information on spooled data sets.
| 24 Issues CAY6088E message when only
| USER is coded on a job card, not the
| PASSWORD parameter.
NOSPIE Suppress the Unicenter CA-JCLCheck SPIE
function. If specified, Unicenter CA-JCLCheck
terminates if an 0Cx interrupt is encountered.
If omitted, Unicenter CA-JCLCheck intercepts 0Cx
abends with a user abend 1000 and prints relevant
diagnostic information on the Catastrophic Error
Report and formatted dumps identical to those
generated by the DEBUG option.
PASSWORD(charstr) Specifies the password to be used for accessing
read-protected VSAM catalogs.
PASSWORD may only be used if the VSAM
option is also in effect.
ROSLIMIT(v) Limits the number of statements that can be
processed by Unicenter CA-JCLCheck.
Because all tasks compete for the virtual storage in
the Advantage CA-Roscoe address space, sites that
have storage constraints should consider using this
option to restrict the size of job streams (including
PROCLIB statements) that may be processed
online.
The number (v) specifies Unicenter CA-JCLCheck
logical statements, which include all continuation
card images. The actual number of statements
processed will generally be higher than the
specified limit.
TERM Requests Unicenter CA-JCLCheck to produce
abbreviated report output, containing only the
erroneous statements and their associated
messages. The report is displayed at the terminal.
VSAM [REVERSE]
[(NOREVERS)]
Requests Unicenter CA-JCLCheck to support
VSAM catalogs.
This option allows Unicenter CA-JCLCheck to
invoke the IBM utility IDCAMS when it finds a
JOBCAT or STEPCAT statement defining a VSAM
1.100 LAST
Searches the attached data and begins the display with either:
■ The last occurrence of a particular character string
■ The last occurrence of a specific location within job output
Both uses of the LAST command are discussed individually on the following
pages.
1.101 LAST
To begin the display with the last line containing a particular character string.
1.101.1 Syntax
LAST Command
──LAST──┬───────┬──┬──────────┬──┬───────────────┬─────────────
└─scope─┘ └──┬───┬─e─┘ └─string─┬───┬──┘
└─s─┘ └─n─┘
──┬──────────┬──┬─────────┬──┬─────────┬──┬─────┬──────────────
└─position─┘ └─LITeral─┘ └─context─┘ └─Mix─┘
Operand Description
With no operand, locates and displays the last occurrence of the
previously specified string in the currently attached data.
scope Qualifies the data to be affected. If omitted, the currently attached
data is affected. If specified, it must be one of the following:
AWS Causes the active AWS to be reattached and searched for
the specified string. (Abbreviate as A.)
DSN Causes the pending data set object to be reattached and
searched for the specified string. (Abbreviate as D.)
JOB Causes the pending job output file to be reattached and
searched for the specified string. (Abbreviate as J.)
LIB Causes the pending library member or Selection List to be
reattached and searched for the specified string.
(Abbreviate as L.)
s e Number of the starting and ending columns to be searched for the
string. If only one number is specified, it is assumed to be the
ending column. The ending column cannot exceed: 1) 255, or 2) the
record length of the data set object.
string Search string, which cannot exceed 80 characters in length. If
omitted, the string specified with the previously executed EXCL,
FIRST, INCL, LAST, NEXT, or PREV primary or line command or
the ATTACH primary command is used.
1.101.2 Notes
Changing Search Column Boundaries:
■ By default, the search is restricted to the default or current column
boundaries. To change the column boundaries for:
A single operation: Specify the s and e operands with the command
(for example, LAST 20 30 ABC). After the
command executes, the previously established or
default range is restored.
To limit the operation to a single column, specify s
equal to e.
The terminal session: Use the modifiable STATUS DISPLAY screen, the
SET BOUNDS primary command, or, if the AWS
is attached, the BOUNDS line command. This
range remains in effect until explicitly changed.
1.101.4.1 Examples
■ To begin the display with the last occurrence of the string PAY in the
currently attached and displayed data:
LAST PAY
■ To begin the display with the last occurrence of the string ABC in columns
1 through 50 of the data that is currently attached and displayed:
LAST 1 5 ABC
■ To begin the display with the last occurrence of a previously specified
string that appears in columns 30 through 60:
LAST 3 6
■ To reattach the currently attached job and begin the display with the last
occurrence of the word EXEC:
LAST JOB EXEC WORD
Because the string is qualified, a word such as EXECUTE will not match
the specified string. To find the last occurrence of EXECUTE, either spell
the word out in full or qualify the string, as in:
LAST JOB EXEC PREFIX
■ To reattach the active AWS and begin the display with the last occurrence
of the string DIVISION in the next 200 lines:
LAST AWS DIVISION 2
■ To reattach the previously attached data set object and begin the display
(by centering the line) with the last occurrence of a previously specified
string occurring in columns 60 through 90:
LAST DSN 6 9 CENTERED
■ To find the last occurrence of the string LIB in the currently attached data:
LAST /LIB/
The search string is bound by delimiters since it matches a keyword
operand of the command.
1.102.1 Syntax
LAST JOB Command
──LAST──┬─────┬──┬──────┬─────────────────────────────────────
└─Job─┘ ├─File─┤
├─Page─┤
└─Line─┘
Operand Description
With no operand, uses the value specified with the previously
executed FIRST, LAST, NEXT, or PREV primary command.
Job Causes the pending job to be reattached at the designated location.
File Repositions display to begin with the last file of the attached and
displayed job. (Abbreviate as FILE, FIL, or F.)
Page Repositions display to begin with the last page of the job output file
currently displayed. (Abbreviate as PAGE, PAG, or P.)
Line Repositions display to begin with the last line of the job output file
currently displayed. (Abbreviate as LINE, LIN, or L.)
1.102.2 Notes
■ L, an abbreviation of the LINE operand, may only be used when the JOB
(or J) operand is also specified.
■ The displayed job output is not modifiable.
1.102.4.1 Examples
■ To reattach the previously attached job and begin the display with the last
file:
LAST JOB FILE
■ To display the last file of job output that is attached and displayed:
LAST FILE
■ To display the last page of the job output file that is currently attached and
displayed:
LAST PAGE
1.103.1 Syntax
LAST Line Command
──LAST──┬──────────┬──────────────────────────────────────────
└─/string/─┘
Operand Description
/string/ Search string, which must not exceed the length of a terminal line
and must be bound by delimiters. If omitted, the string specified
with the previously executed EXCL, FIRST, INCL, LAST, NEXT, or
PREV primary or line command or the ATTACH primary command
is used.
1.103.2 Notes
Changing Search Column Boundaries:
■ By default, the search is restricted to the default or current column
boundaries. To change the column boundaries, use the modifiable STATUS
DISPLAY screen, the SET BOUNDS primary command or the BOUNDS
line command. This range remains in effect until explicitly changed.
1.103.3.1 Examples
> AWS(AAA.TAXREPT) SCRL FULL COLS 7 78
> .<.1....+....2....+....3....+....4....+....5..
...... ========================== T O P =============
LAST /PROCEDURE/ION DIVISION.
2 PROGRAM-ID. TAX-REPT.
3
4 ENVIRONMENT DIVISION.
> AWS(AAA.TAXREPT) SCRL FULL COLS 7 78
> .<.1....+....2....+....3....+....4....+....5..
...... ========================= T O P ==============
LAST IDENTIFICATION DIVISION.
2 PROGRAM-ID. TAX-REPT.
3
4 ENVIRONMENT DIVISION.
1.104 LIBRARY
Attaches the Library Facility menu to the terminal and, optionally, displays a
function-related panel.
1.104.1 Syntax
LIBRARY Command
──LIBrary──┬─────────┬──┬─────┬───────────────────────────────
└─charstr─┘ └─mem─┘
Operand Description
With no operand, displays the Library Facility menu.
charstr One or more library facility function codes. If omitted, the Library
Facility menu is displayed. If specified, it must be one of the
following:
A Causes the Library Facility menu to be displayed with the
attach code in the OPTION field.
C Causes the Copy Function Panel to be displayed.
D Causes the Delete Function Panel to be displayed.
I Causes the Library Facility menu to be displayed with the info
code in the OPTION field.
P Causes the Print Function Panel to be displayed.
R Causes the Rename Function Panel to be displayed.
X Causes the Library Facility menu to be displayed with the
termination code in the OPTION field.
mem Name of the library member to be involved in this operation. The
name may be qualified with wildcard characters.
1.104.2 Note
If invalid or insufficient information is specified, the Library Facility menu is
displayed.
1.104.3.1 Examples
1.105 LIST
Displays all or part of the active AWS or library member at the terminal.
1.105.1 Syntax
LIST Command
──LIST──┬───────────────────┬──┬──────────┬──┬─────────┬───────
└─mem─┬──────────┬──┘ └─p─┬───┬──┘ └─LITeral─┘
└─/string/─┘ └─q─┘
──┬─────────┬──┬─────┬─────────────────────────────────────────
└─context─┘ └─Mix─┘
Operand Description
With no operand, display the contents of the active AWS.
mem Name of the library member to be displayed.
/string/ Search string, which may not exceed 80 characters and must be
bound by delimiters. The display begins at the first line containing
the string and continues from that point to the end of the range.
p q Number of the first and last lines to be searched for the string or
the display is to begin. If only one number is specified, only that
line is searched/displayed.
LITeral Prevents the search string from being interpreted (for example,
X'C1' is to be treated as a character string; not as the hexadecimal
representation of the letter A). If omitted, the string is subject to
interpretation.
context Qualifies the search string within the data. If omitted, the search is
for the string exactly as entered. If specified, it must be one of the
following:
WORD Treat the string as a complete entity (it is preceded and
followed by a non-alphanumeric character). (Abbreviate
as WOR.)
BEGIN Treat the string as either beginning or being a complete
entity (it is preceded by a non-alphanumeric character
and followed by either an alphanumeric or
non-alphanumeric character). (Abbreviate as BEG.)
PREFIX Treat the string as beginning an entity (it is preceded by
a non-alphanumeric character and followed by an
alphanumeric character). (Abbreviate as PRE.)
1.105.2 Notes
Changing Search Column Boundaries:
■ By default, the entire line is searched for the specified string. The search
can be limited to specific columns using the SET BOUNDS primary
command or, if the AWS is attached, the BOUNDS line command. This
range remains in effect until changed by another SET BOUNDS primary
command or BOUNDS line command.
Restriction:
■ At 3270-type terminals, LISTed data is not modifiable. Also, pressing the
Enter key or a PF key assigned a scroll function causes the data to be
scrolled forward.
■ To modify the data and be able to use the PF key scroll functions, the data
should be ATTACHed.
1.105.4.1 Examples
1.106 LOOK
Allows the commands associated with Unicenter CA-Look to be used from a
Advantage CA-Roscoe terminal.
1.106.1 Syntax
LOOK Command
──LOOK──┬────┬──┬─────────┬───────────────────────────────────
└─-F─┘ └─charstr─┘
Operand Description
With no operand, prompts the user for input.
-F Causes the result of the designated command to be written to the
active AWS.
charstr Any LOOK directive or Unicenter CA-Look command. The
directive or command is executed and the appropriate information
is displayed.
If omitted, LOOK prompts for a directive/command, executes it,
displays the appropriate information and then prompts for the next
directive/command.
1.106.2 Notes
Restrictions:
■ LOOK is a Monitor command. Site management has the option of
restricting its use.
■ If its use is not restricted, see Appendix B for the extended syntax that
permits the input to be read from a library member.
■ This command allows Advantage CA-Roscoe users to access Unicenter
CA-Look Unicenter CA-Look can be used for realtime system performance
measurement and problem diagnosis. All Unicenter CA-Look facilities are
available to Advantage CA-Roscoe users.
NOTERM
look command
END
1.107 LOWCASE
Translates the characters within one or more lines of the active AWS to their
corresponding lowercase characters.
1.107.1 Syntax
LOWCASE Command
──LOWCASE── p──┬───┬──┬────────────┬──────────────────────────
└─q─┘ └─BOUNDS s e─┘
Operand Description
p q Number of the first and last lines to be translated. If only one
number is specified, only that line is translated.
BOUNDS
Starting and ending column boundaries. (Abbreviate as BNDS.)
If omitted, the column boundaries that are currently in effect are
used (alphabetic characters found outside of those boundaries are
not translated).
1.107.2 Notes
■ LOWCASE may be abbreviated as LC.
■ If a character does not have a corresponding lowercase character, it is not
translated.
Column Boundaries:
■ Alphabetic characters that are outside of the current or default column
boundaries are not translated. (By default, column boundaries extend
from column 1 through 80.)
■ To change the boundaries for:
A single execution: Specify the BOUNDS operand of this command.
After the command executes, the previously
established or default range is restored.
The terminal session: Use the SET BOUNDS primary command or the
BOUNDS line command. The range remains in
effect until changed by another SET BOUNDS
primary command or BOUNDS line command.
1.108.1 Syntax
Lowercase Line Commands
──┬─LC─┬───┬──┬───────────────────────────────────────────────
│ └─v─┘ │
├─LCC───────┤
├─LCB───────┤
└─LCT───────┘
Command Description
LC Translate one line. To translate multiple lines, specify:
v Number of lines to be translated.
LCC Translate block of lines. LCC must be entered on the first and last
line of block to be translated. The range of lines does not have to be
displayed in its entirety on one screen. Scrolling, as well as other
line commands, can be performed while a line command is
pending.
LCB Translate all lines from the line containing the command through
the last line of the active AWS.
LCT Translate all lines from the first line of the active AWS through the
line containing the command.
1.108.2 Notes
■ If a character does not have a corresponding lowercase character, it is not
translated.
Column Boundaries:
■ Alphabetic characters that are outside of the current or default left or right
column boundaries are not translated. (By default, the column boundaries
extend from column 1 through 80.)
■ To change the boundaries, use the modifiable STATUS DISPLAY screen,
the SET BOUNDS primary command or the BOUNDS line command. The
range remains in effect until changed by another SET BOUNDS primary
command or BOUNDS line command.
1.108.3.1 Example
> AWS(AAA.NOTES) SCRL FULL COLS 7 78
> .<.1....+....2....+....3....+....4....+....5..
...... ============================== T O P =========
1 TO: STAFF
2
LCB3 THIS REPORT PROVIDES THE INFORMATION
4 REQUESTED AT OUR LAST MEETING.
> AWS(AAA.NOTES) SCRL FULL COLS 7 78
> .<.1....+....2....+....3....+....4....+....5..
...... ============================== T O P =========
1 TO: STAFF
2
3 this report provides the information
4 requested at our last meeting.
■ Assuming the AWS contains only the lines shown above, the same result
could be achieved by typing:
LC2 in the sequence number field of line 300, or
LCC in the sequence number field of lines 300 and 400.
1.109 LSHIFT
Shifts left all or a range of lines in the active AWS.
1.109.1 Syntax
LSHIFT Command
──LSHift── v──┬──────────┬──┬────────────┬──┬──────────┬──────
└─p─┬───┬──┘ └─BOUNDS s e─┘ └─TEXTStop─┘
└─q─┘
Operand Description
v Number of positions the line is shifted to the left.
p q Number of the first and last line to be shifted.
BOUNDS Number of the first and last column to be affected by the shift
operation. (Abbreviate as BNDS.)
TEXTStop Designates that shifting stops for any line involved in the
operation if data would be shifted to the left of the specified or
default column boundary.
If omitted, data shifted to the left of the specified or default
column boundary is lost.
1.109.2 Notes
Column Boundaries:
■ Data that is outside of the current or default column boundaries is not
shifted. (By default, the column boundaries extend from column 1 through
80.)
■ To change the boundaries for:
A single execution Specify the BOUNDS operand of this command.
After the command executes, the previously
established or default range is restored.
The terminal session Use the SET BOUNDS primary command or the
BOUNDS line command. The range remains in
effect until changed by another SET BOUNDS
primary command or BOUNDS line command.
1.109.4.1 Examples
■ To shift the contents of every line in the active AWS ten spaces to the left
(inserting blanks in the first 10 spaces):
LSHIFT 1
■ To shift the contents of lines 100 through 500 five spaces to the left:
LSHIFT 5 1 5
■ To shift the contents of columns 50 through 70 two spaces to the left:
LSHIFT 2 BOUNDS 5 7
■ To shift the contents of columns 50 through 70 ten spaces to the left as
long as this does not cause any data to be lost:
LSHIFT 1 BOUNDS 5 7 TEXTSTOP
If TEXTSTOP is omitted, any data shifted beyond column 50 is lost. With
TEXTSTOP, shifting stops when data is detected in column 50.
1.110 MAIL
Permits CA-eMAIL+ to be used during a Advantage CA-Roscoe terminal
session.
1.110.1 Syntax
MAIL Command
──MAIl────────────────────────────────────────────────────────
1.110.2 Notes
Start CA-eMAIL+ Session:
■ At sites using CA-eMAIL+, executing the MAIL command causes the
CA-eMAIL+ frontispiece to be displayed. (CA-eMAIL+ is an electronic
system for sending, receiving, storing, and managing correspondence.) All
facilities of CA-eMAIL+ are available to the Advantage CA-Roscoe users.
Restriction:
■ The MAIL command cannot be issued when the Advantage CA-Roscoe
screen has been split and both presentation areas are displayed.
■ See the descriptions of the :commands for information about specific screen
escape actions that can be performed during a CA-eMAIL+ session.
1.111.1 Syntax
MASK Command
──MASK──┬─────────┬───────────────────────────────────────────
└─charstr─┘
Operand Description
With no operand, eliminates a previously defined mask.
charstr Mask definition, which must not exceed the length of a terminal
line.
1.111.2 Notes
Defining a Mask:
■ No mask definition is in effect when the terminal user signs on.
■ To define a mask, type MASK in the sequence number field of the active
AWS. Position to the data portion of the same line and type the mask. It
must be the only data on the line. (The original contents of the line will be
redisplayed after the command is executed.
■ Once defined, the mask remains in effect until replaced by another
definition or is eliminated.
■ To eliminate a mask definition, either enter the MASK line command with
no definition or reattach that AWS.
Inserting a Mask:
■ Use the IM line command to insert the mask one or more times at a
specific location.
■ Use the OM, OMB, and OMT to overly lay one or more lines with the
mask.
1.111.3.1 Examples
See the Input Line Commands for an example of both the MASK and IM line
commands.
See the Overlay Mask Line Commands for an example of overlaying multiple
lines with a mask.
1.112 MERGE
Merges library members into the active AWS.
1.112.1 Syntax
MERGE Command
┌──
───────┐
┬─────┬┴───────────────────────────────────────
──MERGE──mem───
└─mem─┘
Operand Description
mem Name of the library member to be merged. A maximum of 21
library members can be specified, provided that the command fits
on a single line.
1.112.2 Notes
■ The contents of the active AWS are deleted before the merge occurs.
■ The members are merged by their line numbers. If one of the designated
members contains a line number that already exists within the AWS, the
line associated with the fetched member replaces the line already in the
AWS.
■ The library members are fetched in the order specified. The AWS assumes
the attributes of the last library member named.
If one of the members is not found, execution terminates. Any members
already fetched into the AWS remain there.
■ If only one member name is specified, the result is the same as a FETCH
command.
1.112.4.1 Examples
■ To merge the contents of three library members within the active AWS:
MERGE ABC DEF GHI
where the members contain:
ABC DEF GHI
9 xxxxx 1 aaaaa 3 %%%%%%%%%
91 yyyyy 2 bbbbb 92 zzzzzzzzz
3 ccccc
After the command is executed, the AWS will contain:
1 aaaaa
2 bbbbb
3 %%%%%%%%%
9 xxxxx
91 yyyyy
92 zzzzzzzzz
1.113 MESSAGE
Sends a message to the operator console.
1.113.1 Syntax
MESSAGE Command
──MESSAGE──string─────────────────────────────────────────────
Operand Description
string Message to be sent to the operator. Delimiters are not required.
1.113.2 Notes
Restrictions:
■ Site management has the option of disabling the use of this command.
■ If it is not disabled, the message is immediately sent to the operator
console.
Message Length:
■ The maximum length of a message is 90 characters minus the user's
sign-on key and a space. (The message received by the operator is prefixed
with the user's sign-on key.) To illustrate, if a user's sign-on key is 10
characters, the text of the message cannot exceed 79 characters.
1.114 MOVE
Moves one or more lines within the active AWS from one location to another.
1.114.1 Syntax
MOVE Command
──Move── p──┬───┬── o─────────────────────────────────────────
└─q─┘
Operand Description
p q Number of the first and last lines to be moved. If only one number
is specified, only that line is affected.
o Destination of the operation, specified as:
v A line number.
* After the line at which the AWS pointer is positioned.
T Before the first AWS line.
B or ,, After the last AWS line.
1.114.2 Notes
■ The move operation is destructive (lines are deleted from their original
location when transferred to their new location.
■ MOVE can be specified in the following ways:
MOVE, MOV, M.
1.114.4.1 Examples
1.115.1 Syntax
Move Line Commands
──┬─M─┬───┬──┬────────────────────────────────────────────────
│ └─v─┘ │
├─MM───────┤
├─MB───────┤
└─MT───────┘
Command Description
M Move one line. To move multiple lines, specify:
v Number of lines to be moved.
MM Move block of lines. MM must be entered on the first and last line
of the block to be moved. The range of lines to be moved does not
have to be displayed in it entirety on one screen. Scrolling and
other line commands can be performed while a line command is
pending.
MB Move all lines from the line containing the command through the
last line of the active AWS.
MT Move all lines from the first line of the active AWS through the line
containing the command.
1.115.2 Notes
■ The move operation is destructive (lines are deleted from their original
location.)
1.115.3.1 Examples
> AWS(AAA.TAXREPT) SCRL FULL COLS 7 78
> .<.1....+....2....+....3....+....4....+....5..
...... ============================== T O P =========
M21 IDENTIFICATION DIVISION.
2 PROGRAM-ID. TAX-REPT.
3
A4 ENVIRONMENT DIVISION.
■ To move all lines from line 300 through the end of the AWS to before line
100:
> AWS(AAA.SHIPRATE) SCRL FULL COLS 7 78
> .<.1....+....2....+....3....+....4....+....5..
...... ============================== T O P =========
B1 IDENTIFICATION DIVISION.
2 PROGRAM-ID. TAX-REPT.
MB3
4 ENVIRONMENT DIVISION.
1.116 NEXT
Searches the attached data and begins the display with either:
■ The next occurrence of a particular character string or
■ The next occurrence of a specific location within job output.
Both uses of the NEXT command are discussed individually on the following
pages.
1.117 NEXT
To begin the display with the next line containing a particular character string.
1.117.1 Syntax
NEXT Command
──NEXT──┬───────┬──┬──────────┬──┬───────────────┬─────────────
└─scope─┘ └──┬───┬─e─┘ └─string─┬───┬──┘
└─s─┘ └─n─┘
──┬──────────┬──┬─────────┬──┬─────────┬──┬─────┬──────────────
└─position─┘ └─LITeral─┘ └─context─┘ └─Mix─┘
Operand Description
With no operand, locates and displays the next occurrence of the
previously specified string in the currently attached data.
scope Qualifies the data to be affected. If omitted, the currently attached
data is affected. If specified, it must be one of the following:
AWS Causes the active AWS to be reattached and searched for
the specified string. (Abbreviate as A.)
DSN Causes the pending data set object to be reattached and
searched for the specified string. (Abbreviate as D.)
JOB Causes the pending job output file to be reattached and
searched for the specified string. (Abbreviate as J.)
LIB Causes the pending library member or Selection List to
be reattached and searched for the specified string.
(Abbreviate as L.)
s e Number of the starting and ending columns to be searched for
the string. If only one number is specified, it is assumed to be the
ending column. The ending column cannot exceed: 1) 255, or 2)
the record length of the data set object.
string Search string, which cannot exceed 80 characters in length. If
omitted, the string specified with the previously executed EXCL,
FIRST, INCL, LAST, NEXT, or PREV primary or line command or
the ATTACH primary command is used.
1.117.2 Notes
Changing Search Column Boundaries:
■ By default, the search is restricted to the default or current column
boundaries. To change the column boundaries for:
A single operation: Specify the s and e operands with the command
(for example, LAST 20 30 ABC). After the
command executes, the previously established or
default range is restored.
To limit the operation to a single column, specify s
equal to e.
The terminal session: Use the modifiable STATUS DISPLAY screen, the
SET BOUNDS primary command, or, if the AWS
is attached, the BOUNDS line command. This
range remains in effect until explicitly changed.
1.117.4.1 Examples
■ To begin the display with the next occurrence of the string PAY in the
currently attached and displayed data:
NEXT PAY
■ To begin the display with the next occurrence of the string ABC in
columns 1 through 50 of the data that is currently attached and displayed:
NEXT 1 5 ABC
■ To begin the display with the next occurrence of a previously specified
string that appears in columns 30 through 60:
NEXT 3 6
■ To reattach the currently attached job and begin the display with the next
occurrence of the word EXEC:
NEXT JOB EXEC WORD
Because the string is qualified, a word such as EXECUTE will not match
the specified string. To find the next occurrence of EXECUTE, either spell
the word out in full or qualify the string, as in:
NEXT JOB EXEC PREFIX
■ To reattach the active AWS and begin the display with the next occurrence
of the string DIVISION in the next 200 lines:
NEXT AWS DIVISION 2
■ To reattach the previously attached data set object and begin the display
(by centering the line) with the next occurrence of a previously specified
string occurring in columns 60 through 90:
NEXT DSN 6 9 CENTERED
■ To find the next occurrence of the string LIB in the currently attached data:
NEXT /LIB/
The search string is bound by delimiters since it matches a keyword
operand of the command.
1.118.1 Syntax
NEXT JOB Command
──NEXT──┬─────┬──┬──────┬─────────────────────────────────────
└─Job─┘ ├─File─┤
├─Page─┤
└─Line─┘
Operand Description
With no operand, uses the value specified with the previously
executed FIRST, LAST, NEXT, or PREV primary command.
Job Causes the pending job to be reattached at the designated location.
The Job operand must be used if the display is not active (the job is
not displayed).
File Repositions display to begin with the first file of the attached and
displayed job. (Abbreviate as FILE, FIL, or F.)
Page Repositions display to begin with the first page of the job output
file currently displayed. (Abbreviate as PAGE, PAG, or P.)
Line Repositions display to begin with the first line of the job output file
currently displayed. (Abbreviate as LINE, LIN, or L.)
1.118.2 Notes
■ L, an abbreviation of the LINE operand, may only be used when the JOB
(or J) operand is also specified.
■ The displayed job output is not modifiable.
1.118.4.1 Examples
■ To reattach the previously attached job and begin the display with the next
file:
NEXT JOB FILE
■ To display the next file of job output that is attached and displayed:
NEXT FILE
■ To display the next page of the job output file that is currently attached
and displayed:
NEXT PAGE
1.119.1 Syntax
NEXT Line Command
──NEXT──┬──────────┬──────────────────────────────────────────
└─/string/─┘
Operand Description
/string/ Search string, which must not exceed the length of a terminal line
and must be bound by delimiters. If omitted, the string specified
with the previously executed EXCL, FIRST, INCL, LAST, NEXT, or
PREV primary or line command or the ATTACH primary command
is used.
1.119.2 Notes
The search for the next occurrence begins with the line following the line
containing the command.
1.119.3.1 Examples
> AWS(AAA.TAXREPT) SCRL FULL COLS 7 78
> .<.1....+....2....+....3....+....4....+....5..
...... ========================== T O P =============
NEXT /PROCEDURE/ION DIVISION.
2 PROGRAM-ID. TAX-REPT.
3
4 ENVIRONMENT DIVISION.
> AWS(AAA.TAXREPT) SCRL FULL COLS 7 78
> .<.1....+....2....+....3....+....4....+....5..
...... ========================= T O P ==============
NEXT IDENTIFICATION DIVISION.
2 PROGRAM-ID. TAX-REPT.
3
4 ENVIRONMENT DIVISION.
1.120 NOSEQ
Sets the sequence number attribute for the active AWS to suppress Advantage
CA-Roscoe-maintained sequence numbers from being included when the AWS
contents is PRINTed or SUBMITted.
1.120.1 Syntax
NOSEQ Command
──NOSEQ───────────────────────────────────────────────────────
1.120.2 Note
■ Once established, NOSEQ remains in effect until specifically changed by
the SEQ command or overridden by the sequence number attribute of a
fetched or saved library member.
1.121 NOTE
Assigns a name to a specific line in the attached data.
1.121.1 Syntax
NOTE Command
──NOTE──┬───────────┬──charstr────────────────────────────────
├─scope─────┤
└──┬────┬──┘
├─+v─┤
└─-v─┘
Operand Description
scope Qualifies the data to be affected. If omitted, the currently attached
data is assumed. If specified, it must be one of the following:
DSN Causes the sequential data set, PDS member or AllFusion
CA-Librarian module to be reattached and positioned to the
designated line. (Abbreviate as D.)
JOB Causes the job to be reattached and positioned to the
designated line. (Abbreviate as J.)
LIB Causes the library member to be reattached and positioned to
the designated line. (Abbreviate as L.)
* Location of the line that is to be named. If omitted or specified
without qualification, the name is assigned to the first displayed
line. The location may be qualified by using:
+v First displayed line plus v lines.
-v First displayed line minus v lines.
charstr One-to six-character name that is to be assigned to the designated
line.
1.121.2 Notes
Data Set Objects:
■ The names are retained as long as the sequential data set, PDS member or
AllFusion CA-Librarian module is attached. They are implicitly dropped
when the data is detached.
Library Member:
■ The names are retained as long as the member is attached. They are
implicitly dropped when the member is detached.
1.121.3.1 Examples
1.122.1 Syntax
Note Line Commands
──┬─┬─NA─┬───┬──┬─┬───────────────────────────────────────────
│ │ └─v─┘ │ │
│ └─NNA───────┘ │
├─┬─NB─┬───┬──┬─┤
│ │ └─v─┘ │ │
│ └─NNB───────┘ │
├─┬─NC─┬───┬──┬─┤
│ │ └─v─┘ │ │
│ └─NNC───────┘ │
├─┬─NF─┬───┬──┬─┤
│ │ └─v─┘ │ │
│ └─NNF───────┘ │
├─┬─NJ─┬───┬──┬─┤
│ │ └─v─┘ │ │
│ └─NNJ───────┘ │
├─┬─NM─┬───┬──┬─┤
│ │ └─v─┘ │ │
│ └─NNM───────┘ │
├─┬─NP─┬───┬──┬─┤
│ │ └─v─┘ │ │
│ └─NNP───────┘ │
└─┬─NR─┬───┬──┬─┘
│ └─v─┘ │
└─NNR───────┘
Command Description
NA Create an Assembler comment box containing one or v number of
lines.
NB Create a BASIC comment box containing one or v number of lines.
NC Create a COBOL comment box containing one or v number of lines.
NF Create a FORTRAN comment box containing one or v number of
lines.
NJ Create a JCL comment box containing one or v number of lines.
NM Create a macros comment box containing one or v number of lines.
NP Create a PL/I comment box containing one or v number of lines.
NR Create an RPF comment box containing one or v number of lines.
NNA Block form of comment box for Assembler.
NNB Block form of comment box for BASIC.
1.122.2 Notes
Comment Box Format:
■ A comment box consists of a top line, one or more comment lines and a
bottom line. As illustrated in the example, the top and bottom lines contain
dashes and are inserted before and after the designated comments.
1.122.2.1 Example
■ To generate a COBOL comment box around lines 100 and 200, enter:
> AWS(AAA.SHIPRATE) SCRL FULL COLS 7 78
> ...1....+....2....+....3....+....4....+....5..
...... ============================== T O P =========
NNC1 THIS PROGRAM PRINTS AN ESTIMATED
NNC2 SHIPPING COST REPORT.
3 IDENTIFICATION DIVISION.
> AWS(AAA.SHIPRATE) SCRL FULL COLS 7 78
> ...1....+....2....+....3....+....4....+....5..
...... ============================== T O P =========
1 ---------------------------------------------
1 THIS PROGRAM PRINTS AN ESTIMATED
2 SHIPPING COST REPORT.
21 ---------------------------------------------
3 IDENTIFICATION DIVISION.
1.123 NOTRACE
Disables the trace facility.
1.123.1 Syntax
NOTRACE Command
──NOTRACE──┬──────┬───────────────────────────────────────────
└─Edit─┘
Operand Description
Edit Identifies the trace operation being performed.
1.123.2 Notes
■ NOTRACE disables the display of lines changed by an EDIT or FILL
command.
■ To enable the trace facility, use the TRACE EDIT command.
1.124 OFF
Terminates a Advantage CA-Roscoe session.
1.124.1 Syntax
OFF Command
──OFF──┬────────────────────────┬─────────────────────────────
└─vtamid──┬────────────┬─┘
├─charstr1───┤
└─/charstr2/─┘
Operand Description
With no operand, terminates the user's session.
vtamid (VTAM only.) Site-defined VTAM application ID. If a Advantage
CA-Roscoe VTAM applid is specified, the Advantage CA-Roscoe
sign-on screen is displayed, bypassing the VTAM screen.
charstr1 An undelimited string which is specified in the form:
key</pass</code/>>
key User's sign-on key or an asterisk (*). If an asterisk is
specified, the sign-on key of the user currently signed on
is reused. If either a sign-on key or asterisk is specified,
both the VTAM screen and Advantage CA-Roscoe
sign-on screen are bypassed.
pass User's password or an asterisk (*). If an asterisk is
specified, the password of the user currently signed on is
reused.
code User's group code or an asterisk (*). If an asterisk is
specified, the group code of the user currently signed on
is reused.
/charstr2/ Any string of characters that is bound by delimiters. This operand
should be used when passing information to a VTAM application
that is not assigned to Advantage CA-Roscoe.
1.124.2 Notes
Using OFF:
■ During split-screen processing, OFF may be entered in the Command Area
of either screen.
1.124.3.1 Examples
1.125 OFFON
Terminates a Advantage CA-Roscoe session and displays the Advantage
CA-Roscoe sign-on screen.
1.125.1 Syntax
OFFON Command
──OFFON──┬───────────────────────────┬────────────────────────
└─key─┬──────────────────┬──┘
└─/pass─┬───────┬──┘
└─/code─┘
Operand Description
With no operand, terminates the user's session and displays the
Advantage CA-Roscoe sign-on screen.
key User's sign-on key or an asterisk (*). If an asterisk is specified, the
sign-on key of the user currently signed on is reused. If either a
sign-on key or asterisk is specified, both the VTAM screen and
Advantage CA-Roscoe sign-on screen are bypassed.
pass User's password or an asterisk (*). If an asterisk is specified, the
password of the user currently signed on is reused.
code User's group code or an asterisk (*). If an asterisk is specified, the
group code of the user currently signed on is reused.
1.125.2 Notes
Using OFFON:
■ During split-screen processing, OFFON may be entered in the Command
Area of either screen.
1.126 OMIT
Displays only those lines of the active AWS that do not contain a specific
string.
1.126.1 Syntax
O<IT Command
──Omit──┬───┬──┬──────────┬──┬──────────────────┬──────────────
└─F─┘ └──┬───┬─e─┘ └─/string/p─┬───┬──┘
└─s─┘ └─q─┘
──┬─────────┬──┬─────────┬──┬─────┬────────────────────────────
└─LITeral─┘ └─context─┘ └─Mix─┘
Operand Description
F Terminates OMIT after displaying the first line that does not
contain the specified string.
s e Number of the starting and ending columns to be searched for the
string. If only one number is specified, it is assumed to be the
ending column. The ending column cannot exceed 255.
/string/ Search string, which may not exceed 80 characters in length and
must be bound by delimiters.
p q Number of the first and last lines to be searched for the string. If
only one number is specified, only that line is searched.
LITeral Prevents the search string from being interpreted (for example,
X'C1' is to be treated as a character string; not as the hexadecimal
representation of the letter A). If omitted, the string is subject to
interpretation.
context Qualifies the search string within the data. If omitted, the search is
for the string exactly as entered. If specified, it must be one of the
following:
WORD Treat the string as a complete entity (it is preceded and
followed by a non-alphanumeric character.) (Abbreviate
as WOR.)
BEGIN Treat the string as either beginning or being a complete
entity (it is preceded by a non-alphanumeric character
and followed by either an alphanumeric or
non-alphanumeric character.) (Abbreviate as BEG.)
PREFIX Treat the string as beginning an entity (it is preceded by
a non-alphanumeric character and followed by an
alphanumeric character.) (Abbreviate as PRE.)
1.126.2 Notes
■ At least one operand must be specified; F cannot be the only operand.
1.126.4.1 Examples
1.127.1 Syntax
Overlay Mask Line Commands
──┬─OM─┬───┬──┬───────────────────────────────────────────────
│ └─v─┘ │
├─OMB───────┤
└─OMT───────┘
Command Description
OM Overlays one line with a pre-defined mask. To overlay multiple
lines, specify:
v Number of lines to be overlaid.
OMB Overlays all lines from the line containing the command through
the last line of the active AWS.
OMT Overlays all lines from the first line of the active AWS through the
line containing the command.
1.127.2 Notes
Overlaying Line(s):
■ Only blank characters in the target destination line(s) are overlaid with the
corresponding characters from the mask.
■ OM, OMB and OMT are ignored if a mask is not defined. (Use the MASK
line command to define a mask.)
■ Use appropriate destination line commands to overlay one or more lines
with copied/moved data.
1.127.3.1 Examples
■ To define a mask on line 100 and then to overlay the blank characters on
lines 200, 300 and 400 with that mask, enter:
> AWS(AAA.TAXREPT) SCRL FULL COLS 7 78
> .<.1....+....2....+....3....+....4....+..>
...... ================================ T O P ===
MASK PIC X( ).
OM32 2 FIELD-NAME-1
3 2 FIELD-NAME-2
4 2 FIELD-NAME-3-VERY-LONG
> AWS(AAA.TAXREPT) SCRL FULL COLS 7 78
> .<.1....+....2....+....3....+....4....+.
...... ================================ T O P =
1 1 DL-DETAIL-LINE.
2 2 FIELD-NAME-1 PIC X( ).
3 2 FIELD-NAME-2 PIC X( ).
4 2 FIELD-NAME-VERY-LONGIC X( ).
■ Notice line 400. Since the mask only overlays blank characters, only a
portion of the mask has been placed on that line.
1.128 ORDER
Reorders a selection list according to user specified criteria. The following can
be ordered:
■ The records of an AWS
■ A Library Selection List
Both uses of the ORDER command are described individually on the following
pages.
1.129.1 Syntax
ORDER AWS Command
──ORDER──┬─────┬──┬─────────┬──┬────┬──Cols─┬───┬─e────────────
└─AWS─┘ └─awsname─┘ └─BY─┘ └─s─┘
┌─ASCending──┐
──┼────────────┼──┬──────────────────────┬─────────────────────
└─DEScending─┘ ├─AND──────────────────┤
│ ┌──
─────────┐ │
┬───────┬┴──┤
├─& order──
│ └─order─┘ │
└─@────────────────────┘
Operand Description
AWS Causes records in the currently active AWS to be reordered.
awsname Name of the AWS to be reordered.
BY Optional extra-word, permitted for continuity.
Cols Starting (s) and ending (e) column boundaries for the sort
criteria. If s is omitted, the default is 1.
Column can be specified as COLS, COL, or C.
ASCending Reorders specified field(s) in ascending sequence.
DEScending Reorders specified field(s) in descending sequence.
AND, &, @ Permits multiple sort criteria to be specified. Required if
using multiple COL sorting boundaries.
A maximum of six order criteria are permitted.
1.129.2 Notes
Default:
■ ASCending is the default sequence for reordering records in the AWS.
Usage:
■ The ORDER command can be specified as ORD or ORDER.
1.129.2.1 Example
>
>AWS() SCRL FULL COLS 1 72 A<ROS1>
><...+....1....+....2....+....3....+....4....+....5....+....6....+....7..
=================================== T O P ==============================
ABLE 19 yes
BAKER 32 yes
FOX 29 no
ABLE 3 yes
CHARLIE 27 no
DOG 18 no
ABLE 25 no
CHARLIE 23 yes
================================= B O T T O M ==========================
Type:
ORDER AWS BY COL 1 7 ASC AND BY COL 15 16 DES
And get the following results:
>
>AWS() SCRL FULL COLS 1 72 A<ROS1>
><...+....1....+....2....+....3....+....4....+....5....+....6....+....7..
=================================== T O P ==============================
ABLE 3 yes
ABLE 25 no
ABLE 19 yes
BAKER 32 yes
CHARLIE 27 no
CHARLIE 23 yes
DOG 18 no
FOX 29 no
================================= B O T T O M ==========================
Note: Because ASC is the default sort sequence, and the word 'BY' is an extra
word, the following command would produce the same results as
above:
ORDER AWS COL 1 7 @ COL 15 16 DES
| Permits the user to specify the order lists in the data set facility.
|1.130.1 Syntax
|
| ORDER DSN Command
| ──ORDER DSN──┬──────┬──┬─────────┬──fieldname──────────────────
| └─list─┘ ├─BY──────┤
| └─DEFAULT─┘
| ──┬────────────┬──COL─┬───┬─e──┬──────────────────────┬────────
| ├─ASCending──┤ └─s─┘ ├─AND──────────────────┤
| └─DEScending─┘ │ ┌──
─────────┐ │
|
┬───────┬┴──┤
├─& order──
| │ └─order─┘ │
| └─@────────────────────┘
| Note: If no operands are specified, then the DFLT field of the current
| selection list is reordered.
| Operand Description
| DSN Designates that the Data Set Selection List is to be reordered and
| attached if it is not already current.
| list Designates the selection list type to be reordered. If omitted, the
| current selection list is reordered.
| VOLLIST Volume selection list.
| CATLIST Cataloged data set selection list.
| PDSLIST Partitioned data set selection list.
| LBRLIST AllFusion CA-Librarian module selection list.
| LODLIST Load member selection list.
| VTOLIST VTOC data set selection list.
| BY Optional extra-word, permitted for continuity.
| DFLT Designates that the selection list is to be ordered by the default
| sort criteria.
| List Default
| CATLIST Data-set-name
| PDSLIST MEMber
| LBRLIST MEMber
| LODLIST MEMber
| VTOLIST Data-set name
| For VOLLIST:
| VOLume Field containing volume serial name. Volume
| may be specified in the following ways:
| VOLUME, VOL.
| UNIT Field containing the volume unit address.
| DEVTYPE Field containing the device type.
| CONTG-CYL Field containing the number of contiguous
| cylinders. Contiguous cylinders may be
| specified in the following ways: CONTG-CYL,
| CYL-CONTG.
| AVAIL-CYL Field containing the number of available
| cylinders. Available cylinders may be specified in
| the following ways: AVAIL-CYL, CYL-AVAIL.
| CONTG-TRK Field containing the number of contiguous
| tracks. Contiguous tracks may be specified in
| the following ways: CONTG-TRK, TRK-CONTG.
| AVAIL-TRK Field containing the number of available tracks.
| Available tracks may be specified in the
| following ways: AVAIL-TRK, TRK-AVAIL.
| AV-XT Field containing the average extent count.
| TOTAL-TRK Field containing the total number of tracks.
| Total number of tracks may be specified in the
| following ways: TOTAL-TRK, TRK-TOTAL.
| USED-TRK Field containing the number of used tracks.
| Used tracks may be specified in the following
| ways: USED-TRK, TRK-USED.
| %USED Field containing the percent of used space.
| MAXBLK Field containing the maximum block size.
| TRKSIZE Field containing the track size.
| For LBRLIST:
| MEMber Field containing the names of the AllFusion
| CA-Librarian modules. Member may be
| specified in the following ways: MEMBER, MEM.
| PaSsWorD Field containing the AllFusion CA-Librarian
| module password. Password may be specified in
| the following ways: PASSWORD, PSWD.
| Last-MoDified Field containing the last modified date and time.
| Last modified may be specified in the following
| ways: LAST-MODIFIED, LMD.
| DESCription Field containing the AllFusion CA-Librarian
| module description. Description may be
| specified in the following ways: DESCRIPTION,
| DESC.
| CREATEd Field containing the creation date. Created may
| be specified in the following ways: CREATION,
| CREATED, CREATE.
| ProGraMmeR Field containing the AllFusion CA-Librarian
| module programmer name. Programmer name
| may be specified in the following ways:
| PROGRAMMER, PGMR.
| LANGuage Field containing the AllFusion CA-Librarian
| module language. Language may be specified in
| the following ways: LANGUAGE, LANG.
| SSTAT Field containing the AllFusion CA-Librarian
| module status.
| BLocKS Field containing the number of blocks. Blocks
| may be specified in the following ways:
| BLOCKS, BLKS.
| RECordS Field containing the number of records. Records
| may be specified in the following ways:
| RECORDS, RECS.
| For LODLIST:
| MEMber Field containing the names of the load library
| members. Member may be specified in the
| following ways: MEMBER, MEM.
| ATTRibutes Field containing the load library member
| attributes. Attributes may be specified in the
| following ways: ATTRIBUTES, ATTR.
| DEScending
| Reorders specified field(s) in descending sequence.
| COL Starting (s) and ending (e) column boundaries for the reorder
| field. Enables sorting within fields. Column counts start at the
| beginning of a field and end at the end of that same field. If 's' is
| omitted, the default is 1.
| AND, &, @ Optional extra-words, permitted for continuity when reordering
| multiple sort criteria.
|1.130.2 Notes
| ■ A maximum of six order criteria are permitted.
| ■ If the Data Set Facility is not active, or the list type requested is not active,
| the ORDER command is ineffective. The user receives an appropriate error
| message.
| ■ If the Data Set Facility is not displayed and the user is in another facility,
| issuing the ORDER command suspends the current facility, and the Data
| set facility is made current.
|1.130.3 Usage
| ■ The ORDER command can be specified as either: ORD or ORDER.
| ■ When specifying COL, it must follow the field-name that contains the
| columns to be reordered (for example, ORDER DSN CATLIST VOL COL 1
| 3 DES AND DEV to order a catalog selection list to sort by the first three
| characters of the VOLume name in descending order, and by the DEVice).
| To use the '&' within the ORDER command, the command delimiter must be
| set another character.
1.131.1 Syntax
ORDER LIB Command
──ORDER──┬─────┬──┬────┬──fieldname──┬────────────┬────────────
└─LIB─┘ └─BY─┘ ├─ASCending──┤
└─DEScending─┘
──COL─┬───┬─e──┬──────────────────────┬────────────────────────
└─s─┘ ├─AND──────────────────┤
│ ┌──
─────────┐ │
┬───────┬┴──┤
├─& order──
│ └─order─┘ │
└─@────────────────────┘
Operand Description
With no operands, reorders the library MEMBER field.
LIB Designates that the Library Selection List is to be reordered and
attached if it is not already current.
BY Optional extra-word, permitted for continuity.
field-name Designates the field to be reordered. If omitted, the Member field
will be reordered. If specified, it must be one of the following:
MEMber Field containing the names of the library
members.
Member can be specified as MEMBER, or MEM.
DESCription Field containing description of members, if
available.
Description can be specified as DESCRIPTION or
DESC.
LINes Field containing the number of lines each
member contains. Lines can be specified as
LINES, LINE, or LIN.
ATR Field containing member access attributes.
Access attribute can be specified as ATTRIBUTES,
ATTRIBUTE, ATTR, or ATR
SEQno Field containing member sequence number
attribute.
Sequence number attribute can be specified as
SEQATR, SEQNO, or SEQ.
1.131.2 Notes
Restrictions:
■ A maximum of six order criteria are permitted.
■ If the Library facility is not active, the ORDER command is ineffective. The
user receives an appropriate error message.
■ If the Library facility is not displayed and the user is in another facility,
issuing the ORDER command suspends the current facility, and the
Library facility is made current.
Usage:
■ The ORDER command can be specified as ORD or ORDER.
■ When specifying COL, it must follow the field-name that contains the
columns to be reordered (for example, ORDER LIB CREATE COL 7 8 DES
to sort by the year each member was created, in descending order).
Field-name Attribute
Member Ascending
Description Ascending
Lines Descending
Created (date) Descending
Updated (date) Descending
Access (date) Descending
Access Attribute Ascending
Sequence Attribute Ascending
1.131.3.1 Examples
>
>LIB() SCRL FULL COLS 1 79 LINE 1
><...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....
=================================== T O P =====================================
SIGNON KEY MATCH (SPEC+) MEM EXCL BLOCKS M-LINES LINES
USER1 3 11 N/A 65
MEMBER STATUS DESCRIPTION LINES ATR SEQNO
ROS.SPECAASP DOC - SPECIFICATION FOR AWSASP 54 RES NOSEQ
ROS.SPECEXCL DOC - SPECIFICATION FOR EXCL 36 RES 73,8
ROS.SPECORDR 236 SHR 73,8
================================= B O T T O M =================================
Type:
ORDER LIB BY LINES DES
And get the following results:
>
>LIB() SCRL FULL COLS 1 79 LINE 1
><...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....
=================================== T O P =====================================
SIGNON KEY MATCH (SPEC+) MEM EXCL BLOCKS M-LINES LINES
USER1 3 11 N/A 65
MEMBER STATUS DESCRIPTION LINES ATR SEQNO
ROS.SPECEXCL DOC - SPECIFICATION FOR EXCL 36 RES 73,8
ROS.SPECORDR 236 SHR 73,8
ROS.SPECAASP DOC - SPECIFICATION FOR AWSASP 54 RES NOSEQ
================================= B O T T O M =================================
Note: Because DES is the default attribute for LINES, the following
command would produce the same results as above:
ORDER LIB LINES
■ To sort the following list by last character qualifier in the member name,
and by access date from oldest to newest:
>
>LIB() SCRL FULL COLS 1 79 LINE 1
><...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....
=================================== T O P =====================================
SIGNON KEY MEM EXCL BLOCKS M-LINES LINES
USER1 7 9 N/A 45
MEMBER DESCRIPTION CREATED UPDATED ACCESS
ROS.ROSCO1D DOC - SAMPLE LETTER 1/17/89 4/3/91 4/3/91
ROS.ROSCO1R RPF - SIGNON PROFILE 6/28/89 1/22/9 5/3/91
ROS.ROSCO1J JCL - JCL TO CREATE A TAPE 9/5/89 3/3/91 3/3/91
ROS.ROSCO2D DOC - LIST OF AREACODES 1/4/91 1/4/89 12/13/9
ROS.ROSCO2R RPF - PGM TO DISPLAY JOB 2/24/9 5/12/9 8/2/9
ROS.ROSCO2J JCL - JCL FOR IEBCOPY UTIL 6/14/9 9/19/9 9/19/9
ROS.ROSCO3R RPF - PGM TO ATTACH A JOB 2/24/9 3/18/9 2/24/91
================================= B O T T O M =================================
Type:
ORDER LIB MEM COL 14 ASC ACCESS ASC
And get the following results:
>
>LIB() SCRL FULL COLS 1 79 LINE 1
><...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....
=================================== T O P =====================================
SIGNON KEY MEM EXCL BLOCKS M-LINES LINES
USER1 7 9 N/A 45
MEMBER DESCRIPTION CREATED UPDATED ACCESS
ROS.ROSCO2D DOC - LIST OF AREACODES 1/4/91 1/4/89 12/13/9
ROS.ROSCO1D DOC - SAMPLE LETTER 1/17/89 4/3/91 4/3/91
ROS.ROSCO2J JCL - JCL FOR IEBCOPY UTIL 6/14/9 9/19/9 9/19/9
ROS.ROSCO1J JCL - JCL TO CREATE A TAPE 9/5/89 3/3/91 3/3/91
ROS.ROSCO2R RPF - PGM TO DISPLAY JOB 2/24/9 5/12/9 8/2/9
ROS.ROSCO3R RPF - PGM TO ATTACH A JOB 2/24/9 3/18/9 2/24/91
ROS.ROSCO1R RPF - SIGNON PROFILE 6/28/89 1/22/9 5/3/91
================================= B O T T O M =================================
1.132.1 Syntax
ORDER Line Command
──OR──────────────────────────────────────────────────────────
Command Description
OR Reorders selection list.
1.132.2 Notes
Restriction:
■ The OR line command only reorders the designated field by its default
attribute. Reordering by any other criteria can be done using the primary
ORDER command.
Field Attribute Defaults:
Field-name Attribute
Member Ascending
Description Ascending
Lines Descending
Created (date) Descending
Updated (date) Descending
Access (date) Descending
Access Attribute Ascending
Sequence Attribute Ascending
Input Data:
■ A field is reordered based on the data entered into the STATUS input area.
■ If there is no field-name in the STATUS input area, Advantage CA-Roscoe
assumes the list is to be ordered by the field where the cursor is
positioned.
■ The input data must be the field-name that corresponds to the field that is
to be reordered:
MEMber Field containing the names of the library members.
Specify MEMBER or MEM.
DESCription Field containing description of members, if available.
Specify DESCRIPTION or DESC.
LINes Field containing the number of lines each member
contains.
Specify LINES, LINE, or LIN.
ATR Field containing member access attributes.
Specify ATTRIBUTES, ATTRIBUTE, ATTR, or ATR.
SEQno Field containing member sequence number attribute.
Specify SEQATR, SEQNO, or SEQ.
CREated Field containing the date each member was created.
Specify CREATED, CREATE, CREATION, or CRE.
UPDated Field containing the date each member was last updated.
Specify UPDATED, UPDATE, or UPD.
ACCess Field containing the date each member was last accessed.
Specify ACCESSED, ACCESS, or ACC.
1.132.3.1 Example
>
>LIB() SCRL FULL COLS 1 79 LINE 1
><...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....
=================================== T O P =====================================
SIGNON KEY MATCH (SPEC+) MEM EXCL BLOCKS M-LINES LINES
USER1 3 11 N/A 65
MEMBER STATUS DESCRIPTION LINES ATR SEQNO
OR ROS.SPECAASP DESCRIPTIONDOC - AWSASP SPECIFICATION 54 RES NOSEQ
ROS.SPECEXCL DOC - EXCL SPECIFICATION 36 RES 73,8
ROS.SPECORDR 236 SHR 73,8
================================= B O T T O M =================================
>
>LIB() SCRL FULL COLS 1 79 LINE 1
><...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....
=================================== T O P =====================================
SIGNON KEY MATCH (SPEC+) MEM EXCL BLOCKS M-LINES LINES
USER1 3 11 N/A 65
MEMBER STATUS DESCRIPTION LINES ATR SEQNO
ROS.SPECORDR 236 SHR 73,8
ROS.SPECAASP DOC - AWSASP SPECIFICATION 54 RES NOSEQ
ROS.SPECEXCL DOC - EXCL SPECIFICATON 36 RES 73,8
================================= B O T T O M =================================
Note: If there is no field-name in the STATUS input area, the list is ordered
by the field in which the cursor is positioned.
1.133 PASSWORD
Establishes or cancels a sign-on password.
1.133.1 Syntax
PASSWORD Command
──PASSWORD──┬──────────────────────────────┬──────────────────
└─cur-pswd──new-pswd──ver-pswd─┘
Operand Description
cur-pswd Character string representing the current sign-on password.
new-password One-to 10 character string representing the new password. A
slash (/) may not be used as a password nor as a character
within the password. If the password is controlled by an
external security system, the length is determined by the
security system.
ver-pswd One-to ten-character string that must match the password
used for new-pswd. This is to verify the new password
setting. A slash (/) may not be used as a password nor as a
character within the password. If the password is controlled
by an external security system, the length is determined by
the security system.
1.133.2 Notes
Restriction:
■ Site management can restrict the use of this command.
Using a Password:
■ Once a password is established, it must be entered whenever the user
signs on to Advantage CA-Roscoe.
– At 3270-type terminals: The password is not displayed when entered.
– At typewriter devices: The password is masked.
■ When an external security system is being used to control the password,
the rules of the external security system determine the use and
characteristics of the password.
1.134 POINT
Positions the following data:
■ The AWS pointer to a specific line in the AWS.
■ The display of an attached data set object at a specific location.
■ The display of attached job output at a specific location.
■ The display of an attached library member/Selection List at a specific
location.
1.135.1 Syntax
POINT AWS Command
──POINT──┬──────────┬──┬──────────────────────┬───────────────
└─p─┬───┬──┘ └─AWS─┬───────┬─LINE v─┘
└─q─┘ └─aname─┘
Operand Description
With no operand, positions the pointer to the first line in the active
AWS. The display is not changed.
p q Number of the first and last lines to be used when positioning the
pointer. The display is not changed.
If a range is specified, the pointer is positioned to the first valid line
number within the range.
If one number is specified, the pointer is positioned to that line.
aname Name of an existing AWS. If omitted, the currently active AWS is
assumed.
v Line that is to begin the displayed, specified as a numeric value (for
example, LINE 5), or
T Display is to begin with the first line in the AWS.
B Display is to end with the last line in the AWS.
* Display is to begin with the line at which the pointer is
positioned. May be qualified with:
*+v Current location of the pointer plus v number of
lines.
*-v Current location of the pointer minus v number of
lines.
1.135.2 Notes
Using Positional Expressions:
■ If a positional expression places the pointer:
– Before the first line of the AWS,
– The pointer is positioned to the first line, or
– The display begins with the first line.
■ After the last line of the AWS, a message is displayed.
1.135.4.1 Examples
1.136.1 Syntax
POINT DSN Command
──POINT──┬─────┬──┬─charstr─┬─────────────────────────────────
└─DSN─┘ └─Line v──┘
Operand Description
DSN Required only when the previously attached data is not currently
displayed.
charstr Name previously assigned by the NOTE command.
v Line that is to begin the display, specified as a numeric value (for
example, LINE 5), or
T Display begins with the first line in the data set object.
B Display begins with the last line in the data set object.
* Display begins with the line at which the pointer is
positioned. May be qualified with:
*+v Current location of the pointer plus v number of
lines.
*-v Current location of the pointer minus v number of
lines.
1.136.2 Notes
■ All NOTE names are automatically deleted when the data is detached.
1.136.3.1 Examples
■ To begin the display with the line assigned the name of NOTE1:
POINT NOTE1
■ To begin the display with line 2500:
POINT LINE 25
■ To reattach the previously attached data and begin the display with the
line that is five lines after the line at which the pointer is currently
positioned:
POINT DSN LINE +5
1.137.1 Syntax
POINT JOB Command
──POINT──┬─────┬──┬─charstr────────────────────────────┬──────
└─Job─┘ └─┬────────┬──┬────────┬──┬────────┬─┘
└─File v─┘ └─Page v─┘ └─Line v─┘
Operand Description
Job Required only when the previously attached job is not currently
displayed.
charstr Name previously assigned by the NOTE command.
File File that is to begin the display, specified as a numeric value (for
example, FILE 3), or
* Display begins with the file at which the job pointer is
positioned. May be qualified with:
*+v Current location of the pointer plus v number of files.
*-v Current location of the pointer minus v number of files.
If FILE is omitted and a job is attached, the current file is assumed.
If a job is not attached, the file displayed when the job was last
attached is assumed.
Note: File can be specified as FILE, FIL, or F.
Page Page that is to begin the display, specified as a numeric value (for
example, PAGE 3), or
* Display begins with the page at which the job output pointer
is positioned. May be qualified with:
*+v Current location of the pointer plus v number of
pages.
*-v Current location of the pointer minus v number of
pages.
If PAGE is omitted and a job is attached, the beginning of the
current file is assumed. If a job is not attached, the beginning of the
file displayed when the job was last attached is assumed.
Note: Page can be specified as PAGE, PAG, or P.
Line Line that is to begin the display, specified as a numeric value (for
example, LINE 5) , or
1.137.2 Notes
NOTE Names:
■ If the site has enabled the global note pad facility, the form of the
DETACH JOB command used determines whether the note names for a
job will be saved from one attachment to another.
1.137.3.1 Examples
■ To begin the display of attached data with the line assigned the name of
NOTE1:
POINT NOTE1
■ To reattach the previously attached job and begin the display with the line
assigned the name of NOTE2:
POINT JOB NOTE2
■ To reattach the previously attached job and begin the display with the the
tenth line of the fourth file:
POINT JOB FILE 4 LINE 1
■ To reposition the display of attached job output to 30 lines beyond the first
displayed line:
POINT LINE +3
1.138.1 Syntax
POINT LIB Command
──POINT──┬─────┬──┬─charstr─┬─────────────────────────────────
└─LIB─┘ └─Line v──┘
Operand Description
LIB Required only when the previously attached library
member/Selection List is not currently displayed.
charstr Name previously assigned by the NOTE command.
v Line that is to begin the display, specified as a numeric value (for
example, LINE 5), or
T Display begins with the first line.
B Display begins with the last line.
* Display begins with the line at which the library pointer is
positioned. May be qualified with:
*+v Current location of the pointer plus v number of
lines.
*-v Current location of the pointer minus v number of
lines.
1.138.2 Notes
■ All NOTE names are automatically deleted when the data is detached.
1.138.3.1 Examples
■ To begin the display of the attached library member with assigned the
name MYNOTE:
POINT MYNOTE
■ To begin the display of the attached library member at line 1200:
POINT LINE 12
■ To reattach the previously attached library member and begin the display
with the line that is five lines after the line at which the pointer is
currently positioned:
POINT LIB LINE +5
1.139 PREFIX
Prefixes all or a range of lines in the active AWS with a character string.
1.139.1 Syntax
Prefix Command
──PREfix──/string/──┬──────────┬──┬─────────┬─────────────────
└─P─┬───┬──┘ └─LITeral─┘
└─q─┘
Operand Description
/string/ Prefix string, which may not exceed 80 characters in length and
must be bound by delimiters.
p q Number of the first and last lines to be involved in the operation. If
only one number is specified, only that line is prefixed.
LITeral Prevents the search string from being interpreted (for example,
X'C1' is to be treated as a character string; not as the hexadecimal
representation of the letter A). If omitted, the string is subject to
interpretation.
1.139.2 Notes
■ The prefix is not added to a line if that action would cause the line to
exceed 255 characters.
1.139.4.1 Example
■ To prefix lines 100 through 500 of the active AWS with the string 123:
PREFIX /123/ 1 5
1.140 PREV
Searches the attached data and begins the display with either:
■ The previous occurrence of a particular character string
■ The previous occurrence of a specific location within job output
Both uses of the PREV command are discussed individually on the following
pages.
1.141 PREV
To begin the display with the previous line containing a particular character
string.
1.141.1 Syntax
PREV Command
──PREV──┬───────┬──┬──────────┬──┬───────────────┬─────────────
└─scope─┘ └──┬───┬─e─┘ └─string─┬───┬──┘
└─s─┘ └─n─┘
──┬──────────┬──┬─────────┬──┬─────────┬──┬─────┬──────────────
└─position─┘ └─LITeral─┘ └─context─┘ └─Mix─┘
Operand Description
With no operand, locates and displays the prior occurrence of the
previously specified string in the currently attached data.
scope Qualifies the data to be affected. If omitted, the currently attached
data is affected. If specified, it must be one of the following:
AWS Causes the active AWS to be reattached and searched for the
specified string. (Abbreviate as A.)
DSN Causes the pending data set object to be reattached and
searched for the specified string. (Abbreviate as D.)
JOB Causes the pending job output file to be reattached and
searched for the specified string. (Abbreviate as J.)
LIB Causes the pending library member or Selection List to be
reattached and searched for the specified string. (Abbreviate
as L.)
s e Number of the starting and ending columns to be searched for the
string. If only one number is specified, it is assumed to be the
ending column. The ending column cannot exceed: 1) 255, or 2) the
record length of the data set object.
string Search string, which cannot exceed 80 characters in length. If
omitted, the string specified with the previously executed EXCL,
FIRST, INCL, LAST, NEXT, or PREV primary or line command or
the ATTACH primary command is used.
1.141.2 Notes
Changing Search Column Boundaries:
■ By default, the search is restricted to the default or current column
boundaries. To change the column boundaries for:
A single operation: Specify the s and e operands with the command
(for example, LAST 20 30 ABC). After the
command executes, the previously established or
default range is restored.
To limit the operation to a single column, specify s
equal to e.
The terminal session: Use the modifiable STATUS DISPLAY screen, the
SET BOUNDS primary command, or, if the AWS
is attached, the BOUNDS line command. This
range remains in effect until explicitly changed.
1.141.4.1 Examples
■ To begin the display with the prior occurrence of the string PAY in the
currently attached and displayed data:
PREV PAY
■ To begin the display with the prior occurrence of the string ABC in
columns 1 through 50 of the data that is currently attached and displayed:
PREV 1 5 ABC
■ To begin the display with the prior occurrence of a previously specified
string that appears in columns 30 through 60:
PREV 3 6
■ To reattach the currently attached job and begin the display with the prior
occurrence of the word EXEC:
PREV JOB EXEC WORD
Because the string is qualified, a word such as EXECUTE will not match
the specified string. To find the prior occurrence of EXECUTE, either spell
the word out in full or qualify the string, as in:
PREV JOB EXEC PREFIX
■ To reattach the active AWS and begin the display with the prior
occurrence of the string DIVISION in the next 200 lines:
PREV AWS DIVISION 2
■ To reattach the previously attached data set object and begin the display
(by centering the line) with the prior occurrence of a previously specified
string occurring in columns 60 through 90:
PREV DSN 6 9 CENTERED
■ To find the prior occurrence of the string LIB in the currently attached
data:
PREV /LIB/
The search string is bound by delimiters since it matches a keyword
operand of the command.
1.142.1 Syntax
PREV JOB Command
──PREV──┬─────┬──┬──────┬─────────────────────────────────────
└─Job─┘ ├─File─┤
├─Page─┤
└─Line─┘
Operand Description
With no operand, uses the value specified with the previously
executed FIRST, LAST, NEXT, or PREV primary command.
Job Causes the pending job to be reattached at the designated location.
File Repositions display to begin with the prior file of the attached and
displayed job. (Abbreviate as FILE, FIL, or F.)
Page Repositions display to begin with the prior page of the job output
file currently displayed. (Abbreviate as PAGE, PAG, or P.)
Line Repositions display to begin with the prior line of the job output
file currently displayed. (Abbreviate as LINE, LIN, or L.)
1.142.2 Notes
■ L, an abbreviation of the LINE operand, may only be used when the JOB
(or J) operand is also specified.
■ The displayed job output is not modifiable.
1.142.4.1 Examples
■ To reattach the previously attached job and begin the display with the
prior file:
PREV JOB FILE
■ To display the prior file of job output that is attached and displayed:
PREV FILE
■ To display the prior page of the job output file that is currently attached
and displayed:
PREV PAGE
1.143.1 Syntax
PREV Line Command
──PREV──┬──────────┬──────────────────────────────────────────
└─/string/─┘
Operand Description
/string/ Search string, which must not exceed the length of a terminal line
and must be bound by delimiters. If omitted, the string specified
with the previously executed EXCL, FIRST, INCL, LAST, NEXT, or
PREV primary or line command or the ATTACH primary command
is used.
1.143.2 Notes
■ The search for the previous occurrence of the string begins with the line
preceding the line containing the command.
1.143.3.1 Examples
> AWS(AAA.TAXREPT) SCRL FULL COLS 7 78
> .<.1....+....2....+....3....+....4....+....5..
...... ========================== T O P =============
PREV /PROCEDURE/ION DIVISION.
2 PROGRAM-ID. TAX-REPT.
3
4 ENVIRONMENT DIVISION.
> AWS(AAA.TAXREPT) SCRL FULL COLS 7 78
> .<.1....+....2....+....3....+....4....+....5..
...... ========================= T O P ==============
PREV IDENTIFICATION DIVISION.
2 PROGRAM-ID. TAX-REPT.
3
4 ENVIRONMENT DIVISION.
1.144 PRINT
Prints all or part of the designated data at a system or 328x-type printer.
1.144.1 Syntax
PRINT Command
──Print──┬────────────────────────────────────────┬────────────
├─'tag'──────────────────────────────────┤
│ ┌─AWS─┐ │
├──┴─────┴──┬──────────┬─────────────────┤
│ └─p─┬───┬──┘ │
│ └─q─┘ │
├─Dsn─┬──────────┬──┬───────┬──┬──────┬──┤
│ └─p─┬───┬──┘ └─NOHDR─┘ └─FULL─┘ │
│ └─q─┘ │
├─Job─┬──────────┬───────────────────────┤
│ └─p─┬───┬──┘ │
│ └─q─┘ │
├─Lib─┬──────────┬──┬───────┬──┬──────┬──┤
│ └─p─┬───┬──┘ └─NOHDR─┘ └─FULL─┘ │
│ └─q─┘ │
│ ┌──
─────────────────┐ │
mem─┬──────────┬─┴────────────────────┤
├──
│ └─p─┬───┬──┘ │
│ └─q─┘ │
└─SCReen─┬──────────┬────────────────────┘
└─p─┬───┬──┘
└─q─┘
──┬──────────────┬──┬───────┬──┬────────┬──┬──────────┬─────────
└─COL s─┬───┬──┘ ├─NUM───┤ └─COPy v─┘ ├─NOTIFY───┤
└─e─┘ └─NONUM─┘ └─NONOTIFY─┘
──┬───────┬──┬──────────────────┬──┬───────────────┬────────────
├─INSEP─┤ └─FORMAT─┬─DUMP─┬──┘ │ ┌─DEF─┐ │
└─NOSEP─┘ ├─CHEX─┤ └─TYPE─┼─ANS─┼──┘
└─WHEX─┘ └─MCC─┘
──┬──────┬──┬──────┬──┬─────┬──┬─────┬──┬──────┬──┬───────┬─────
└─TM v─┘ └─BM v─┘ └─FPA─┘ └─DBL─┘ └─CAPS─┘ └─BURST─┘
──┬─────────────┬──┬──────────────┬──┬───────────────┬──────────
└─FCB charstr─┘ └─DESt charstr─┘ └─CLAss charstr─┘
──┬──────┬──┬──────┬───────────────────────────────────────────
└─PW v─┘ └─PL v─┘
Operand Description
With no operands, prints one copy of the contents of the active
AWS at the current printing location.
tag Name to be assigned to the print request. The name may
contain 1 to 8 alphanumeric characters, must start with an
alphabetic character, and be bound by apostrophes (').
AWS Designates that the entire contents of the active AWS is to be
printed. Can be qualified with:
p q Lines at which the operation begins and ends.
Dsn Designates that all of the currently attached data set object is to
be printed. Can be qualified with:
p q Lines at which the operation begins and ends.
NOHDR Prevents Selection List header lines from being
printed.
FULL Causes the Selection List being printed to include
all available information. If omitted, only the
information included with the current format is
used. (Use the SELECT ALT command to change
the format.)
Job Designates that all of the currently attached job output file is to
be printed. Can be qualified with:
p q Lines at which the operation begins and ends.
Lib Designates that all of the currently attached library member or
Selection List is to be printed. Can be qualified with:
p q Lines at which the operation begins and ends.
NOHDR Prevents Selection List header lines from being
printed.
FULL Causes the Selection List being printed to include
all available information. If omitted, only the
information included with the current format is
used. (Use the SELECT ALT command to change
the format.)
mem Name of the library member to be printed. If multiple names
are specified, they may optionally be bound by parentheses.
Each name may be qualified with:
p q Lines at which the operation begins and ends.
NOSEP Prohibits printing header and trailer separator pages for this
request. NOSEP is valid only if header and trailer pages are
printed by default and only if allowed by site management.
If omitted, the site-defined default is used.
FORMAT Specify the format in which the data is to be printed as:
DUMP Each line will be formatted with offsets, hex data
and EBCDIC data to the right of the line. Trailing
blanks are not shown in the print-out.
CHEX Each line will be formatted with offsets and hex
data to the right of the line.
VHEX Each line will be formatted in character data with
the hex data shown vertically below.
If omitted when doing a PRINT SCREEN, the data is printed in
its currently displayed format. If omitted when printing any
other type of data, the data is printed in character format only.
TYPE Specify the output format as:
DEF Form control pseudo-commands are recognized. A top
and bottom margin may be set (by TM and BM
operands).
ANS ANSI print control characters are recognized.
MCC Machine printer control characters are recognized.
If omitted, the default is TYPE DEF.
TM (Valid only with TYPE DEF.) (v) Number of blank lines to be
skipped from the top of the page before printing begins. 'v' may
be 0 through 99.
If omitted, the site-defined default is used.
BM (Valid only with TYPE DEF.) (v) Number of blank lines to be
skipped at the bottom of the page. 'v' may be 0 through 99.
If omitted, the site-defined default is used.
FPA Forces physical page alignment (page ejects for each separator
and print body).
If omitted, physical page alignment is not forced.
1.144.2 Notes
Scheduling a Print Request:
■ A 'print request' is any data directed to a system or 328x-type printer.
■ When the PRINT command is executed, the data is scheduled for printing
and a message is displayed. The message contains the tag (if specified),
print request number assigned by Advantage CA-Roscoe, and the printing
location. Once scheduled, ALL references to a specific print request must
be by tag name or number.
■ If a printer has an unrecoverable error while a request is printing, the
request is placed on the hold queue. When the printer is back in operation,
use the PRINT RELEASE command to place the held request on the ready
queue.
1.144.3.1 Examples
■ To print all of the attached data set object at the current printing location:
PRINT DSN
■ To print all of the library member named TEST and the active AWS plus
lines 500 through 990 of the library member named DATA at the current
printing location:
PRINT TEST AWS DATA 5 99
■ To print the contents of columns 60 through 90 of the attached job output
file at the current printing location:
PRINT JOB COLS 6 9
■ To print the currently displayed screen and to include sequence numbers
in the printed output:
PRINT SCR NUM
■ To print three copies of the library member SAMPLE and to assign that
request the tag name MANY:
PRINT 'MANY' SAMPLE COPY 3
■ To print lines 1200 through 2500 of the attached job output file and to
receive notification when the request is printed:
PRINT JOB 12 25 NOTIFY
■ To print lines 22000 through 22020 of the attached data set object and have
each line formatted with offsets, hexadecimal data and EDCDIC data to the
right of each line:
PRINT DSN 22 222 FORMAT DUMP
■ To print the contents of the active AWS at the printing location identified
as OTHER1:
PRINT DEST OTHER1
where OTHER1 is not the default or current printing location for the
terminal.
■ To print the contents of the library member REPORT with a top margin of
10 and a bottom margin of 8:
PRINT REPORT TM 1 B 8
TYPE DEF is the default. Thus, the TM and BM operands are recognized
and the data may contain the formatting pseudo-commands.
1.145.1 Syntax
PRINT CANCEL Command
──Print Cancel──┬─All────────────────────────────┬────────────
├─request────────────────────────┤
└─Dest string─┬───────────────┬──┘
└─Class charstr─┘
Operand Description
ALL Terminates all of the user's outstanding print requests.
request Request(s) to be terminated, specified as either:
tag Name assigned by user to a request.
number Number assigned by Advantage CA-Roscoe to a request.
Leading zeros are not required.
A maximum of 12 requests can be specified, provided the command
fits on a single line. Optionally, the request(s) may be bound by
parentheses.
Dest Name of the printing location at which the user's outstanding print
requests are to be terminated. (Abbreviate as DES or D.)
Class Number of printer class. If specified, only the print requests for that
class are terminated at the designated location. If omitted, all classes
for the designated location are affected. (Abbreviate as CLA or C.)
1.145.2 Notes
■ This command does not allow the user to cancel another user's print
request(s).
Error Handling:
■ If an error occurs when a list of requests are to be cancelled, requests up to
the request in error are cancelled; the request in error and any subsequent
requests are not cancelled.
1.145.2.1 Example
1.146.1 Syntax
PRINT DEVICE Command
──Print DEVice──┬──────────────────┬──────────────────────────
├─charstr─┬─────┬──┤
│ └─Phy─┘ │
├─NOAttach─────────┤
└─REPly mem────────┘
Operand Description
With no operands, writes information about all printers to the
member ZZZZZDEV and then attaches the member for display.
charstr Name of the printer for which logical status information is to be
displayed.
Phy Displays the status of a physical node.
NOAttach
Suppresses the display of the information written to the appropriate
library member. (Abbreviate as NOATT or NOA.)
REPly Name of the library member that is to contain the status
information. If omitted, the default name ZZZZZDEV is used. (If
the appropriate member does not exist, it is created in the user's
library. If the member exists, its contents are updated.)
1.146.2 Notes
PRINT DEVICE Display:
The following are the fields in the PRINT DEVICE Printer-Name display.
PRINT Printer identification.
LOCATION Name (destname) of the printing location.
STATE State of the printer, where:
■ AVAIL (Available for printing.)
■ ALLOC (Printing.)
■ CLOSE (Not currently available for printing.)
■ UNAV (Not to be used by Advantage CA-Roscoe.)
■ TRNST (In transit; between states.)
COMMAND Pending command or condition. (Reserved for future
use.)
CLASSES Classes assigned to the printer.
REQUEST# Advantage CA-Roscoe-assigned print request number.
TAG User-assigned name, if specified.
CPEJECT Line skip information, where:
■ X = Lines skipped between leading and trailing
separators.
■ Y = Lines skipped between trailing and leading
separators.
LOCK Provides CA with debugging information.
LOGICAL FEATURES
Printer features (defined by the site).
CURRENT PAGE LENGTH/WIDTH
Current setting of page length and width (as specified in
PRINT command).
VTAM Information
RUSIZ Request unit size.
DEVICE CHARACTERISTICS
Device characteristics (in hex).
SESSION PARAMETERS
Information shared between network and mode about
session.
LAST RPL STATUS
Status from last VTAM RPL (Request Parameter List).
CURRENT RPL ECB address and contents from current VTAM RPL.
1.147.1 Syntax
PRINT HOLD Command
──Print Hold──┬─ALL────────────────────────────┬──────────────
├─request────────────────────────┤
└─Dest string─┬───────────────┬──┘
└─Class charstr─┘
Operand Description
ALL Holds all of the user's outstanding print requests.
request Request(s) to be held, specified as either:
tag Name assigned by user to a request.
number Number assigned by Advantage CA-Roscoe to a request.
Leading zeros are not required.
A maximum of 12 requests can be specified, provided the command
fits on a single line. Optionally, the request(s) may be bound by
parentheses.
Dest Name of the printing location at which outstanding requests are to
be held. (Abbreviate as DES or D.)
Class Number of printer class. If specified, only the print requests for that
class are held at the designated location. If omitted, all classes for
the designated location are affected. (Abbreviate as CLA or C.)
1.147.2 Notes
■ This command does not allow the user to hold another user's print
request(s).
■ Use the PRINT RELEASE command to place one or more requests on the
ready queue.
Error Handling:
■ If an error occurs when a list of requests are to be held, requests up to the
request in error are held; the request in error and any subsequent requests
are not held.
1.147.2.1 Example
■ To hold three print requests, REQ1, REQ2 and REQ3, at the current
printing location:
PRINT HOLD REQ1 REQ2 REQ3
1.148.1 Syntax
PRINT LOCATION Command
──Print LOCation──┬─────────────────────┬──┬───────────┬──────
├─DLIST─┬─────────┬───┤ ├─NOAttach──┤
│ └─string1─┘ │ └─REPly mem─┘
├────────────────────┤
├─string2─────────────┤
└─System─┬─────────┬──┘
└─string3─┘
Operand Description
With no operands, writes information about the printing locations
comprising the destination list associated with the terminal to the
member ZZZZZLOC and then attaches the member for display.
DLIST Causes information about all of the destination lists to be displayed.
This operand may be qualified with:
string1 Name of a destination list about which printing location
information is desired.
* Causes detailed information about the current or default printing
location to be displayed.
string2 Actual name or alias of a printing location within the destination
list associated with the terminal.
System Causes information about every printing location defined at the site
to be displayed. (Abbreviate as SYS or S.) This operand can be
qualified with:
string3 Actual name or alias of a printing location about which
information is desired.
NOAttach
Suppresses the display of the information written to the appropriate
library member. (Abbreviate as NOATT or NOA.)
REPly Name of the library member that is to contain the status
information. If omitted, the default name ZZZZZLOC is used. (If
the appropriate member does not exist, it is created in the user's
library. If the member exists, its contents is updated.)
1.148.2 Notes
Definitions:
■ A printing location consists of one or more printers.
■ A destination list consists of one or more printing locations. (Sites have the
option of grouping printing locations and assigning a name to each
grouping. These names become the destination list names.)
1.149.1 Syntax
PRINT RELEASE Command
──Print Release──┬─────┬──┬─ALL────────────────────────────┬──
└─TOP─┘ ├─request─┬─────┬────────────────┤
│ └─TOP─┘ │
└─Dest string─┬───────────────┬──┘
└─Class charstr─┘
Operand Description
TOP Causes the request to resume printing with the first line of the first
page.
If specified immediately after PRINT RELEASE, all released
requests resume printing with the first line of the first page.
If specified after a request, only that request resumes printing with
the first line of the first page.
If omitted, printing resumes with the first line of the last page
printed before the request was held.
ALL Releases all of the user's outstanding print requests.
request Request(s) to be released, specified as:
tag Name assigned by user to request.
number
Number assigned by Advantage CA-Roscoe to request.
Leading zeros are not required.
A maximum of 12 requests can be specified, provided the command
fits on a single line. Optionally, the request(s) may be bound by
parentheses.
Dest Name of the printing location where the requests are to be released.
(Abbreviate as DES or D.)
Class Number of printer class. If specified, only the print requests for that
class are released at the designated location. If omitted, all classes
for the designated location are affected. (Abbreviate as CLA or C.)
1.149.2 Notes
■ This command does not allow the user to release another user's print
request(s).
■ All pending copies of the print request are released.
Releasing a Request:
■ A released request is placed at the bottom of the ready queue.
Error Handling:
■ The command is ignored if the designated request is not currently held.
1.149.2.1 Example
■ To release print request REQ1 and begin printing with the page last
printed at the time the request was held, and to release print request REQ2
and begin printing from the first page:
PRINT RELEASE REQ1 REQ2 TOP
1.150.1 Syntax
PRINT ROUTE Command
──Print ROUte──┬─request──────┬──TO──string2──────────────────
├─ALL──────────┤
└─Dest string1─┘
Operand Description
request Request(s) to be rerouted, specified as:
tag Name assigned by user to the request.
number
Number assigned by Advantage CA-Roscoe to the request.
Leading zeros are not required.
A maximum of 12 requests can be specified, provided the command
fits on a single line. Optionally, the request(s) may be bound by
parentheses.
ALL All of the user's held print requests are to be rerouted.
Dest Name of a printing location. All of the user's held requests at this
location are to be rerouted. (Abbreviate as DES or D.)
TO (string2) Name of the printing location to which the user's held
requests are to be routed.
1.150.2 Notes
Rerouting a Request:
■ A request that is to be rerouted must be held first (via PRINT HOLD
command). It is automatically released when it is rerouted.
1.150.2.1 Examples
1.151.1 Syntax
PRINT STATUS Command
──Print Status─────────────────────────────────────────────────
──┬────────────────────────────────────────────┬────────────────
├─ALL────────────────────────────────────────┤
├─request────────────────────────────────────┤
├─System─────────────────────────────────────┤
└─Dest string─┬───────────────┬──┬────────┬──┘
└─Class charstr─┘ └─System─┘
──┬───────────┬────────────────────────────────────────────────
├─NOAttach──┤
└─REPly mem─┘
Operand Description
With no operands, acts as though PRINT STATUS ALL was
entered. The information is written to the member ZZZZZSTA
which is then attached for display.
ALL Provides status information on all of the user's outstanding print
requests.
request Request(s) for which status information is desired, specified as:
[ pfx. ] tag Name assigned by user to the request.
[ pfx. ] number
Number assigned by Advantage CA-Roscoe to the
request. Leading zeros are not required.
A maximum of 12 requests can be specified,
provided the command fits on a single line.
Optionally, the request(s) may be bound by
parentheses. Requests are assumed to belong to the
user signed on unless a prefix is specified.
pfx.* Status information is provided on all outstanding
print requests for the owner of the designated
prefix.
Dest Name of the printing location for which status information is to be
provided. If specified with SYSTEM, information is provided about
all print requests at that destination. If SYSTEM is omitted,
information is provided only about outstanding requests belonging
to the user signed on. (Abbreviate as DES or D.)
1.151.2 Notes
Error Handling:
■ If an error occurs when multiple requests are being processed, status
information is available for the requests up to the request in error.
Information is not provided for the request in error nor any subsequent
requests.
1.151.2.1 Examples
■ To obtain status information for all print requests in the system and place
that information into library member STATINFO:
PRINT STATUS SYSTEM REPLY STATINFO
■ To obtain status information for all print requests at the HOME1 printing
location:
PRINT STATUS DEST HOME1 SYSTEM
■ To obtain status information for all print requests for the user signed on:
PRINT STATUS
1.152 PURGE
Cancels a job from the system queue.
1.152.1 Syntax
PURGE Command
──PURge──┬────┬──┬────────────────┬───────────────────────────
└─-K─┘ └─string─┬────┬──┘
└─,v─┘
Operand Description
With no operand, prompts for the job name.
-K Produces listing of the output from the cancelled job.
string Name of the job.
v Number of the job. Required when there are multiple jobs with the
same name.
1.152.2 Notes
Restriction:
■ PURGE is a user-contributed Monitor command. Site management has the
option of restricting use of this command.
1.153 QDSN
|
| Invokes an RPF that displays information about the current data set editing
| session.
|1.153.1 Syntax
|
| QDSN Command
| ──QDSN────────────────────────────────────────────────────────
|1.153.2 Notes
| ■ This command invokes an RPF, so a prefix may be required for execution.
| By default, it is executed from the RO prefix.
| ■ The QDSN command displays an informational panel containing the
| current data set edit status. As shown in the screen below, if you are not
| currently editing a data set, the display panel is blank.
| <...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....
|
| EDIT DATASET FACILITY
| CURRENTLY EDITING:
1.154 QUERY
Provides information about ETSO applications. Specifically, the following can
be displayed:
■ Information about all files the user has allocated for use under ETSO
■ Information about each currently executing ETSO application
■ Information about any input or output diversions that may currently be in
effect for applications executing under ETSO
1.154.1.1 Syntax
Operand Description
AWS Causes information to be written to the active AWS. If omitted, the
information is written to the terminal.
1.154.1.2 Notes
Restriction:
■ This command is valid only when the Extended Time-Sharing Option
(ETSO) is active.
1.154.2.1 Syntax
Operand Description
AWS Causes information to be written to the active AWS. If omitted, the
information is written to the terminal.
1.154.2.2 Notes
Restriction:
■ This command is valid only when the Extended Time-Sharing Option
(ETSO) is active.
1.154.3.1 Syntax
Operand Description
AWS Causes the diversion information to be written to the active AWS. If
omitted, the information is written to the terminal.
1.154.3.2 Notes
Restriction:
■ This command is valid only when the Extended Time-Sharing Option
(ETSO) is active.
1.155 REFRESH
Redisplays a Selection List.
1.155.1 Syntax
REFRESH Command
──REFRESH──┬──────────────────┬───────────────────────────────
├─DSN─┬───────┬────┤
│ ├─QUICK─┤ │
│ ├─SHORT─┤ │
│ └─LONG──┘ │
└─LIB─┬─────────┬──┘
└─DEFAULT─┘
Operand Description
With no operand, refreshes the currently attached Selection List.
DSN Required only when reattaching a Data Set Facility Selection List
that is not currently displayed.
When refreshing a Data Set Facility Selection List, the operation
may be qualified with:
QUICK Causes the refreshed Selection List to contain only the
names of the appropriate data sets, members or modules.
SHORT Causes the refreshed Selection List to contain the
minimum information.
LONG Causes the refreshed Selection List to contain the
maximum available information.
Note: QUICK, SHORT and LONG are mutually exclusive. If
omitted, the refreshed display contains the same extent of
information as was previously displayed.
LIB Required only when reattaching a Library Facility Selection List that
is not currently displayed.
When refreshing a Library Facility Selection List, the operation may
be qualified with:
DEFAULT Causes the refreshed Selection List to be reordered in
the sequence defined by the SET LIB ORDER
command. If SET LIB ORDER was never specified, the
Selection List is ordered in its default sequence (by
MEMBER name).
1.155.2 Notes
■ When the REFRESH command is issued, the Selection List is redisplayed
with the most current information reflected. This is useful when, for
example, you have been deleting or renaming multiple entries on the list.
1.155.2.1 Examples
1.156 RELEASE
Releases unused DASD space allocated to a data set.
1.156.1 Syntax
RELEASE Command
──RELEASE──Dsn──dsn─┬─────┬───┬────────────────┬───────────────
└─(v)─┘ └─Volume charstr─┘
──┬──────────────┬──┬──────────────┬───────────────────────────
└─UNIT charstr─┘ └─PSWd charstr─┘
Operand Description
dsn One- to 44-character fully qualified name of the sequential or
partitioned data set whose unused space is to be released. The
name may be qualified with:
v Relative generation number of the GDG (Generation Data
Group) data set for which unused space is to be released,
specified as 0 (most current) or a minus number (for example,
-1).
Volume One- to six-character serial number of the volume on which the
data set resides. Required if the data set is not cataloged.
(Abbreviate as VOL or V.)
UNIT One- to eight-character unit name associated with the device type
on which the data set resides. It may be either an IBM-defined
generic name (for example, 3380) or a site-defined esoteric name
(for example, SYSDA). Required if the data set is not cataloged and
resides on a mass storage device.
PSWd Password, established by the site, for the designated data set. If
omitted and a password is required, the release is denied.
1.156.2 Notes
Space is released on:
A track boundary if the extent containing the last record was allocated in
units of tracks or in units of average block length with
the ROUND parameter omitted.
A cylinder boundary if the extent containing the last record was allocated in
units of cylinders or in units of average block length
with the ROUND parameter specified.
Note: The ROUND parameter is not supported by the Data Set Facility
ALLOCATE command. It may be specified by the ETSO ALLOCATE
command or in a batch job by OS JCL.
1.157 RENAME
Used to rename one of the following:
■ An AWS
■ Data set, PDS member, AllFusion CA-Librarian module
■ Advantage CA-Roscoe library member
1.157.1.1 Syntax
Operand Description
aname1 Name of an existing AWS.
aname2 One- to eight-character new name to be assigned to the AWS. It
must conform to Advantage CA-Roscoe's member naming
conventions. The name may not be FLIP, NEXT, PREV, ROSn,
SYSn, or TMPn (where 'n' is a numeric value); nor may it be B, F,
N, P, T, or R.
If the name is specified as TEMP, a name is generated in the form
TMPn where 'n' is a unique character.
1.157.1.3 Example
1.157.2.1 Syntax
──┬────────────────┬───────────────────────────────────────────
│ ┌──
────────────┐ │
PSWd charstr┴─┘
└──
Operand Description
Dsn One- to 44-character fully qualified name of the data set to be
renamed. The name may be qualified with:
v Relative generation number of the GDG data set to
be renamed, specified as 0 (most current) or a minus
number (for example, -1).
dsnmem One- to eight-character name of the PDS member or
AllFusion CA-Librarian module to be renamed.
NEWNAME
One- to 44-character fully qualified new name for the data set.
The name may be qualified with:
+v Relative generation number to be assigned to GDG
data set, specified as a value between 1 and 255.
dsnmem One- to eight-character new member module name.
Volume One- to six-character serial number of the volume on which the
data set resides. One to six volumes may be specified. Required if
the data set is not cataloged. (The volume(s) must be mounted
and online.) (Abbreviate as VOL or V.)
UNIT One- to eight-character unit name associated with the device
type(s) on which the data set resides. It may be either an
IBM-defined generic name (for example, 3380) or a site-defined
esoteric name (for example, SYSDA). Required if the data set is
not cataloged and resides on a mass storage volume.
PSWd Password(s), established by the site, for the designated data set or
AllFusion CA-Librarian master file. If omitted and a password is
required, access is denied.
1.157.2.2 Notes
'Recatalog' Operation:
■ For SMS-managed data sets, a recatalog operations is always performed.
■ For non-SMS-managed data sets, a recatalog operation is performed if the
data set to be renamed is cataloged and the volumes on which the rename
is performed match those specified in the catalog.
1.157.2.4 Examples
1.157.3.1 Syntax
RENAME(LIB) Command
──RENAME──mem1──mem2──┬───────────┬──┬───────────────────┬─────
└─/charstr/─┘ ├─SEQ─┬──────────┬──┤
│ ├─s─┬───┬──┤ │
│ │ └─l─┘ │ │
│ └─COBOL────┘ │
└─NOSEQ─────────────┘
──┬────────────┬───────────────────────────────────────────────
├─Shared─────┤
├─Execonly───┤
└─Restricted─┘
Operand Description
mem1 Name of the existing library member.
mem2 New name for the library member. The name must comply with
Advantage CA-Roscoe's member naming conventions and must not
currently exist in the user's library.
/charstr/ One- to 30-character delimited description to be assigned to the
member.
SEQ Sets attribute to allow the insertion of sequence numbers when the
library member is submitted for background execution. With no
further qualification, causes sequence numbers to be placed in
columns 73 through 80. The qualifications are:
s l Starting column and length of the sequence number field.
The maximum length of the is field is 8 characters. If
omitted, the default is 8.
COBOL
Causes sequence numbers to be placed in columns 1
through 6.
NOSEQ Sets attribute to prevent the insertion of sequence numbers when
the library member is submitted for execution.
Shared Sets attribute to allow anyone to access or execute the member; only
the owner can change or delete it.
Execonly Sets attribute to allow anyone to execute the member; only the
owner can access, change or delete it. (This operand is intended for
RPF programs.)
Restricted
Sets attribute to allow only the owner to execute, access, change or
delete the member.
1.157.3.2 Notes
1.157.3.4 Examples
1.158 RENUMBER
Renumbers all or a range of lines within the active AWS. Optionally, changes
the increment used by COPY, INPUT, and MOVE and causes the sequence
numbers to be placed within the data.
1.158.1 Syntax
RENUMBER Command (Basic Form)
──Renumber──┬───┬──i──────────────────────────────────────────
└─V─┘
Operand Description
With no operand, changes both the starting value and increment to
100 and uses those values to renumber all of the lines within the
active AWS.
v i Starting number and increment value for the renumber operation.
The increment value cannot exceed six digits in length. If it is the
only value specified, it changes the increment value that is used the
next time data is added to the end of the AWS. (The AWS is not
renumbered.)
FRom Number of the first line to be included in the range of lines being
renumbered.
EXcl Number of the first line to be excluded from the range of lines
being renumbered.
TO Number of the last line to be included or excluded in the
renumbering operation. If omitted, the operation continues to the
end of the AWS.
1.158.2 Notes
Adding Sequence Numbers to AWS:
■ The sequence numbers associated with the data in the AWS are maintained
externally from the data itself. The numbers are shown with the data when
the data is displayed, SUBMITted or PRINTed.
■ To add the sequence numbers to the data in the AWS, use the IN operand.
WARNING:
If data exists in the designated columns, the data is overlaid by the
sequence numbers. Also, since these numbers become part of the data,
they are not affected by subsequent renumber operations.
Command Ignored:
■ If renumbering would result in a line number that exceeds the maximum
allowable line number, renumbering does not occur.
1.158.4.1 Examples
■ To renumber all of the lines in the AWS with a starting value of 100 and
an increment value of 100:
RENUMBER
■ To renumber all lines within the AWS with a starting value of 5 and
increment value of 10:
RENUMBER START 5 BY 1 or
RENUMBER START 5 1 or
RENUMBER 5 1
■ To change the increment value to 20 when data is added to the end of the
AWS by a COPY, INPUT, or MOVE operation:
RENUMBER BY 2 or RENUMBER 2
■ To renumber only lines 100 through 900 of the AWS with a starting value
of 10 and increment value of 5:
RENUMBER FROM 1 TO 9 START 1 BY 5
■ To renumber the entire AWS from 100 by 100 and have the sequence
numbers placed within columns 1 through 6:
RENUMBER START 1 BY 1 IN 1 6
1.159.1 Syntax
REPEAT line Commands
──┬─R─┬───┬───┬───────────────────────────────────────────────
│ └─v─┘ │
└─RR─┬───┬──┘
└─v─┘
Operand Description
R Single line to be repeated after itself.
RR Block of lines to be repeated. RR must be entered on the first and
last line of the block to be repeated.
v Number of times the line(s) are to be repeated. If omitted, the
line(s) are repeated once.
1.159.2 Notes
Repeating Multiple Lines:
■ When repeating multiple lines, the designated lines are repeated
immediately following the line containing the last RR command.
■ If a number is specified with both RR line commands, the first value is
used.
1.159.3.1 Example
1.160.1 Syntax
RESET Line Command
──RESET───────────────────────────────────────────────────────
1.160.2 Notes
Using RESET:
■ RESET may be specified in the sequence number field of the lines
designating the top and bottom of the active AWS. (The sequence number
field of these lines contain '......'.)
■ When RESET is entered,
– Any line commands that have not yet been executed are cancelled.
– Any primary commands that have not yet been executed are ignored.
– Any changes made to the data displayed in the Execution Area are
ignored.
Alternate Methods:
■ All pending line commands and errors are also cancelled by:
– Primary commands that cause the screen to be reattached.
– Deleting an entry by using the ERASE EOF key or the Delete key.
– Overtyping an invalid entry with blanks. (Overtyping the entry with
anything other than blanks does not cancel the pending line
command.)
1.161 RESUME
Resumes execution of a previously suspended ETSO application.
1.161.1 Syntax
RSUME Command
──RESUME──ETSO────────────────────────────────────────────────
1.161.2 Notes
Restriction:
■ This command is valid only when the Extended Time-Sharing Option
(ETSO) is active.
Suspended Applications:
■ If an application is suspended, the message ETSO PENDING is displayed
on the System Information Line. (Only applications using the ETSO
Application Programming Interface have the option of suspending
execution.)
■ To display information about suspended applications, issue the QUERY
CALL command.
1.162 RSHIFT
Shifts right all or a range of lines in the active AWS.
1.162.1 Syntax
RSHIFT Command
──RSHift── v──┬──────────┬──┬────────────┬──┬──────────┬──────
└─p─┬───┬──┘ └─BOUNDS s e─┘ └─TEXTStop─┘
└─q─┘
Operand Description
v Number of positions the line is shifted to the right.
p q Number of the first and last line to be shifted.
BOUNDS Number of the first and last column to be affected by the shift
operation. (Abbreviate as BNDS or B).
TEXTStop Designates that shifting stops for any line involved in the
operation if data would be shifted to the right of the specified or
default column boundary.
If omitted, data shifted to the right of the specified or default
column boundary is lost.
1.162.2 Notes
Column Boundaries:
■ Data that is outside of the current or default column boundaries is not
shifted. (By default, the column boundaries extend from column 1 through
80.)
1.162.4.1 Examples
■ To shift the contents of every line in the active AWS ten spaces to the right
(inserting blanks in the first 10 spaces):
RSHIFT 1
■ To shift the contents of lines 100 through 500 five spaces to the right:
RSHIFT 5 1 5
■ To shift the contents of columns 50 through 70 two spaces to the right:
RSHIFT 2 BOUNDS 5 7
■ To shift the contents of columns 50 through 70 ten spaces to the right as
long as this does not cause any data to be lost:
RSHIFT 1 BOUNDS 5 7 TEXTSTOP
If TEXTSTOP is omitted, any data shifted beyond column 70 is lost. With
TEXTSTOP, shifting stops when data is detected in column 70.
1.163 RUN
Initiates execution of a Monitor command.
1.163.1 Syntax
RUN Command
──RUN──charstr1─┬────┬───┬─────┬──┬──────────┬─────────────────
└─-p─┘ └─mem─┘ └─p──┬───┬─┘
└─q─┘
──┬────────────┬───────────────────────────────────────────────
└─/charstr2/─┘
Operand Description
charstr1 Name of the Monitor command to be executed. The name must
contain at least 3 characters and no more than 8 characters.
-p Processing option used by the command. There should be no
space between Monitor command name and -p.
mem Name of a library member to be used as input to the command.
If omitted, the contents of the active AWS is used as input to the
command.
p q Number of the first and last lines of the active AWS or library
member to be used as input to the command.
/charstr2/ String to be passed to the command. It may not exceed 200
characters in length.
1.163.2 Notes
Using RUN:
■ RUN can be used to invoke any Monitor routine. It is optional when the
input is from an inline string or the active AWS.
■ RUN is required when the input is from a library member or from a range
of lines in the active AWS or library member.
■ Appendix B contains information about the Monitor commands that use
the extended facilities provided by RUN.
Abbreviation:
■ RUN may be abbreviated as V.
1.163.3.1 Examples
■ To execute the EXPORT Monitor command using the contents of the active
AWS as input:
EXPORT-A or
RUN EXPORT-A
■ To execute the IMPORT Monitor command using an inline string as input:
IMPORT DSN=ROSCOE.SAMPLE or
RUN IMPORT /DSN=ROSCOE.SAMPLE/
■ To execute the EXPORT Monitor command using lines 500 through 700 of
the library member MYDSN as input:
RUN EXPORT-A MYDSN 5 7
1.164 SAVE
Places the contents of the active AWS into the library as a member.
1.164.1 Syntax
SAVE Command
──Save── mem──┬──────────┬──┬──────────┬───────────────────────
└─p──┬───┬─┘ └─/chrstr/─┘
└─q─┘
──┬───────────────────┬──┬────────────┬────────────────────────
├─SEQ─┬──────────┬──┤ ├─Shared─────┤
│ ├─s─┬───┬──┤ │ ├─Execonly───┤
│ │ └─l─┘ │ │ └─Restricted─┘
│ └─COBOL────┘ │
└─NOSEQ─────────────┘
Operand Description
mem Name to be assigned to the library member being created. The
name must comply with Advantage CA-Roscoe's member naming
conventions and must not currently exist in the user's library.
p q Number of the first and last lines within the active AWS to be
saved.
/charstr/ One- to 30-character description to be assigned to the member.
SEQ Sets attribute to allow the insertion of sequence numbers when the
library member is submitted for background execution. With no
qualification, causes sequence numbers to be placed in columns 73
through 80. The qualifications are:
s l Starting column and length of the sequence number
field.
The maximum length of the field is 8 characters. If
omitted, the default is 8.
COBOL Causes sequence numbers to be placed columns 1
through 6.
NOSEQ Sets attribute to prevent the insertion of sequence numbers when
the library member is submitted for execution.
Shared Sets attribute to allow anyone to access or execute the member; only
the owner can change or delete it.
Execonly Sets attribute to allow anyone to execute the member; only the
owner can access, change or delete it. (This attribute is intended for
RPF programs.)
Restricted
Sets attribute to allow only the owner to execute, access, change or
delete the member.
1.164.2 Notes
Member Naming Conventions:
■ A library member name must:
– Be one to eight unique character in length (the name must not already
exist in your library).
– Begin with an alphabetic or national character. The remainder of the
name may be any combination of alphanumeric or national characters.
Default Description/Attributes:
■ If no description or attributes are specified in the SAVE command, the
following applies:
– The member does not have a description.
– The member's sequence number attribute is the same as the sequence
attribute of the AWS when the data was saved. (The sequence attribute
of the AWS is SEQ 73 8 at sign-on. This can be changed by issuing a
SEQ or NOSEQ command or by fetching a library member with a
different attribute.)
– The member's access attribute is the site-defined default attribute. (This
can be changed by issuing the SET SAVEATTR command.)
Error Conditions:
■ If an error occurs, the contents of the AWS are retained in the AWS and
are not saved as the contents of a library member.
1.164.4.1 Examples
■ To save the entire contents of the active AWS as the member PROG:
SAVE PROG /SAMPLE COBOL PROGRAM/
■ To save lines 1200 through 3900 of the active AWS as the member TEST:
SAVE TEST 12 39 /TEST DATA FOR PROG/
1.165 SCALE
(Typewriter devices only.) Types out a scale line.
1.165.1 Syntax
SCALE Command
──SCALE───────────────────────────────────────────────────────
1.165.2 Note
■ The scale line is aligned with the data portion of a listing. For example:
....+....1....+....2....+.... 1 THIS IS DATA
1.166 SCREEN
Allows the terminal user to alter the number of rows and columns comprising
the display.
1.166.1 Syntax
SCREEN Command
──SCReen──┬───────────────────────┬──┬───────┬────────────────
├─2─────────────────────┤ └─CLEAR─┘
├─3─────────────────────┤
├─4─────────────────────┤
├─5─────────────────────┤
├─Primary───────────────┤
├─Alter─────────────────┤
├─Flip──────────────────┤
└─Row v─┬────────────┬──┘
└─Column── v─┘
Operand Description
With no operand, resets the screen to its original size.
2 Sets the screen size to 24 rows by 80 columns.
3 Sets the screen size to 32 rows by 80 columns.
4 Sets the screen size to 43 rows by 80 columns.
5 Sets the screen size to 27 rows by 132 columns.
Primary Sets the screen to the primary size as defined by the site.
(Abbreviate as PRI or P.)
Alter Sets the screen to the alternate size as defined by the site.
(Abbreviate as ALT or A.)
Flip Reverses the screen size from primary to alternate or vice versa.
Row Number of rows to be included in the display. The number must
not be less than 11 or exceed the terminal constraints.
Column Number of columns to be included in the display. The number
must not be less than 80 or exceed the terminal constraints.
(Abbreviate as COL or C.)
CLEAR Clears the screen output buffer of any data before the command is
executed. Execution is not paused when the command is executed
from within an RPF program.
1.166.2 Notes
Restrictions:
■ SCREEN may not be used when:
– A partial-screen split is in effect.
– The screen was split using :S or :W.
– A full-screen split is in effect and an RPF program executing in either
screen contains a SET SCREEN NOMODIFY. (The SET SCREEN
command is described in the RPF Language Guide.)
– Accessing Advantage CA-Roscoe through XTPM.
■ If multiple commands are entered in the Command Area, any command(s)
following SCREEN is ignored.
Using 2, 3, 4 Or 5:
Using ROW And COLUMN: The operands ROW and COLUMN can be used
at any:
■ IBM terminal that supports the create-partition structured field.
■ IBM terminal that supports the specified number as either the primary or
alternate screen size.
Using CLEAR:
■ When the SCREEN command is executed from within a RPF program,
program execution is paused. When a program is paused, the user can
enter any Advantage CA-Roscoe command. This presents a problem for
sites with restricted users. If the pause is permitted, the site's control of the
restricted user's session is bypassed.
The Scroll Line commands are discussed individually on the following pages.
1.167.1.1 Syntax
Operand Description
* Line containing * is to be scrolled to the top of the screen display. *
may be qualified with:
+v Number of lines forward from the line containing the * to
obtain scroll location.
-v Number of lines backward from the line containing the * to
obtain scroll location.
v Number of the line that is to be scrolled to the top of the screen
display. Leading zeros are optional.
1.167.1.2 Examples
■ To scroll the line five lines after line 11000 to the top of the display:
■ To scroll the line four lines before line 11000 to the top of the display:
1.167.2.1 Syntax
Operand Description
+P Scroll forward one or v number of pages.
-P Scroll backward one or v number of pages.
1.167.2.2 Notes
1.167.2.3 Examples
1.167.3.1 Syntax
Operand Description
B- Scroll to the bottom. Can be qualified with:
v Number of lines to be subtracted from the bottom to obtain
the scroll location.
T+ Scroll to the top. Can be qualified with:
v Number of lines to be added to the top to obtain the scroll
location.
1.167.3.2 Note
■ The Program Function (PF) keys may also be used to scroll the display.
1.167.3.3 Examples
1.168 SDSN
|
| Invokes an RPF that saves or updates data set edit information and
| discontinues the data set editing session.
|1.168.1 Syntax
|
| SDSN Command
| ──SDSN──┬────────────────┬────────────────────────────────────
| │ ┌──
──────┐ │
|
chrstr┴──┘
└─PSWd──
| Operand Description
| PSWd Password(s), established by the site, for the designated data set or
| AllFusion CA-Librarian master file. If omitted, and a password is
| required, access is denied.
| If one password is specified, it is treated as the data set or
| AllFusion CA-Librarian master file module password.
| If two passwords are specified, the first is treated as the data set
| password, and the second is treated as the AllFusion CA-Librarian
| password.
1.169 SEARCH
Displays only those lines of the active AWS that contain a specific string.
1.169.1 Syntax
──SEArch─────────────────────────────────────────────────────────────
──┬───────────────────────────────────────────────────────────┬──────
├─F─────────────────────────────────────────────────────────┤
├──┬───┬─e──────────────────────────────────────────────────┤
│ └─s─┘ │
└─/string/─┬──────────┬──┬─────────┬──┬─────────┬──┬─────┬──┘
└─p──┬───┬─┘ └─LITeral─┘ └─context─┘ └─Mix─┘
└─q─┘
Operand Description
F Terminates SEARCH after displaying the first line that does not
contain the specified string.
s e Number of the starting and ending columns to be searched for the
string. If only one number is specified, it is assumed to be the
ending column. The ending column cannot exceed 255.
/string/ Search string, which may not exceed 80 characters in length and
must be bound by delimiters.
p q Number of the first and last lines to be searched for the string. If
only one number is specified, only that line is searched.
LITeral Prevents the search string from being interpreted (for example,
X'C1' is to be treated as a character string; not as the hexadecimal
representation of the letter A). If omitted, the string is subject to
interpretation.
context Qualifies the search string within the data. If omitted, the search is
for the string exactly as entered. If specified, it must be one of the
following:
WORD Treat the string as a complete entity (it is preceded and
followed by a non-alphanumeric character). (Abbreviate
as WOR.)
BEGIN Treat the string as either beginning or being a complete
entity (it is preceded by a non-alphanumeric character
and followed by either an alphanumeric or
non-alphanumeric character). (Abbreviate as BEG.)
PREFIX Treat the string as beginning an entity (it is preceded by
a non-alphanumeric character and followed by an
alphanumeric character). (Abbreviate as PRE.)
1.169.2 Notes
■ At least one operand must be specified; F cannot be the only operand.
■ When a context qualifier is specified and the data being searched contains
strings that:
Begin at the left margin: The string is assumed to be preceded by a
non-alphanumeric (for example, a space).
End the record: The string is assumed to be followed by a
non-alphanumeric (for example, a space,
period, or comma).
Begin at the left search boundary:
The string must be preceded by a
non-alphanumeric.
End at the right search boundary:
The string must be followed by a
non-alphanumeric.
1.169.4.1 Examples
1.170 SELECT
Repositions the display between different levels. SELECT may be used in the
following ways:
■ To reposition the display between different occurrences of named AWSs
■ To reposition the display between different levels within the Data Set
Facility
■ To reposition the display between different levels within the Library
Facility
1.170.1.1 Syntax
Operand Description
ALT Causes the current STATUS AWS display to be changed to the
next sequential format. To display a specific format, specify:
v Number of the alternate display format.
aname Name of the AWS that is to be displayed.
PREV Causes the previously displayed AWS to be displayed.
NEXT Causes the next AWS to be displayed.
FLIP Causes the display to 'bounce' between the currently active AWS
and the previously active AWS.
*+v Causes the AWS that is v number of AWSs forward from the
currently active AWS to be displayed.
*-v Causes the AWS that is v number of AWSs backward from the
currently active AWS to be displayed.
NOPOINT Causes the internal SELECT pointer position to be ignored. If
omitted, the display begins with the line that had been the first
displayed line when the designated AWS was previously
displayed.
NOATTR Causes the attributes associated with the current AWS to remain
in effect when the designated AWS is activated. (The previously
defined attributes of the selected AWS are overridden.)
DISCARD Causes the currently active AWS to be discarded when the
designated AWS is activated.
1.170.1.2 Notes
Activating an AWS:
■ When an AWS is displayed using SELECT, it becomes the currently active
AWS.
■ SELECT fails if the designated AWS is active (currently displayed in either
split screen or being used by an executing RPF program).
■ If an AWS was created with the attribute:
– EXPLICIT - it can only be selected by its name (for example, SELECT
AWS TEST).
– IMPLICIT - it can be selected by the PREV, NEXT, and FLIP operands.
Using FLIP:
■ If you include FLIP when assigning this command to a PF key (for
example, LET PF2 = 'SELECT AWS FLIP'), you can 'bounce' between the
current and prior AWSs by pressing that PF key.
Using NOPOINT:
■ Advantage CA-Roscoe maintains two internal pointers for each AWS. One
pointer is used by SELECT to mark the line beginning the display. The
other pointer marks the line affected by the execution of a command.
■ The NOPOINT operand designates that the SELECT pointer position is to
be ignored. For example, assume that when the AWS named TEST1 was
last displayed, the display began with line 7200. Now assume that another
AWS is active and you issue the command:
POINT AWS TEST1 LINE 5
1.170.1.5 Examples
1.170.2.1 Syntax
Operand Description
DSN Required only when reattaching a data set object.
ALT Causes the current display to be changed to the alternate display
format. If there is no alternate format, the display is unchanged.
With the Menu: 'Bounces' the display between the last
available specific and generic data set
name.
With Selection Lists: Displays the next sequential alternate
format. To display a specific alternate
format, specify:
| v Number of the alternate display.
| Specifying 1 or 3 displays the last DSN
| wildcard to be selected.
| Specifying 2 or 4 displays the last fully
| qualified DSN to be selected.
With an AllFusion CA-Librarian module:
'Bounces' the display between the source
code and the module history records.
CAT Causes a previously displayed Catalog Selection List to be
redisplayed.
DIR Causes a PDS/LIBRARIAN Selection List to be displayed. It is
either:
■ The previously displayed PDS or AllFusion CA-Librarian
Selection List, or
1.170.3.1 Syntax
Operand Description
LIB Required only when reattaching the Library Facility.
ALT Causes the current display to be changed to the alternate display
format. If there is no alternate format, the display is unchanged.
To display a specific alternate format, specify:
| v Number of alternate format to be displayed.
| Specifying 1 displays the last fully qualified library member
| to be selected.
| Specifying 2 displays the last member selected by an RPF.
| Specifying 3 displays the last wildcard selection.
| Specifying 4 displays the last selection by prefix only.
With a Selection List: The next sequential or specific format is
displayed.
With the menu: 'Bounces' the display (sequentially or by
number) to show the different types of
available information.
DIR Causes the Library Selection List to be displayed.
MEMBER One- to eight-character name of the library member to be
displayed. (Use MEMBER when the member name matches a
command operand.)
MENU Causes the Library Facility menu to be displayed.
NEXT Causes the next function, specified on the last displayed Selection
List, to be performed.
PREV Causes the previous level in the processing hierarchy to be
redisplayed. If there is no previous level, the Library Facility
menu is displayed.
1.171 SEND
Sends a message to another Advantage CA-Roscoe terminal user.
1.171.1 Syntax
SEND Command
──SEND──┬─────┬──┬─KEY=key─┬──┬──────────┬──┬─────┬────────────
├─AWS─┤ └─PFX=pfx─┘ └─/string/─┘ └─NOW─┘
└─mem─┘
──┬─────────┬──────────────────────────────────────────────────
└─NODSPLY─┘
Operand Description
AWS Causes the contents of the active AWS to be used as the message.
mem Name of the library member containing the message.
Note: If neither AWS nor a library member name is specified,
the string operand is required.
KEY= Sign-on key of the person to receive the message.
PFX= 2- or 3-character Advantage CA-Roscoe prefix of the person to
receive the message.
string Note to be sent. It must be bound by delimiters and not exceed
64 characters in length.
NOW Causes the message to be transmitted only if the recipient of the
message is currently signed on and receiving messages. If the
recipient is not signed on or is not receiving messages, the sender
is notified and no message is transmitted.
NODSPLY Causes the message to be placed in the recipient's library member
ZZZZZMSG. No message is displayed on the Response Line of
the recipient's terminal.
1.171.2 Notes
To Send a One-Line Message:
■ Identify the recipient by that individual's sign-on key or prefix and include
a One- to 64-character message with the command.
■ The message is displayed on the Response Line the next time the recipient
presses Enter or any PF key.
1.171.3.1 Examples
1.172 SEQ
Sets the sequence number attribute for the active AWS and, optionally, places
sequence numbers in that AWS.
1.172.1 Syntax
SEQ Command
──SEQ──┬────┬──┬──────────┬───────────────────────────────────
└─IN─┘ ├─s─┬───┬──┤
│ └─l─┘ │
└─COBOL────┘
Operand Description
With no operand, sets the attribute to use columns 73 through 80 as
the sequence number field.
IN Causes the sequence numbers to be added to the contents of the
active AWS.
s l Number of the starting column and length of the sequence number
field. If the starting column is omitted, the default is 73. If the
length is omitted, the default is 8. (The maximum allowed length is
8.)
COBOL Sets the attribute to use columns 1 through 6 as the sequence
number field.
1.172.2 Notes
Attribute Setting:
■ The AWS sequence number attribute is used when the contents of the
AWS is PRINTed, SAVEd, or SUBMITted.
■ Once established, the attribute remains in effect until:
– Specifically changed by the NOSEQ command or different operands of
the SEQ command, or
– Overridden by the sequence attribute of a FETCHed or SAVEd library
member.
1.172.3.1 Examples
The list below summarizes the SET command parameters. Each use of the SET
command is described individually on the following pages.
1. To change or deactivate a special character that is to be used as the
command delimiter:
SET ...
| 2. To permit the user to specify what action is to be taken during the ALLOC
| Dsn command process for a data set migrated by the IBM product
| DFHSM.
| SET ALLRECALL ...
3. To deactivate or reactivate pausing command execution when the
ATTACH command is executed:
SET ATTACH ...
4. To control the automatic sign-off facility:
SET AUTOFF ...
5. To control the location of the cursor when lines are inserted for data entry:
SET AUTOINDENT ...
6. To control the number of lines to be inserted when lines inserted by a
prior I or IB line command are filled:
SET AUTOINSERT ...
7. To specify data protection and highlighting attributes for the active AWS:
SET AWSDSPLY ...
8. To set column boundaries that are to be used by any subsequent primary
or line command that edits, locates or shifts data:
SET BOUNDS ...
9. To designate the language character set representing the data that the user
can enter and display at the terminal:
SET CHARSET ...
10. To change the number of lines comprising the Command Area of the
screen:
SET CMDLINES ...
11. To designate the AWS that is to receive the data copied using :C:
SET COPYDEST ...
| 25. To permit the user to specify what action is to be taken during the ALLOC
| Dsn command process for a data set migrated by the IBM product
| DFHSM.
| SET INFRECALL ...
26. To change the default number of lines to be searched within attached job
output:
SET JOBCNT ...
27. To designate the Library Selection List display order:
SET LIB ORDER ...
28. To control expansion of AllFusion CA-Librarian -INC statements
encountered in submitted jobs:
SET MASTER ...
29. To designate the character translation mode:
SET MODE ...
30. To control the display of informational Monitor command messages
written to the terminal:
SET MONLEVEL ...
31. To control the display of informational Advantage CA-Roscoe command
messages written to the terminal:
SET MSGLEVEL ...
32. To designate the special character that is to be used when assigning
multiple commands to a PF/PA key:
SET PFKDELIM ...
33. To designate whether sequence numbers are to be printed on output when
the PRINT command is issued:
SET RPSDEF ...
To designate whether separator pages are to surround print requests
issued by the PRINT command:
SET RPSDEF ...
34. To change the current/default printing location that is to be used when the
PRINT command is issued:
SET RPSDEST ...
35. To designate whether a notification message is to be displayed after a print
request is printed:
SET RPSNOTIFY ...
36. To designate the default access attribute for a a new library member:
SET SAVEATTR ...
1.173.1 SET
1. To change or deactivate a special character that is to be used as the
command delimiter.
1.173.1.1 Syntax
SET Command
──SET──┬─x───┬────────────────────────────────────────────────
└─OFF─┘
Operand Description
x Any special character.
OFF Deactivates the command delimiter.
1.173.1.2 Notes
Default:
■ The ampersand (&) is the default command delimiter at sign-on (SET &).
Site management has the option of changing this default.
|1.173.2.1 Syntax
|
| SET ALLRECALL Command
| ┌─WAIT───┐
| ──SET ALLRECALL──┼─NOWAIT─┼───────────────────────────────────
| └─NONE───┘
| Operand Description
| WAIT Recall request made; user waits for it to complete. User can
| terminate wait by signalling attention interrupt. If this occurs,
| user regains control of terminal and the DFHSM request
| continues as a background request.
| NOWAIT Recall request made; user immediately regains control of
| terminal. (The user is informed of the number assigned by
| DFHSM to request.)
| NONE The user is informed that data set recalls are prohibited.
|1.173.2.2 Notes
| Default:
| ■ SET ALLRECALL WAIT is the default at sign-on.
| When an operation is requested for a migrated data set, the action performed
| depends on the current setting.
1.173.3.1 Syntax
Operand Description
PAUSE Reactivates the pause facility.
NOPAUSE Deactivates the pause facility.
1.173.3.2 Notes
Default:
■ SET ATTACH PAUSE is the default at sign-on.
1.173.4.1 Syntax
Operand Description
With no operand, resets the time limit to the site-default time
period.
ON Activates the automatic sign-off facility and sets the interval to the
site-defined default.
v Number of minutes of no activity to be allowed before the terminal
is signed off. The number of minutes must be specified as a
positive integer between 1 and the site- defined maximum. (The
site-defined maximum may be greater than the default time period.)
MAX Sets the time limit to the site-defined maximum.
OFF Deactivates the automatic sign-off facility. Valid only when the
user (not the site) enabled the facility.
1.173.4.2 Notes
Restriction:
■ Site management may restrict use of this command.
1.173.5.1 Syntax
Operand Description
OFF Deactivates the automatic indentation facility.
ON Activates the automatic indentation facility.
1.173.5.2 Notes
Default:
■ SET AUTOINDENT OFF is the default at sign-on. Site management has the
option of changing this default.
Abbreviation:
■ AUTOINDENT may be abbreviates as AIND.
1.173.6.1 Syntax
Operand Description
OFF Deactivates the automatic line insertion facility.
ON Activates the automatic line insertion facility with the current line
insertion value.
v Number of lines to be inserted, specified as a value between 1 and
256. Setting a value also activates the facility.
1.173.6.2 Notes
Defaults:
■ The defaults at sign-on are OFF and 1 (where 1 is the line insertion value
used if SET AUTOINSERT ON is issued). Site management has the option
of changing these defaults.
Abbreviation:
■ AUTOINSERT may be abbreviated as AINS.
1.173.7.1 Syntax
Operand Description
U Contents of the active AWS are unprotected when displayed.
UH Contents of the active AWS are unprotected and highlighted when
displayed.
S Contents of the active AWS are protected when displayed. (Data
cannot be entered into the active AWS and attached data cannot be
modified.)
SH Contents of the active AWS are protected and highlighted when
displayed. (Data cannot be entered into the active AWS and
attached data cannot be modified.)
1.173.7.2 Notes
Defaults:
■ SET AWSDSPLY U is the default at sign-on.
1.173.8.1 Syntax
Operand Description
With no operands, resets the range to the maximum for the data
that is currently attached (equivalent to SET BOUNDS OFF).
scope Qualify the operational range of this command.
If omitted and data is attached, the operation applies to the
currently attached data.
If omitted and no data is attached, AWS is assumed if the
command is entered from the terminal; ALL is assumed if the
command is executed from within an RPF program.
If specified, it must be:
ALL Designates that the operation of this command is to apply
to all forms of attached data.
AWS Designates that the operation of this command is to apply
only to the active AWS.
DSN Designates that the operation of this command is to apply
only to attached data sets.
JOB Designates that the operation of this command is to apply
only to attached job output.
LIB Designates that the operation of this command is to apply
only to attached library members.
OFF Causes the column range to be reset to the maximum for the
currently attached data. (NONE is a synonym for OFF.)
1.173.8.2 Notes
Default Settings:
■ At sign-on, the default column boundaries are:
AWS = 1-80
DSN = 1-32767
JOB = 1-255
LIB = 1-80
■ When SET DISPLAY NUMX is in effect, the current column boundaries are
displayed on the Scale Line.
Abbreviations:
■ SET BOUNDS may be abbreviated as SET BNDS or SET BND.
1.173.8.4 Examples
■ To set the column boundaries for the currently attached and displayed
data to 10 and 50:
SET BOUNDS 1 5
■ To set the column boundaries for the active AWS to 1 and 72; and the
boundaries for attached data sets and job output to 90 through 132:
SET BOUNDS AWS 1 72 DSN JOB 9 132
■ To set the column boundaries for the library member to 1 and 50:
SET BOUNDS LIB 1 5
or
SET BOUNDS LIB ,5
■ To set the column boundaries for the currently attached data to the
maximum and set the column boundaries for the active AWS to 7 and 72:
SET BOUNDS OFF AWS 7 72
1.173.9.1 Syntax
Operand Description
charstr One of the language character set codes that site management has
defined as valid at the site.
1.173.9.2 Notes
Default:
■ Unless overridden by the site, the default language character set code is
U.S. ENGLISH.
1.173.10.1 Syntax
Operand Description
v1 Numeric value between 1 and 3 designating the number of lines
that are to comprise the Command Area of the current presentation
area.
v2 Numeric value between 1 and 3 specifying the number of command
lines that are to be in each presentation area the next time the
screen is split.
CLEAR Clears the screen output buffer of any data before the command is
executed. Execution is not paused when the command is executed
from within an RPF program.
1.173.10.2 Notes
Default:
■ As distributed, the default is SET CMDLINES 3,1 (the current presentation
area contains three command lines and each presentation area when the
screen is split will contain one command line.) Site management has the
option of changing this default.
Abbreviation:
■ CMDLINES may be abbreviated as CMDL or CMDLINE.
1.173.11.1 Syntax
Operand Description
With no operand, removes the current destination.
aname Name of the AWS that is to receive the copied data.
1.173.11.2 Notes
Default:
■ As distributed, there is no default :C copy destination.
1.173.12.1 Syntax
Operand Description
With no operand, resets the cursor to the site default.
Init Causes the cursor to be placed in the first line of the Command
Area when data is initially attached. Thereafter, the cursor remains
in the area appropriate for the type of command just executed.
Home Causes the cursor to be placed in the first line of the Command
Area when data is initially attached. Thereafter, the cursor returns
to the Command Area following the execution of most primary,
Monitor or line commands. The only time the cursor is not returned
to the Command Area is when a command is entered that opens
the active AWS for data entry.
Data Causes the cursor to be placed in the first modifiable field of the
Execution Area when data is initially attached. Thereafter, the
cursor remains in the area appropriate for the type of command just
executed.
1.173.12.2 Notes
Default:
■ SET CURSOR INIT is the default at sign-on. Site management has the
option of changing this default.
Restriction:
■ The SET CURSOR command is recognized only when SET MODE NUMX
is in effect.
1.173.13.1 Syntax
Operand Description
American Displays the date in the form mm/dd/yy.
(Abbreviate as AMER or A.)
European Displays the date in the form dd/mm/yy.
(Abbreviate as EURO or E.)
International
Displays the date in the form yy-mm-dd.
(Abbreviate as INTL or I.)
Short Only the last two digits of the year are to be displayed (for
example, 89).
1.173.13.2 Notes
Default:
■ SET DATEFORM AMERICAN is the default at sign-on. Site management
has the option of changing this default.
Using SHORT/LONG:
| ■ The operands SHORT and LONG affect the results returned by the RPF
| function DATEFUN and various RPF variables. For information on the
| affected variables, refer to the Advantage CA-Roscoe RPF Language Guide.
1.173.14.1 Syntax
Operand Description
With no operands, resets the display margins for the currently
attached data to begin with the first position of the line and extend
the width of the terminal screen. (The format of the data and
display are unchanged.)
scope Qualify the operational range of this command.
If omitted and data is attached, the operation applies to the
currently attached data.
1.173.14.2 Notes
Display Margins:
■ Left Margin Only:
If only the left margin is specified (for example, SET DISPLAY AWS 12),
the display begins at the designated location and continues for the width
of the screen.
■ Right Margin Only:
If only the right margin is specified and the value is:
1. Greater than the current right margin, the display shifts so that the
displayed data ends at the new location. (For example, if the display
margins were 1 and 72 and SET DISPLAY, 120 is entered, the display
shifts to show columns 49 through 120.)
2. The same as the current right margin, the display remains unchanged.
3. Less than the current right margin, the display begins with the left
margins and continues to the value specified. (For example, if the
display margins were 1 and 72 and SET DISPLAY ,50 is entered, the
display shows only columns 1 through 50.)
Data Display:
■ When the sequence number display format is NONUM, NUM or NUMX,
data may be displayed in both character format and its hexadecimal
representation.
■ Modifying Data:
The contents of an attached library member, data set object or job output
file is never modifiable.
When the active AWS is attached and:
– NUM or NONUM is in effect, the character data is modifiable; the hex
data is not modifiable.
– NUMX is in effect, both the character data and its hexadecimal
representation are modifiable. (Exception: If the displayed data
includes characters that are not printable, the character display shows
a non-modifiable space. The hexadecimal representation of that
character is modifiable.)
■ Using SET DISPLAY HEX:
Note: HEX is ignored when the sequence number display format is
NUM2. The data is only displayed in character format.
While HEX is in effect, no character translation is performed even if SET
MODE BASIC is in effect. This means that if a lowercase alphabetic
character is entered, it is not translated to uppercase.
Assume that the currently attached data contains the following two lines
when SET DISPLAY HEX is entered:
1 ABCDEFG
2 1234567
The resulting display looks like:
1 ABCDEFG
4CCCCCCC4444444444444444444444444...
1234567...
_________________________________...
2 1234567
FFFFFFF4444444444444444444444444...
91234567...
_________________________________...
If FLIP is specified before either HEX or CHAR and this command is
assigned to a PF key, the display can be 'bounced' between a character
format display and a hexadecimal representation every time the PF key is
pressed.
1.173.14.4 Examples
■ To set the display margins for the active AWS to 10 and 50:
SET DISPLAY AWS 1 5
■ To set the display margins for attached data sets and job output to begin
in column 50 and extend the width of the terminal screen:
SET DISPLAY DSN JOB 5
■ To set the display margins for attached library members to 1 and 50:
SET DISPLAY LIB ,5
■ To set the display margins for attached job output to begin with column 7
and have the data displayed in both character format and its hexadecimal
representation:
SET DISPLAY JOB 7 HEX
■ To set: 1) the display margins for the currently attached data to 7 and 72
and have the sequence number field unprotected and 2) the attached job
output display to character format only:
SET DISPLAY 7 72 NUMX JOB CHAR
■ To change the assignment of PF1 to allow the display to be 'bounced'
every time the key is pressed:
LET PF1 = 'SET DISPLAY FLIP NUM NUMX'
|1.173.15.1 Syntax
|
| SET DSN ORDER Command
| ──SET DSN ORDER──┬──────┬──┬─────────┬──┬─────────┬────────────
| └─list─┘ ├─BY──────┤ └─fldname─┘
| └─DEFAULT─┘
| ──┬────────────┬──┬──────────────┬─────────────────────────────
| ├─ASCending──┤ └─Cols─┬───┬─e─┘
| └─DEScending─┘ └─s─┘
| Operand Description
| list Designates the selection list type to be reordered. If omitted, the
| current selection list is reordered.
| VOLLIST Volume selection list.
| CATLIST Cataloged data set selection list.
| PDSLIST Partitioned data set selection list.
| LIBLIST AllFusion CA-Librarian module selection list.
| LODLIST Load member selection list.
| VTOLIST VTOC data set selection list.
| BY Optional extra-word, permitted for continuity.
| DFLT Designates that the selection list is to be ordered by the default sort
| criteria.
| List Default
| CATLIST Data-set-name
| PDSLIST MEMber
| LIBLIST MEMber
| LODLIST MEMber
| VTOLIST Data-set name
| fieldname
| Designates the field to be reordered. If omitted, the DFLT field is
| reordered. If specified, it must be one of the following:
| For VOLLIST:
| VOLume Field containing volume serial name. Volume may
| be specified in the following ways: VOLUME, VOL.
| UNIT Field containing the volume unit address.
| DEVTYPE Field containing the device type.
| CONTG-CYL Field containing the number of contiguous
| cylinders. Contiguous cylinders may be specified
| in the following ways: CONTG-CYL, CYL-CONTG.
| AVAIL-CYL Field containing the number of available cylinders.
| Available cylinders may be specified in the
| following ways: AVAIL-CYL, CYL-AVAIL.
| CONTG-TRK Field containing the number of contiguous tracks.
| Contiguous tracks may be specified in the
| following ways: CONTG-TRK, TRK-CONTG.
|1.173.15.2 Notes
|1.173.15.3 Usage
| To use the '&' within the ORDER command, the command delimiter must be
| set another character.
1.173.20.1 Syntax
Operand Description
Error Causes the member ZZZZZCMP to be created/updated only when
a request fails.
1.173.20.2 Notes
Default:
■ SET DSNCMLST ERROR is the default at sign-on. Site management has
the option of changing this default.
Member ZZZZZCMP:
■ The member ZZZZZCMP is used to contain diagnostic messages resulting
from performing a Data Set Facility compress request.
1.173.21.1 Syntax
Operand Description
With no operand, resets the search limit to the site default.
v Number of lines to be searched. The number must be a positive
integer between 1 and the site-defined maximum. (The site-defined
maximum is usually greater than the default number of lines.)
MAX Sets the number of lines to the site-defined maximum.
1.173.21.2 Notes
Restrictions:
■ Use of this command may be restricted by site management.
1.173.22.1 Syntax
Operand Description
OFF Prohibits attempts to read a data set that is marked as empty.
ON Causes an attempt to be made to read a data set that is marked as
empty.
1.173.22.2 Notes
Default:
■ SET DSNEMPTY OFF is the default at sign-on. Site management has the
option of changing this default or restricting the use of this command.
1.173.23.1 Syntax
Operand Description
WAIT Recalls data sets using foreground requests.
NOWAIT Recalls data sets using background requests.
NONE Prohibits data sets from being recalled.
1.173.23.2 Notes
Default:
■ SET DSNRECALL WAIT is the default at sign-on.
WAIT The recall request is made and the user waits for it to complete.
The user can terminate the wait by signalling an attention
interrupt. If this occurs, the user regains control of the terminal
and the DFHSM request continues as a background request.
NOWAIT The recall request is made and the user immediately regains
control of the terminal. (The user is informed of the number
assigned by DFHSM to the request.)
NONE The user is informed that data set recalls are prohibited.
1.173.24.1 Syntax
Operand Description
OFF Disables the change facility. May be qualified with:
RESET Resets the sequence number field.
ON Enables the change facility.
RESET Resets the sequence number field; the change facility remains
enabled.
1.173.24.2 Notes
Default:
■ SET EDITCHNG OFF is the default at sign-on. Site management has the
option of changing this default.
1.173.25.1 Syntax
Operand Description
DELETE1 Causes all or part of a line to be deleted.
If SET FILL BLANK is in effect and the left display margin is
column one, the entire line is deleted. If the left display margin is
not column one, data beyond the right display margin is not
deleted.
If SET FILL NULL is in effect, the cursor is in column one and
the left display margin is column one, the entire line is deleted. If
the cursor is positioned to any other column (regardless of the
left display margin), data beyond the right display margin is not
deleted.
DELETE Causes all or part of a line to be deleted.
If SET FILL BLANK is in effect, the entire line is deleted if all of
the data within the current display margins is erased.
If SET FILL NULL is in effect, the entire line is deleted if the
cursor is in the first displayed position (not necessarily column
one). If the cursor is placed anywhere else, the contents of the
line is deleted from the cursor position to the end of the display.
ERASE Causes the displayed contents of the line to be deleted.
If the cursor is in the first displayed position of the line (not
necessarily column one) when ERASE EOF is pressed, all of the
displayed data is deleted, the line itself remains. (Data to the
right or left of the current display margins is not deleted.)
If the cursor is in any other position, the data from the cursor
location to the right display margin is deleted.
1.173.25.2 Notes
Default:
■ SET EOF DELETE1 is the default at sign-on. Site management has the
option of changing this default.
1.173.26.1 Syntax
Operand Description
With no operand, resets .. as the escape indicator.
string One- to three-character string.
1.173.26.2 Notes
Default:
■ SET ESCAPE .. is the default at sign-on. Site management has the option of
changing this default.
Restriction:
■ This command is valid only when the Extended Time-Sharing Option
(ETSO) is active.
1.173.26.4 Examples
1.173.27.1 Syntax
Operand Description
Null Line is null filled.
Blank Line is blank filled. (To insert data in a line, blanks or other
characters must first be deleted.)
1.173.27.2 Notes
Default:
■ SET FILL NULL is the default at sign-on. Site management has the option
of changing this default.
■ While SET FILL can be entered from the terminal, it is meant for use
within RPF programs.
1.173.28.1 Syntax
Operand Description
With no operand, resets the Help search library to the site default.
| string Help library to be used, specified as:
pfx Prefix associated with user library that is to be treated as
Help library.
DFLT Causes site-defined Help library to be recognized. Ignored
if there is no site-defined library.
NONE Prevents the site-defined Help library from being
recognized. Ignored if there is no site-defined library.
| string2 Additional user specified Help library to be used, specified as:
| pfx Prefix associated with user library that is to be treated as
| Help library.
| DFLT Causes site-defined Help library to be recognized. Ignored
| if there is no site-defined user specified library.
| NONE Prevents the site-defined Help library from being
| recognized. Ignored if there is no site-defined user
| specified library.
1.173.28.2 Notes
Defaults/Maximums:
| ■ By default, one Help library is available. If your site has defined two
| library prefixes, you may establish two Help libraries, where:
1. both are user defined
2. one is user defined and the other is site defined
3. both are site defined
| If your site has only defined one Help prefix, any attempt to establish a
| second Help library is ignored.
Search Hierarchy:
■ If two Help libraries are in effect and a user enters a HELP command, the
search is:
1. The library associated with the first operand specified.
2. The library associated with the second operand specified.
■ When the first matching library member is found, the search ends and the
Help data is displayed.
Session Variables:
■ To identify the Help libraries currently in effect, use the three associated
session variables.
S.HELPPFX Displays the name(s) of the active Help libraries.
S.HELPPFX1 Displays the name of the Help library set by the
HELPPFX= startup parameter.
S.HELPPFX2 Displays the name of the Help library set by the
| HELPPFX1= startup parameter. If no user specified Help
| library has been defined, this is blank.
|1.173.29.1 Syntax
|
| SET INFRECALL Command
| ┌─WAIT───┐
| ──SET INFRECALL──┼─NOWAIT─┼───────────────────────────────────
| └─NONE───┘
| Operand Description
| WAIT Recall request made; user waits for it to complete. User can
| terminate wait by signalling attention interrupt. If this occurs,
| user regains control of terminal and the DFHSM request
| continues as a background request.
| NOWAIT Recall request made; user immediately regains control of
| terminal. (The user is informed of the number assigned by
| DFHSM to request.)
| NONE The user is informed that data set recalls are prohibited.
|1.173.29.2 Notes
| Default:
| ■ SET INFRECALL WAIT is the default at sign-on.
| When an operation is requested for a migrated data set, the action performed
| depends on the current setting.
1.173.30.1 Syntax
Operand Description
With no operand, resets the search limit to the site default.
v Number of lines to be searched. The number must be a positive
integer between 1 and the site-defined maximum. (The site-defined
maximum is usually greater than the default number of lines.)
MAX Sets the number of lines to the site-defined maximum.
1.173.30.2 Notes
Restriction:
■ Use of this command may be restricted by site management.
1.173.31.1 Syntax
Operand Description
With no operand, resets the Library Selection List order to the
default: ascending by MEMBER field.
fldname Designates the Selection List field that is to be sorted; all Library
Selection List displays are based on the order of this field. The
fields consist of the following:
MEMber
DESCription
LINes
ATR
SEQno
CREated
UPDated
ACCess
CRT
Note: The above field names may be abbreviated as shown (by
uppercase) or they may be specified in their entirety. See
the ORDER LIB command for further information.
ASCending Sorts the field in ascending order. (Specify ASCENDING or ASC.)
DEScending
Sorts the field in ascending order. (Specify DESCENDING or
DES.)
Col [ s ] e Reorders specific part(s) of fields by starting and ending column
boundaries. This enables sorting by prefixes, suffixes, or parts of
dates (days, months, years).
When specifying COLs, it must follow the field-name that
contains the columns to be reordered. (Specify COLS, COL, or C.)
Column counts start at the beginning of a field and end at the
end of that same field. They do not follow the number line count.
DEFAULT Resets the Library Selection List order to the default: ascending
by MEMBER field.
1.173.31.2 Notes
■ All Library Selection Lists are sorted based on this SET command.
■ The SET LIB ORDER command does not cause the Library ASP to become
active. However, if the Library Selection List is displayed, it is refreshed.
■ The information set with this command is recorded in the user's profile
area.
1.173.31.4 Example
1.173.32.1 Syntax
Operand Description
OFF Deactivates -INC expansion. The AllFusion CA-Librarian master file
name currently in effect is retained.
ON Reactivates -INC expansion. The previously specified AllFusion
CA-Librarian master file is used to handle -INC expansion.
string Name of the AllFusion CA-Librarian master file to be used to
expand -INC statements encountered in a submitted job. (The file
remains in effect until explicitly changed by another SET MASTER
command or until the user's session is terminated.) -INC expansion
is activated.
1.173.32.2 Notes
Default:
■ SET MASTER OFF is the default at sign-on. Site management has the
option of changing this default to enable -INC expansion and designate an
AllFusion CA-Librarian master file.
1.173.32.4 Example
■ To activate -INC expansion and use the AllFusion CA-Librarian master file
LIB.MAST.SAMPLE to expand -INC statements encountered in the active
AWS:
SET MASTER LIB.MAST.SAMPLE
SUBMIT
1.173.33.1 Syntax
or
or
Operand Description
Basic Character set is uppercase alphabetics, numerals and special
characters. (All terminal input is translated to uppercase.)
Standard Character set is reset to site-defined default.
Xtended Character set is uppercase and lowercase alphabetics, numerals and
special characters. (All uppercase and lowercase alphabetic
terminal input is retained exactly as entered. Commands, library
member names and required alphabetic operands are translated to
uppercase before interpreting them.)
| Nopreserve
| Non-displayable characters are translated to blanks when other data
| on the same line is entered/changed.
1.173.33.2 Notes
Defaults at Sign-on:
■ SET MODE BASIC
■ SET MODE NOPRESERVE
■ SET MODE NOMIX Site management has the option of changing all of the
above defaults.
Associated Variables:
■ Use the session variables S.TRANMODE and S.TRANND to check the
current setting of the translation modes command setting.
1.173.34.1 Syntax
Operand Description
Error Causes only error messages to be written to the terminal.
Info Causes informational and error messages to be written to the
terminal.
1.173.34.2 Notes
Default:
■ SET MONLEVEL ERROR is the default at sign-on. Site management has
the option of changing this default.
1.173.35.1 Syntax
Operand Description
Info Causes informational and error messages to be written to the
terminal.
Error Causes only error messages to be written to the terminal.
1.173.35.2 Notes
Default:
■ SET MSGLEVEL INFO is the default at sign-on.
If, for example, SUBMIT is executed from within an RPF program, the
resulting informational message could cause the program to be
interrupted.
– If a panel is active, displaying the message terminates the panel.
– If WRITEs/READs are being performed, the user could become
confused if a message is shown on the Response Line when a prompt
is displayed in the Execution Area.
■ SET MSGLEVEL ERROR suppresses these messages. When these messages
are suppressed, execution is not paused.
1.173.36.1 Syntax
Operand Description
charstr Special character that is to be used as the command delimiter in
PF/PA key assignments.
1.173.36.2 Notes
Default:
■ As distributed, the default is SET PFKDELIM /.
WARNING:
If SET PFKDELIM is used to change the delimiter, all of the PF/PA key
assignments containing multiple commands must be changed to use the
same delimiter.
|1.173.38 Syntax
|
| SET RPSDEF Command
| ──SET RPSDEF──┬─┬─NUM───┬─┬───────────────────────────────────
| │ └─NONUM─┘ │
| ├─┬─SEP───┬─┤
| │ └─NOSEP─┘ │
| └─DEFAULT───┘
| Operand Description
| NUM Causes 6-digit sequence numbers to be printed on output.
| NONUM Causes output to be printed without sequence numbers.
| SEP Causes separator pages to be printed, according to the CPEJECT=
| value.
| NOSEP Causes output to be printed without starting and trailing
| separator pages.
| DEFAULT Causes output to be printed with the default sequence number
| and separator page settings. (See the complete explanation of
| default in the notes below.)
|1.173.38.1 Notes
| Restriction:
| ■ Only one operand may be specified with each SET RPSDEF command. If
| you want to set sequence numbers and page separators, you must issue
| two SET RPSDEF commands.
| Default:
| ■ As distributed, the default setting for sequence numbers and separator
| pages is DEFAULT.
| Overriding RPSDEF:
| ■ If a PRINT command is issued containing the attributes NUM/NONUM or
| INSEP/NOSEP, the current RPSDEF values are overridden for that
| execution only.
1.173.39.1 Syntax
Operand Description
With no operand, resets the current printing location to the default
printing location.
string Name of the printing location that is to become the current printing
location.
1.173.39.2 Notes
1.173.40.1 Syntax
Operand Description
ON Notification messages are to be displayed.
OFF Notification messages are not to be displayed.
1.173.40.2 Notes
Restriction:
■ Site management has the option of restricting use of this facility.
■ If this facility is allowed, SET RPSNOTIFY can be used to change the
site-default for the terminal session.
Default:
■ As distributed, the default is SET RPSNOTIFY OFF. Site management has
the option of changing this default.
1.173.41.1 Syntax
Operand Description
Shared Sets the attribute to allow anyone to access or execute the member;
only the owner can change or delete it.
Restricted
Sets the attribute to allow only the owner of the member to execute,
access, change or delete the member.
1.173.41.2 Notes
Default:
■ SET SAVEATTR SHARED is the default at sign-on. Site management has
the option of changing this default.
1.173.42.1 Syntax
Operand Description
Full Causes the display to scroll one line less than the number of lines in
the Execution Area when a forward or backward scrolling key is
pressed.
Csr Causes the display to scroll to begin or end with the: 1) line
containing the cursor when a forward or backward scrolling key is
pressed, or 2) column containing the cursor when a left or right
scrolling PF key is pressed.
FRAme Causes the display to scroll the number of data lines in the
Execution Area when a forward or backward scrolling PF key is
pressed.
Half Causes the display to scroll one-half the number of lines in the
Execution Area when a forward or backward scrolling PF key is
pressed.
Page Causes the display to scroll the number of data lines in the
Execution Area when a forward or backward scrolling key is
pressed.
v Number of lines the display is to scroll when a forward or
backward scrolling PF key is pressed. The number must be an
integer between 1 and 9999.
1.173.42.2 Notes
Default:
■ SET SCROLL FULL is the default at sign-on. Site management has the
option of changing this default.
■ To change the scroll amount, the terminal user may either overtype the
SCRL field of the System Information Line or issue this command. (Any
of the values shown with this command may be entered in the SCRL
field.)
1.173.43.1 Syntax
Operand Description
scope Qualifies the operational range of this command. If omitted, the
operation applies to the currently attached data. If specified, it must
be one of the following:
AWS Designates that positioning is to apply to the active AWS.
(Abbreviate as A.)
DSN Designates that positioning is to apply to the attached data
set object. (Abbreviate as D.)
JOB Designates that positioning is to apply to the attached job
output. (Abbreviate as J.)
LIB Designates that positioning is to apply to attached library
members. (Abbreviate as L.)
position Designates the screen positioning that is to occur. If omitted, the
default is CJUSTIFIED (Conditional Justification). If specified, it
must be:
CJUSTIFIED Alters the display margins only if the matching
string does not fall within the current margins.
(Abbreviate as CJUST or CJ.)
JUSTIFIED Alters the display margins so that the first
character of the matching string begins in the
left-most position of the line. (Abbreviate as JUST
or JUS.)
1.173.43.2 Notes
Using NODBCS/DBCS:
■ The positioning keyword operands and NODBCS/DBCS are mutually
exclusive.
■ DBCS should only be specified by those individuals who have specified a
language character set that recognizes DBCS.
1.173.44.1 Syntax
Operand Description
ALL Permits all messages created by the SEND command to be
displayed at the terminal. (All messages added to the user's library
member ZZZZZMSG as appropriate.)
OPER Permits only those messages sent by the operator to be displayed.
(All messages are added to ZZZZZMSG.)
NONE Prohibits the display of any message. (All messages are added to
ZZZZZMSG.)
1.173.44.2 Notes
Default:
■ SET SEND ALL is the default at sign-on.
Member ZZZZZMSG:
■ If the display of messages is being restricted (by either NONE or OPR), the
user should periodically check the member ZZZZZMSG to see if any
activity has occurred. It is also a good practice to check this library
member when the display restriction is removed.
|1.173.45.1 Syntax
|
| SET SPLIT Command
| ──SET SPLIT──┬─FULL─┬─────────────────────────────────────────
| ├─CSR──┤
| └─PART─┘
| Operand Description
| FULL Requests a full-screen split regardless of cursor position.
|1.173.45.2 Notes
| Default:
| ■ SET SPLIT CSR is the default at sign-on. Site management has the option
| of changing the default.
| Partial-Screen Split:
| ■ To divide the screen equally:
| Position the cursor within the first or last 11 lines of the physical screen or
| to the middle of the screen and press the PF key assigned to SPLIT.
| ■ To divide the screen unequally:
| Position the cursor to any line other than those used to perform an equal
| (or full) screen split and press the PF key assigned to SPLIT.
1.173.46.1 Syntax
Operand Description
ASIS Causes only existing directory information to be updated.
1.173.46.2 Notes
Default:
■ SET STATS ASIS is the default at sign-on. Site management has the option
of changing the default.
1.173.47.1 Syntax
Operand Description
NOSeq Designates that sequence numbers are not to be included in the
data. Ignored if the AWS or member attribute is NOSEQ.
SEQ Designates that sequence numbers are to be included in the data
and placed in the location designated by the attribute. Ignored if
the AWS or member attribute is NOSEQ.
1.173.47.2 Notes
Default:
Restrictions:
■ Only one operand may be specified per command (for example, SET
SUBMIT SEQ INCLUDE is invalid).
■ At non-JES2 sites, it is invalid to attempt to set the width to a value other
an 80.
1.173.47.4 Examples
1.173.48.1 Syntax
Operand Description
ON At VTAM sites, causes Advantage CA-Roscoe's applid to be
displayed on the Response Line.
At BTAM sites, causes Advantage CA-Roscoe's jobname to be
displayed.
OFF Prevents the display.
1.173.48.2 Notes
Default:
■ The default at sign-on is site defined.
1.173.49.1 Syntax
Operand Description
With no operand, sets the inactivity period to the site-defined
default.
ON Activates the terminal lock facility and sets the inactivity period
to the site-defined default.
v Numeric value representing the number of minutes of inactivity
that may occur before the Terminal Lock screen is displayed.
MAX Sets the inactivity period to the site-defined maximum.
NOW Causes the Terminal Lock screen to be immediately displayed.
OFF Deactivates the terminal lock facility.
LOGoff Allows the OFF command to be entered on the Terminal Lock
screen.
NOLogoff Prohibits the OFF command from being entered on the Terminal
Lock screen. (Abbreviate as NOLOG or NOL).
1.173.49.2 Notes
Using LOGOFF/NOLOGOFF:
■ If SET TLOCK LOGOFF is in effect when the Terminal Lock screen is
displayed, the user has the option of entering either the appropriate
password or the OFF command.
■ If SET TLOCK NOLOGOFF is in effect, the user must enter the appropriate
password.
1.173.50.1 Syntax
Operand Description
ON Causes the user's prefix and sign-on key to be displayed on the
Response Line.
OFF Prevents the display.
1.173.50.2 Notes
Default:
■ The default at sign-on is site defined.
The Shift Line commands are discussed individually on the following pages.
1.174.1.1 Syntax
Operand Description
( Shift one line to the left.
(( Shift block of lines to the left. (( must be entered on the first and
last line of the block to be shifted. The range of lines does not have
to be displayed in its entirety on one screen. Scrolling and other line
commands can be performed while a line command is pending.
(B Shift all lines left from the line containing the command through
the last line of the active AWS.
(T Shift all lines left from the first line of the active AWS through the
line containing the command.
< Shift one line to the left - stopping if data is encountered.
<< Shift block of lines to the left - stopping if data is encountered. <<
must be entered on the first and last line of the block to be shifted.
<B Shift all lines left from the line containing the command through
the last line of the active AWS. (If data is encountered, the
operation stops.)
<T Shift all lines left from the first line of the active AWS through the
line containing the command. (If data is encountered, the operation
stops.)
v Number of positions to be shifted. If omitted, the data is shifted one
position to the left.
1.174.1.2 Notes
Protecting Data:
■ When the ( form of the line command is used, data shifted to the left of
the current column boundary is lost.
■ When the < form of the command is used, the operation terminates if data
would be shifted beyond the current left column boundary.
Column Boundaries:
■ Data that is outside of the current or default column boundaries is not
shifted. (By default, the column boundaries extend from column 1 through
80.)
■ To change the boundaries for the terminal session, use the SET BOUNDS
primary command or the BOUNDS line command. The range remains in
effect until changed by another SET BOUNDS primary command or
BOUNDS line command.
1.174.1.4 Example
■ Assume that the boundaries are set at positions 8 and 47 and that the
active AWS contains the following lines.
To shift line 100 thirty positions to the left or until data appears in the left
margin. To also shift lines 300 and 400 two positions to the left (with no
data protection):
1.174.2.1 Syntax
Operand Description
) Shift one line to the right.
)) Shift block of lines to the right. )) must be entered on the first and
last line of the block to be shifted. The range of lines does not have
to be displayed in its entirety on one screen. Scrolling and other line
commands can be performed while a line command is pending.
)B Shift all lines right from the line containing the command through
the last line of the active AWS.
)T Shift all lines right from the first line of the active AWS through the
line containing the command.
> Shift one line to the right - stopping if data is encountered.
>> Shift block of lines to the right - stopping if data is encountered. >>
must be entered on the first and last line of the block to be shifted.
>B Shift all lines right from the line containing the command through
the last line of the active AWS. (If data is encountered, the
operation stops.)
>T Shift all lines right from the first line of the active AWS through the
line containing the command. (If data is encountered, the operation
stops.)
v Number of positions to be shifted. If omitted, the data is shifted one
position to the right.
1.174.2.2 Notes
Protecting Data:
■ When the ) form of the line command is used, data shifted to the right of
the current column boundary is lost.
■ When the > form of the command is used, the operation terminates if data
would be shifted beyond the current right column boundary.
Column Boundaries:
■ Data that is outside of the current or default column boundaries is not
shifted. (By default, the column boundaries extend from column 1 through
80.)
■ To change the boundaries for the terminal session, use the SET BOUNDS
primary command or the BOUNDS line command. The range remains in
effect until changed by another SET BOUNDS primary command or
BOUNDS line command.
1.174.2.4 Example
■ Assume that the boundaries are set at positions 1 and 80 and that the
active AWS contains the following lines.
To shift line 100 seven positions to the right and to shift lines 300 and 400
two positions to the right. (Note that the ) form provides no data
protection):
1.175 SIGNON
Enables or disables the execution of a sign-on procedure at sign-on.
1.175.1 Syntax
SIGNON Command
──SIGNON──┬─────┬─────────────────────────────────────────────
└─mem─┘
Operand Description
With no operand, cancels the existing sign-on procedure without
substituting a new one.
mem Name of the library member to be used as the sign-on procedure.
1.175.2 Notes
Restriction:
■ Use of this command can be restricted by site management.
1.176 SORT
Invokes the system utility to sort the contents of the active AWS.
1.176.1 Syntax
SORT Command
──SORT──┬──────────────────────────────────┬──────────────────
└─┬──────┬──┬─────────┬──(s,l,f,c)─┘
└─SORT─┘ └─FIELDS=─┘
Operand Description
With no operand, issues a prompt.
SORT Optional.
FIELDS= Optional.
s Starting column number of the sort field.
l Length of the sort field.
f Format of the data in the sort field, specified as either:
CH Character
BI Binary
c Collating sequence, specified as either:
A Ascending
D Descending
1.176.2 Notes
Restrictions:
■ SORT is a user-contributed Monitor command. Site management has the
option of restricting use of this command.
Input Requirements:
■ If a prompt is issued, the input to SORT must begin in the first position of
the line.
■ The syntax shows only the major sort field. Any number of successive
minor sort fields can be specified, provided that the combined length of
the sort criteria does not exceed 200 characters.
1.176.2.1 Examples
1.177 SPACE
Displays the approximate number of free blocks remaining in the Advantage
CA-Roscoe library.
1.177.1 Syntax
SPACE Command
──SPACE───────────────────────────────────────────────────────
1.177.2 Notes
■ SPACE causes the following messages to be displayed on the Response
Line:
LIB8 nnnnn LIBRARY BLOCKS AVAILABLE
where 'nnnnn' is the appropriate number of remaining free blocks.
1.178 STATUS
Provides a variety of information about the user's session and activities during
the session.
The list below summarizes the STATUS command parameters. Each use of the
STATUS command is described individually on the following pages.
1. To display information about the active AWS plus AWSs that are currently
in use:
──STATUS AWS──┬──────┬──────────────────────────────────────────
└─LIST─┘
──STATUS SESSION──┬─────────┬───────────────────────────────────
├─charstr─┤
└─LIST────┘
──STATUS SYSTEM─────────────────────────────────────────────────
1.178.1.1 Syntax
Operand Description
With no operand, displays the status information where the portion
showing the AWS attributes is modifiable.
LIst Produces a non-modifiable display.
1.178.1.2 Notes
Scrolling Display:
■ 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.
Performing Functions:
■ Use this modifiable display to perform one or more of the following
functions by typing the appropriate code in the first field of the display:
A Attach AWS.
AT Alter AWS attributes. (Overtype appropriate field(s) within display
with the new attribute(s).)
D Delete AWS contents.
DS Delete AWS contents and discard AWS.
S Select AWS. (AWS is activated but not displayed.)
R Rename AWS. (Type the new AWS name in the STATUS field before
depressing Enter.)
X Terminate display.
* Position Selection List to begin with designated AWS.
1.178.2.1 Syntax
STATUS Command
──STAtus Command──────────────────────────────────────────────
1.178.2.2 Notes
Abbreviation:
■ COMMAND may be abbreviated as CMD, COM, or C.
1.178.3.1 Syntax
Operand Description
With no operand, produces a modifiable display showing the
current screen display formats. If a job is attached, displays the
information provided by STATUS JOB.
LIst Produces a non-modifiable display.
1.178.3.2 Notes
Scrolling Display:
■ The modifiable form of the display is scrollable if it exceeds the length of
the terminal screen.
■ The non-modifiable form (produced by the LIST operand) is not scrollable.
CURRENT DISPLAY
Left and right display margins temporarily set by the last
command that located data outside of the SET DISPLAY
boundaries or by the value typed in the COLS field.
Change: This field is not modifiable.
MODE Character translation mode.
Change: Overtype field with BASIC, XTENDED or
STANDARD; use SET MODE command. (If an AWS is
attached, the modifiable display provided by STATUS
AWS may be used.)
CURSOR Cursor location setting.
Change: Overtype field with HOME, INIT, or DATA; use
SET CURSOR command.
■ Other display values include:
– Current or default sequence number display setting.
Change: Overtype field with NUM, NUMX, NUM2 or NONUM; use
SET DISPLAY command. (If an AWS is attached, the modifiable
display provided by STATUS AWS may be used.)
– Current or default data display mode.
Change: Overtype field with CHAR or HEX; use SET DISPLAY
command. (If an AWS is attached, the modifiable display provided by
STATUS AWS may be used.)
– Current or default screen positioning to occur as a result of executing a
FIRST, NEXT, LAST, PREV, INCL, or EXCL primary command.
Change: Overtype field with CJUSTIFIED, JUSTIFIED, CENTERED, or
LOCKED; use SET SEARCH command. (If an AWS is attached, the
modifiable display provided by STATUS AWS may be used.)
1.178.4.1 Syntax
Operand Description
With no operand, displays information about the currently attached
job. If no job is attached, displays the information provided by
STATUS DISPLAY.
Job Required only when the attached job is not currently displayed.
May be qualified with:
* Begins display at the location within the most recently
attached job output file that was previously displayed.
1.178.4.2 Notes
Scrolling Display:
■ If the number of files in the job exceeds the number of display lines, the
display may be scrolled.
1.178.5.1 Syntax
Operand Description
With no operand, displays NOTE name information for the
currently attached data.
Dsn Required only when reattaching the Data Set Facility which is not
currently displayed.
Job Required only when reattaching the job that is not currently
displayed.
Lib Required only when reattaching the Library Facility which is not
currently displayed.
1.178.5.2 Notes
1.178.6.1 Syntax
Operand Description
charstr One to four characters uniquely identifying the option that is to
begin the display. If omitted, the display begins with the first line
of the display.
LIst Produces a non-modifiable display.
1.178.6.2 Notes
Scrolling Display:
■ The modifiable form of the display may be scrolled if it exceeds the length
of the terminal screen.
■ The non-modifiable form (produced by the LIST operand) is not scrollable.
CHAR SET Language character code representing the data that the
user can enter and display at the terminal.
Change: Overtype field with a language code defined
at your site; use SET CHARSET command. (If an AWS
is attached, the modifiable display provided by the
STATUS AWS command may be used.)
CMD LINE Two fields showing the current or default number of
lines comprising the Command Area in: 1) the current
presentation area, and 2) each presentation area when
the screen is next split.
Change: Overtype field(s) with numeric value between
1 and 3; use SET CMDLINES command.
COPYDEST Name of the AWS that is to receive data copied using
:C or (NONE) if no AWS has been designated.
Change: Overtype field with the name of an existing
AWS; use SET COPYDEST command.
CURREC Total number of lines that you have saved in the
library, or N/A if you have no library line limit
(MAXREC is NONE).
Change: This field is not modifiable.
DATE FMT Two fields where the first shows the current or default
format used when dates are displayed at the terminal,
and the second shows whether the year is displayed as
two or four digits.
Change: Overtype first field with AMERICAN,
EUROPEAN or INTERNATIONAL and second field
with SHORT or LONG; use SET DATEFORM
command. (STATUS SYSTEM shows the default
values).
DELIMITER Current or default special character used to separate
(delimit) commands when multiple commands are
typed in the Command Area.
Change: Overtype field with any special character or
OFF; use SET command.
DSNCMLST Current or default setting designating the type of
messages that are to be directed to the member
ZZZZZCMP following COMPRESS requests.
Change: Overtype field with INFO or ERROR; use SET
DSNCMLST.
DSNCNT Current or default number of lines to be searched
within an attached data set object.
Change: Overtype field with MAX or a numeric value
1.178.7.1 Syntax
1.178.7.2 Notes
1.179 SUBMIT
Submits the contents of the active AWS and one or more library members for
background execution.
1.179.1 Syntax
SUBMIT Command
──SUBmit──┬───────┬───────────────────────────────────────────
├─AWS───┤
│ ┌──
───┐ │
mem┴─┘
└──
Operand Description
With no operand, submits the contents of the active AWS.
AWS Causes the contents of the active AWS to be submitted.
Note: AWS can be specified alone or in conjunction with one or
more library member names.
mem Name of the library member to be submitted. A maximum of 21
library members can be specified, provided that the command fits
on a single line.
1.179.2 Notes
Syntax Checking:
■ Use the COBOL, JCK and PL/I syntax checkers to validate your jobs
before submitting them.
■ When a job stream is submitted, its first record is tested to see if it is a
valid JOB statement (it contains slashes in columns 1 and 2, followed
immediately by a valid job name, at least one space and the word JOB
followed by a space). If the JOB statement is invalid, the job is rejected.
■ The submitted job stream is not tested to see if it consists of one job or
multiple jobs.
■ A /* is appended to the end of the job stream.
■ A site-written validation routine can cause a job stream to be rejected. If
this occurs, a message is written to the terminal. The message originates
either from the site routine or from Advantage CA-Roscoe itself. If there is
a question about the reason for rejection, see your site management.
Notification Messages:
■ Sites have the option of allowing their users to receive notification at their
terminals when a job completes execution. When this facility is provided,
site management informs their users as to how to receive this notification.
1.179.3.1 Examples
1.180 SUFFIX
Suffixes all or a range of lines in the active AWS with a character string.
1.180.1 Syntax
SUFFIX Command
──SUFfix──/string/──┬──────────┬──┬─────────┬─────────────────
└─p──┬───┬─┘ └─LITeral─┘
└─q─┘
Operand Description
/string/ Prefix string, which may not exceed 80 characters in length and
must be bound by delimiters.
p q Number of the first and last lines to be suffixed. If only one number
is specified, only that line is suffixed.
LITeral Prevents the search string from being interpreted (for example,
X'C1' is to be treated as a character string; not as the hexadecimal
representation of the letter A). If omitted, the string is subject to
interpretation.
1.180.2 Notes
■ The suffix is not added to a line if that action would cause the line to
exceed 255 characters.
1.180.4.1 Example
■ To suffix lines 100 through 500 of the active AWS with the string 123:
SUFFIX /123/ 1 5
1.181 TAB
Establishes tab locations and changes the tab character.
1.181.1 Syntax
TAB Command
──TAB──┬─────┬────────────────────────────────────────────────
├─x───┤
│ ┌──
─┐ │
v┴─┘
└──
Operand Description
With no operand, cancels previously established tab positions.
x Special character or national currency symbol that is to be used as
the tab character.
v Number of the column at which a tab location is set. A maximum
of eight different tab locations can be defined.
1.181.2 Notes
At 3270-Type Terminals:
■ Tab Character:
The logical not sign (¬) is the default tab character. To change it, specify
TAB with only the desired special character (for example, TAB %).
■ Tab Locations:
To set or change tab locations, enter the TAB command with the
appropriate column numbers. When tab locations are in effect, the tab
character appears in the appropriate location(s) on the Scale Line.
To cancel existing locations, enter TAB with no operands.
■ Tabbing Data:
Once tab locations are established, the tab character can be used to format
the data:
– As you type it. After depressing the Enter key, the data is positioned
to begin at the appropriate location(s).
– After data is entered in the active AWS. The tab character must be
inserted before the column to which the subsequent data on the line is
to be positioned.
1.181.2.1 Example
■ To set the tab character to & and to set four tab locations:
TAB &
TAB 12 16 2 35
> AWS(AAA.SHIPRATE_ SCRL FULL COLS 7 78
> .<.1....+....2....+....3....+....4....+....5..
...... ============================ T O P ============
1 IDENTIFICATION DIVISION.
> AWS(AAA.SHIPRATE) SCRL FULL COLS 7 78
> .<.1.&..+&...&....+....3....&....4....+....5..
...... ============================ T O P ============
1 IDENTIFICATION DIVISION.
Each task and the corresponding command are discussed individually on the
following pages.
1.182.1.1 Function
1. To center the text on one or more lines within the active AWS.
1.182.1.2 Syntax
TXTCENT Command
──TXTCENT── p──┬───┬──┬────────────┬──────────────────────────
└─q─┘ └─BOUNDS s e─┘
Operand Description
p q Number of the first and last lines to be centered. If only one
number is specified, only that line is centered.
BOUNDS
Starting and ending column boundaries. (BOUNDS may be
abbreviated as BNDS.)
If omitted, the column boundaries that are currently in effect are
used (data found outside of those boundaries is not centered).
1.182.1.3 Notes
Column Boundaries:
■ Alphabetic characters that are outside of the current or default column
boundaries are not centered. (By default, the column boundaries extend
from column 1 through 80.)
■ To change the boundaries for:
– A single execution: Specify the BOUNDS operand of this command.
After the command executes, the previously established or default
range is restored.
– The terminal session: Use the SET BOUNDS primary command or the
BOUNDS line command. The range remains in effect until changed by
another SET BOUNDS primary command or BOUNDS line command.
1.182.1.6 Example
■ Assume that the active AWS contains the following lines and that the
column boundaries are set to columns 8 and 47. To center the text on lines
100 through 300 between the current column boundaries:
TXTCENT 1 3
> AWS(AAA.NOTES) SCRL FULL COLS 7 78
> .<.1....+....2....+....3....+....4....+.>..5..
...... ============================ T O P ============
1 THIS PROGRAM PRINTS AN ESTIMATED
2 SHIPPING COST REPORT. RATES
3 DEPEND ON WEIGHT OF ORDER AND
4 DISTRICT TO WHICH ORDER SHIPPED.
> AWS(AAA.NOTES) SCRL FULL COLS 7 78
> .<.1....+....2....+....3....+....4....+.>..5..
...... ============================ T O P ============
1 THIS PROGRAM PRINTS AN ESTIMATED
2 SHIPPING COST REPORT. RATES
3 DEPEND ON WEIGHT OF ORDER AND
4 DISTRICT TO WHICH ORDER SHIPPED.
1.182.2.1 Syntax
TXTFLOW Command
──TXTFLOW── p── q──┬────────┬──┬────────────┬─────────────────
└─Cols v─┘ └─BOUNDS s e─┘
Operand Description
p q Number of the first and last line to be reformatted.
COL Number of the column beyond which none of the designated text is
to appear.
If omitted and the command is executed from:
■ The terminal: The current or default right column or display
boundary is used whichever is less.
■ An RPF program: the current or default right column boundary
is used.
BOUNDS
Starting and ending column boundaries. (BOUNDS may be
abbreviated as BNDS.)
If omitted, the current or default column or display boundary is
used as the left boundary and the COLS value or its default is used
as the right boundary.
If specified:
1.182.2.2 Notes
Restriction:
■ TXTFLOW is not recognized when SET SEARCH DBCS is in effect.
Reformatting Text:
■ If the specified range of lines includes one or more paragraphs, the
integrity of each paragraph is maintained. The end of a paragraph is
indicated by:
– A blank line,
– A change in indentation, or
– The end of the active AWS.
■ A single space is used to separate words within a sentence.
■ Two spaces are inserted at the end of each sentence. The end of a sentence
is indicated by a period (.), colon (:), question mark (?) or exclamation
mark (!).
■ Consecutive spaces found within a line are retained.
■ Also see the 'Rules for Joining Lines' in the description of TXTJOIN.
Column Boundaries:
■ When TXTFLOW is executed from the terminal, text that is outside of the
current or default column or display boundaries is not reformatted. (By
default, the column boundaries extend from column 1 through 80.) When
TXTFLOW is executed from within an RPF program, the display
boundaries have no affect.
■ To change the boundaries for:
A single execution: Specify the BOUNDS operand of this command.
After the command executes, the previously
established or default range is restored.
The terminal session: Use the SET BOUNDS primary command or the
BOUNDS line command. The range remains in
effect until changed by another SET BOUNDS
primary command or BOUNDS line command.
■ The reformatted lines:
– Begin at the default or current left column or display boundary. (The
display boundary has no affect when TXTFLOW is executed from
within an RPF program.)
EXCEPTION: If the text begins inside of the left column boundary, the
reformatted lines begin at the column which 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 also begin in column 15.
– End at the default or current right column boundary or right display
margin, whichever is less. For example, if the terminal screen displays
72 characters and the right column boundary is set to:
Column 50 the reformatted text stops at column 50.
Column 80 the reformatted text stops at column 72.
■ If the COLS operand is specified, the command is ignored if the specified
value is beyond the right boundary margin.
1.182.2.5 Example
■ Assuming the boundaries are set at columns 8 and 47, to reformat the text
so that no text extends beyond column 30:
TXTFLOW 1,, COL 3
> AWS(AAA.SHIPRATE) SCRL FULL COLS 7 78
> .<.1....+....2....+....3....+....4....+.>..5..
...... ============================ T O P ============
1 THIS PROGRAM PRINTS AN ESTIMATED
2 SHIPPING COST REPORT.
21 SHIPPING RATES
3 DEPEND ON WEIGHT OF ORDER AND
4 DISTRICT TO WHICH ORDER SHIPPED.
> AWS(AAA.SHIPRATE) SCRL FULL COLS 7 78
> .<.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
5 ORDER AND DISTRICT TO
6 WHICH ORDER SHIPPED.
■ To then reformat the text so that no text extends beyond column 47:
TXTFLOW 1,, COL 47
The resulting display would look like:
> AWS(AAA.SHIPRATE) SCRL FULL COLS 7 78
> .<.1....+....2....+....3....+....4....+.>..5..
...... ============================ T O P ============
1 THIS PROGRAM PRINTS AN ESTIMATED
2 SHIPPING COST REPORT. SHIPPING RATES
3 DEPEND ON WEIGHT OF ORDER AND DISTRICT
4 TO WHICH ORDER SHIPPED.
1.182.3.1 Syntax
TXTJOIN Command
──TXTJOIN──p──┬───┬──┬────────────┬──┬─CURSOR─┬───────────────
└─q─┘ └─BOUNDS s e─┘ └─Cols v─┘
Operand Description
p q Number of the first and last line to be joined. If only one number is
specified, the operation affects two lines. The line identified by p
and the line immediately following it.
BOUNDS
Starting and ending column boundaries. (BOUNDS may be
abbreviated as BNDS.)
If omitted, the 'next' line is joined to the first at the point indicated
by the COLS value and continues until the end of the 'next' line or
the left boundary is reached.
If specified:
■ The starting column boundary (s) must be less than or equal to
the COLS value.
It indicates the left-most position at which the text is to be
joined.
■ The ending column boundary (e) must be equal to or greater
than the COLS value.
It indicates the right-most position of the text that is to be
included in the operation.
CURSOR Causes the 'next' line to begin immediately after the cursor's
position.
COLS Number of the column after which the 'next' line is to be joined to
the first.
If omitted, the data from the 'next' line is placed one position after
the last character on the designated line.
If specified and data appears in or after the position identified by
COLS, that data is overlaid by the data from the 'next' line.
1.182.3.2 Notes
■ If there is a space, the first word within the column boundaries of the
second line is then examined.
– If it is longer than the area remaining on the first line, the command is
ignored.
– If the word can be joined, it is placed immediately after the space on
the first line; the remaining words on the second line are shifted left to
the column boundary.
The next word on the second line is then examined. If it and a preceding
space will fit within the remaining space on the first line, it is joined to the
first and the remaining words on the second line are shifted left. If the
word does not fit, the command is ignored. This process continues until
the two lines are joined or until the next word on the second line does not
fit on the first.
Column Boundaries:
■ Text that is outside of the current or default column boundaries is not
affected. (By default, the column boundaries extend from column 1
through 80.)
■ To change the boundaries for:
A single execution: Specify the BOUNDS operand of this command.
After the command executes, the previously
established or default range is restored.
1.182.3.5 Example
■ Assuming the boundaries are set to columns 8 and 47, to join line 2 and
the 'next' line (line 3):
TXTJOIN 2
> AWS(AAA.SHIPRATE) SCRL FULL COLS 7 78
> .<.1....+....2....+....3....+....4....+.>..5..
...... ============================ T O P ============
1 THIS PROGRAM PRINTS AN ESTIMATED
2 SHIPPING COST REPORT.
3 SHIPPING RATES
4 DEPEND ON
5 WEIGHT OF ORDER AND
6 DISTRICT TO WHICH ORDER SHIPPED.
> AWS(AAA.SHIPRATE) SCRL FULL COLS 7 78
> .<.1....+....2....+....3....+....4....+.>..5..
...... ============================ T O P ============
1 THIS PROGRAM PRINTS AN ESTIMATED
2 SHIPPING COST REPORT. SHIPPING RATES
4 DEPEND ON
5 WEIGHT OF ORDER AND
6 DISTRICT TO WHICH ORDER SHIPPED.
■ Continuing the example above, to join lines 4 and 5 and have the text from
line 5 begin one position after column 20 on line 4:
TXTJOIN 4 COL 20
The resulting display would look like:
> AWS(AAA.SHIPRATE) SCRL FULL COLS 7 78
> .<.1....+....2....+....3....+....4....+.>..5..
...... ============================ T O P ============
1 THIS PROGRAM PRINTS AN ESTIMATED
2 SHIPPING COST REPORT. SHIPPING RATES
4 DEPEND ON WEIGHT OF ORDER AND
6 DISTRICT TO WHICH ORDER SHIPPED.
1.182.4.1 Syntax
TXTLCASE Command
──TXTLCASE──p──┬───┬──┬────────────┬──────────────────────────
└─q─┘ └─BOUNDS s e─┘
Operand Description
p q Number of the first and last line to be translated. If only one
number is specified, the operation affects only that line.
BOUNDS
Starting and ending column boundaries. (Abbreviate as BNDS.)
If omitted, alphabetic characters outside of the current boundary
setting are not translated.
1.182.4.2 Notes
Restriction:
■ TXTLCASE is not recognized when SET SEARCH DBCS is in effect.
TXTLCASE is sentence-sensitive.
■ It ensures that each new sentence begins with a capital letter. (The end of
a sentence is indicated by a period (.), colon (:), question mark (?) or
exclamation mark (!).)
■ EXCEPTIONS:
1. If a new sentence is preceded by a character that does not have a
lowercase equivalent (for example, 1 or *), the first letter of the new
sentence is not capitalized.
2. If a character does not have a corresponding lowercase character, it is
not translated.
Column Boundaries:
■ Alphabetic characters that are outside of the current or default column
boundaries are not translated. (By default, column boundaries extend
from column 1 through 80.)
■ To change the boundaries:
A single execution: Specify the BOUNDS operand of this command.
After the command executes, the previously
established or default range is restored.
The terminal session: Use the SET BOUNDS primary command or the
BOUNDS line command. The range remains in
effect until changed by another SET BOUNDS
primary command or BOUNDS line command.
1.182.5.1 Syntax
TXTSPLIT Command
──TXTSPLIT──p──┬───┬──┬────────────┬──┬─CURSOR─┬──────────────
└─q─┘ └─BOUNDS s e─┘ └─Cols v─┘
Operand Description
p q Number of the first and last lines to be split. If only one number is
specified, only that line is split.
BOUNDS
Starting and ending column boundaries. (Abbreviate as BNDS.)
If omitted, the line is split at the point indicated by the COLS value
and the 'next' line begins at the current left boundary.
If specified:
■ The starting column boundary (s) marks the position at which
the text is to begin; s must be less than or equal to the COLS
value.
■ The ending column boundary (e) marks the right-most position
of the text that is to be included in the operation; e must be
equal to or greater than the COLS value.
CURSOR Causes the text to be split at the location at which the cursor is
positioned.
COLS Number of the column at which the split is to occur.
1.182.5.2 Notes
Splitting Text:
■ Either the CURSOR or COLS operand must be used to indicate where the
text is to be split. Text from the designated position to the right boundary
is moved to begin at the left boundary of the 'next' line.
Using the CURSOR Operand:
■ When CURSOR is used, the line numbers included with the command may
be specified as * (indicating the line containing the cursor) and ,,
(indicating the last line of the active AWS). For example,
TXTSPLIT ,, CURSOR
causes every line (from the line containing the cursor) through the end of
the active AWS to be split at the point where the cursor is positioned.
■ CURSOR is especially useful when the command is assigned to a PF key.
For example, assume that PF5 is assigned the value:
LET PF5 = 'TXTSPLIT CURSOR'
and the cursor is positioned to column 30 of a line. The line containing the
cursor is split at column 30 when PF5 is pressed.
■ If specific line numbers are specified with the command and the cursor is
not positioned to the first (or only) specified line, the command is ignored.
Column Boundaries:
■ Text that is outside of the current or default column boundaries is not
affected by this command. (By default, the column boundaries extend
from column 1 through 80.)
■ To change the boundaries for:
A single execution: Specify the BOUNDS operand of this command.
After the command executes, the previously
established or default range is restored.
The terminal session: Use the SET BOUNDS primary command or
BOUNDS line command. This range remains in
effect until changed by another SET BOUNDS
primary command or BOUNDS line command.
■ The value specified with the COLS operand must be within the column
boundaries that are currently in effect.
1.182.5.5 Examples
■ Assuming the boundaries are set to columns 8 and 47, to split line 200 at
column 31 so that everything from that position to right boundary begins
at the left boundary of the 'next' line:
TXTSPLIT 2 COL 31
> AWS(AAA.SHIPRATE) SCRL FULL COLS 7 78
> .<.1....+....2....+....3....+....4....+.>..5..
...... ============================ T O P ============
1 THIS PROGRAM PRINTS AN ESTIMATED
2 SHIPPING COST REPORT. RATES
3 DEPEND ON WEIGHT OF ORDER AND
4 DISTRICT TO WHICH ORDER SHIPPED.
> AWS(AAA.SHIPRATE) SCRL FULL COLS 7 78
> .<.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.
■ To split line 300 at column 18 and have the text from that position through
column 45 moved to the next line, beginning in column 10:
TXTSPLIT CURSOR BOUNDS 1 45
> AWS(AAA.SHIPRATE) SCRL FULL COLS 7 78
> .<.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.
> AWS(AAA.SHIPRATE) SCRL FULL COLS 7 78
> .<.1....+....2....+....3....+....4....+.>..5..
...... ============================ T O P ============
1 THIS PROGRAM PRINTS AN ESTIMATED
2 SHIPPING COST REPORT.
21 RATES
3 DEPEND ON
31 WEIGHT OF ORDER AND
4 DISTRICT TO WHICH ORDER SHIPPED.
■ To split multiple lines (for example, 600 through the end of the active
AWS) at column 40 and have the text from that position through column
50 of each line moved to the 'next' line, beginning in column 20:
TXTSPLIT 6,, COL 4 BOUNDS 2 5
──┬─TC─┬───┬──┬─────────────────────────────────────────────────
│ └─v─┘ │
├─TCC───────┤
├─TCB───────┤
└─TCT───────┘
2. To open the Execution Area so that 'power typing' may be used to enter
data, use:
──TE────────────────────────────────────────────────────────────
──TF──┬───┬─────────────────────────────────────────────────────
└─v─┘
──TJ──┬───┬─────────────────────────────────────────────────────
└─v─┘
──TLC───────────────────────────────────────────────────────────
6. To split one text line into two and, optionally, insert one or more blank
lines between the split lines, use:
──TS──┬───┬─────────────────────────────────────────────────────
└─v─┘
Each task and the corresponding command are discussed individually on the
following pages.
1.183.1.1 Syntax
Operand Description
TC Center one line. To center multiple lines, specify:
v Number of lines to be centered.
TCC Center block of lines. TCC must be entered on the first and last line
of block to be centered. The range of lines does not have to be
displayed in its entirety on one screen. Scrolling and other line
commands can be performed while a line command is pending.
TCB Center all lines from the line containing the command through the
last line of the active AWS.
TCT Center all lines from the first line of the active AWS through the
line containing the command.
1.183.1.2 Notes
Column Boundaries:
■ Alphabetic characters that are outside of the current or default left or right
column boundaries are not centered. (By default, the column boundaries
extend from column 1 through 80.)
■ To change the boundaries, use the SET BOUNDS primary command or the
BOUNDS line command. The range remains in effect until changed by
another SET BOUNDS primary command or BOUNDS line command.
1.183.1.4 Example
■ Assume that the active AWS contains the following lines and that the
column boundaries are set to columns 8 and 47.
To center the text on lines 100 through 300 between the column
boundaries:
> AWS(AAA.NOTES) SCRL FULL COLS 7 78
> .<.1....+....2....+....3....+....4....+.>..5..
...... ============================ T O P ============
TCC1 THIS PROGRAM PRINTS AN ESTIMATED
2 SHIPPING COST REPORT. RATES
TCC3 DEPEND ON WEIGHT OF ORDER AND
4 DISTRICT TO WHICH ORDER SHIPPED.
> AWS(AAA.NOTES) SCRL FULL COLS 7 78
> .<.1....+....2....+....3....+....4....+.>..5..
...... ============================ T O P ============
1 THIS PROGRAM PRINTS AN ESTIMATED
2 SHIPPING COST REPORT. RATES
3 DEPEND ON WEIGHT OF ORDER AND
4 DISTRICT TO WHICH ORDER SHIPPED.
1.183.2.1 Syntax
1.183.2.2 Notes
When TE is used,
■ The sequence number field is protected and invisible and the right margin
is ignored. This allows data to be entered in a 'wrap' mode (if the right
margin is reached when entering data, the cursor automatically skips over
the invisible sequence number field allowing continuous data entry).
■ The current column boundaries are recognized when the data is formatted
after the ENTER key is pressed.
Restriction:
■ TE is not recognized when SET SEARCH DBCS is in effect.
1.183.2.4 Example
■ Assume that the column boundaries for the active AWS are set to 10 and
45.
To open the Execution Area after line 100 to enter data:
> AWS SCRL FULL COLS 7 72
> ...<....+....2....+....3....+....4....>....5..
...... ============================ T O P ============
TE1 THIS IS A SAMPLE.
...... ========================= B O T T O M =========
> AWS SCRL FULL COLS 7 72
> ...<....+....2....+....3....+....4....>....5..
...... ============================ T O P ============
1 THIS IS A SAMPLE.
_
> AWS SCRL FULL COLS 7 72
> ...<....+....2....+....3....+....4....>....5..
...... ============================ T O P ============
1 THIS IS A SAMPLE.
This sample shows how to enter data in wrap mod
e and have it formatted for you when you depres
> AWS SCRL FULL COLS 7 72
> ...<....+....2....+....3....+....4....>....5..
...... ============================ T O P ============
1 THIS IS A SAMPLE.
2 This sample shows how you can enter
21 data in wrap mode and have it
1.183.3.1 Syntax
Operand Description
v Number of the column beyond which none of the designated text is to
appear. If omitted, the current right column or display boundary is
used, whichever is less.
1.183.3.2 Notes
Restriction:
■ TF is not recognized when SET SEARCH DBCS is in effect.
Column Boundaries:
1.183.3.4 Examples
> AWS(AAA.SHIPRATE) SCRL FULL COLS 7 78
> .<.1....+....2....+....3....+....4....+..>.5..
...... ============================ T O P ============
TF1 THIS PROGRAM PRINTS AN ESTIMATED
2 SHIPPING COST REPORT.
21 SHIPPING RATES
3 DEPEND ON WEIGHT OF ORDER AND
4 DISTRICT TO WHICH ORDER SHIPPED.
> AWS(AAA.SHIPRATE) SCRL FULL COLS 7 78
> .<.1....+....2....+....3....+....4....+..>.5..
...... ============================ T O P ============
1 THIS PROGRAM PRINTS AN ESTIMATED SHIPPING
2 COST REPORT. SHIPPING RATES DEPEND ON
3 WEIGHT OF ORDER AND DISTRICT TO WHICH
4 ORDER SHIPPED.
■ If TF30 is then entered in the sequence number field of line 1, the resulting
display would be:
> AWS(AAA.SHIPRATE) SCRL FULL COLS 7 78
> .<.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
5 ORDER AND DISTRICT TO
6 WHICH ORDER SHIPPED.
1.183.4.1 Syntax
Operand Description
v Number of the column after which the text from the following line is
to be placed. (If text appears on the line following the designated
column number, the text is overlaid.)
If omitted, the text begins one space after the last character of the line
containing the command.
1.183.4.2 Notes
Column Boundaries:
■ Text that is outside of the current or default column boundaries are not
affected. (By default, the column boundaries extend from column 1
through 80.)
■ To change the boundaries, use the SET BOUNDS primary command or
BOUNDS line command. The range remains in effect until changed by
another SET BOUNDS primary command or BOUNDS line command.
■ If a column number is specified with the command (for example, TJ70), it
must be within the column boundaries currently in effect.
1.183.4.4 Examples
> AWS(AAA.SHIPRATE) SCRL FULL COLS 7 78
> .<.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 OF ORDER AND
4 DISTRICT TO WHICH ORDER SHIPPED.
1.183.5.1 Syntax
1.183.5.2 Notes
Restriction:
■ TLC is not recognized when SET SEARCH DBCS is in effect.
Command Function:
■ The operation begins with the line containing the command and continues
until the end of the current paragraph. The end of a paragraph is indicated
by:
– A blank line
– A change in indentation
– The end of the active AWS
TLC is sentence-sensitive.
■ It ensures that each new sentence begins with a capital letter. (The end of a
sentence is indicated by a period (.), colon (:), question mark (?) or
exclamation mark (!).)
■ EXCEPTIONS:
1. If a new sentence is preceded by a character that does not have a
lowercase equivalent (for example, 1 or *), the first letter of the new
sentence is not capitalized.
2. If a character does not have a corresponding lowercase character, it is
not translated.
Column Boundaries:
■ Alphabetic characters that are outside of the current or default left or right
column boundaries are not translated. (By default, the column boundaries
extend from column 1 through 80.)
■ To change the boundaries, use the SET BOUNDS primary command or the
BOUNDS line command. The range remains in effect until changed by
another SET BOUNDS primary command or BOUNDS line command.
1.183.7.1 Syntax
Operand Description
v Number of lines to be inserted between split. If v is omitted, no
lines are inserted.
1.183.7.2 Notes
Column Boundaries:
■ By default, the column boundaries extend from column 1 through 80.
To change the boundaries, use the SET BOUNDS primary command or
BOUNDS line command. The range remains in effect until changed by
another SET BOUNDS primary command or BOUNDS line command.
■ The command is ignored if the cursor is not positioned within the column
boundaries.
Inserting Lines:
■ If a numeric value is specified with the command (for example, TS2), the
designated number of lines are inserted for data entry.
If the area within the column boundaries is blank (contains no text), the
designated number of data entry lines is still inserted.
■ Lines on which data is entered are retained after the ENTER key or a PF
key is pressed. (A space is considered data.) The lines are assigned
sequence numbers and the sequence number field is unprotected.
Lines on which no data has been entered are deleted.
1.183.7.4 Example
■ To split line 200 at position 31 (the cursor position) and insert two lines
between the split:
> AWS(AAA.SHIPRATE) SCRL FULL COLS 7 78
> .<.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.
■ If the word SHIPPING is typed on one of the inserted lines and nothing is
typed on the other, the resulting display would look like:
1.184 TIME
Display the current time and date.
1.184.1 Syntax
TIME Command
──TIME────────────────────────────────────────────────────────
1.184.2 Notes
Display Format:
■ The information written to the terminal is in the format:
mm/dd/yy hh.mm.ss ELAPSED hh.mm.ss - CPU time
and includes the:
– Current date
– Current time
– Elapsed time (the length of the terminal session)
– CPU time for the session
1.185 TOP
Positions the pointer to the first line of the active AWS.
1.185.1 Syntax
TOP Command
──TOP─────────────────────────────────────────────────────────
1.185.2 Notes
■ TOP does not cause the display to be changed it only positions the pointer
to the first line of the active AWS.
■ While TOP can be entered from the terminal, it is intended for use in RPF
programs.
1.186 TRACE
Enables the trace facility.
1.186.1 Syntax
TRACE Command
──TRACE──┬──────┬─────────────────────────────────────────────
└─Edit─┘
Operand Description
Edit Identifies the trace operation being performed.
1.186.2 Notes
■ TRACE enables the display of lines changed by an EDIT or FILL
command.
■ Once enabled, the execution of either command is cause a non-modifiable
display of affected lines.
■ To disable the trace facility, use the NOTRACE command.
SET EDITCHNG:
■ The SET EDITCHNG command causes the sequence number field of each
line affected by an edit operation to contain a change indicator. The
display is scrollable and modifiable. Operands of this command can be
used to activate, deactivate and reset this facility.
1.187 TSO
Executes a TSO command.
1.187.1 Syntax
TSO Command
──TSO──┬─%execname─┬──┬────────────────┬──────────────────────
└─-TSO cmd──┘ └─cmp parameters─┘
Operand Description
execname Any TSO exec procedure name. The procedure may be
either a CLIST or a REXX EXEC.
TSO cmd Any TSO command name, including CALL.
cmd parameters Variable format parameters for the associated command.
1.187.2 Notes
Restriction:
■ Only sites running TSO/E 2.1 or above can use this command.
1.187.2.1 Examples
1.188 TTY
Sets the speed characteristics for a typewriter device.
1.188.1 Syntax
TTY Command
──TTY──┬───────┬──────────────────────────────────────────────
├─v─────┤
└─OPT v─┘
Operand Description
With no operand, resets the speed characteristics to the site default.
v Number associated with a terminal type. (The number associated
with each terminal type and the defaults are available from site
management.)
OPT= v Code indicating the communications protocol to be supported,
specified as:
0 Communications to proceed in default mode.
1 Communications to support KERMIT protocol and
programming interface.
If omitted, the default is 0.
1.189 UNCATLG
Uncatalogs a data set.
1.189.1 Syntax
UNCATLG Command
──UNCATlg──Dsn── dsn─┬─────┬──────────────────────────────────
└─(v)─┘
Operand Description
dsn One- to 44-character fully qualified name of the data set to be
uncataloged. The name may be further qualified with:
v Relative generation number of GDG data set to be
uncataloged, specified as 0 (most current) or a minus number.
1.189.2 Notes
■ UNCATLG may not be used to uncatalog SMS-managed data sets.
■ UNCATLG may be used to uncatalog non-VSAM data sets and the
following types of VSAM catalog entries: ALIAS and GDGBASE.
■ The volumes on which the data set resides need not be mounted and
online to perform an uncatalog operation.
1.190 UPCASE
Translates the characters within one or more lines of the active AWS to their
corresponding uppercase characters.
1.190.1 Syntax
UPCASE Command
──UPCASE── p──┬───┬──┬────────────┬───────────────────────────
└─q─┘ └─BOUNDS s e─┘
Operand Description
p q Number of the first and last lines to be translated. If only one
number is specified, only that line is translated.
BOUNDS
Starting and ending column boundaries. (BOUNDS may be
abbreviated as BNDS.)
If omitted, the column boundaries that are currently in effect are
used (alphabetic characters found outside of those boundaries are
not translated).
1.190.2 Notes
■ UPCASE may be abbreviated as UC.
■ If a character does not have a corresponding uppercase character, it is not
translated.
Column Boundaries:
■ Alphabetic characters that are outside of the current or default column
boundaries are not translated. (By default, column boundaries extend
from column 1 through 80.)
■ To change the boundaries for:
A single execution: Specify the BOUNDS operand of this command.
After the command executes, the previously
established or default range is restored.
The terminal session:
Use the SET BOUNDS primary command or the
BOUNDS line command. The range remains in effect
until changed by another SET BOUNDS primary
command or BOUNDS line command.
1.191 UPDATE
Replaces the contents of a library member with all or part of the contents of
the active AWS.
1.191.1 Syntax
UPDATE Command
──Update──┬─mem─┬──┬────────────┬──┬───────────┬───────────────
└────┘ └─ p─┬────┬──┘ └─/charstr/─┘
└─ q─┘
──┬────────────────┬──┬────────────┬───────────────────────────
├─SEQ─┬───────┬──┤ ├─Shared─────┤
│ ├─ s────┤ │ ├─Execonly───┤
│ ├─ l────┤ │ └─Restricted─┘
│ └─COBOL─┘ │
└─NOSEQ──────────┘
Operand Description
mem Name of the library member whose contents are to be replaced.
* Causes the contents of the last FETCHed, SAVEd or UPDATEd
library member to be replaced.
p q Number of the first and last lines within the active AWS to be used
when replacing the contents of the library member. If q is omitted,
the entire member contents is replaced by line p. If both are
omitted, the entire active AWS replaces the entire member.
/charstr/ One- to 30-character delimited description to be assigned to the
member.
SEQ Sets attribute to allow the insertion of sequence numbers when the
library member is submitted for background execution. With no
further qualification, causes sequence numbers to be placed in
columns 73 through 80. The qualifications are:
s l Starting column and length of the sequence number
field.
The maximum length of the field is 8 characters. If
omitted, the default is 8.
Cobol Causes sequence numbers to be placed in columns 1
through 6.
NOSEQ Sets attribute to prevent the insertion of sequence numbers when
the library member is submitted for execution.
Shared Sets attribute to allow anyone to access or execute the member; only
the owner can change or delete it.
Execonly Sets attribute to allow anyone to execute the member; only the
owner can access, change or delete it. (This attribute is intended for
RPF programs.)
Restricted
Sets attribute to allow only the owner to execute, access, change or
delete the member.
1.191.2 Notes
■ Unless changed by site management, only the owner of a library member
can update that member.
1.191.4.1 Examples
1.192.1 Syntax
Uppercase Line Commands
──┬─UC─┬───┬──┬───────────────────────────────────────────────
│ └─v─┘ │
├─UCC───────┤
├─UCB───────┤
└─UCT───────┘
Operand Description
UC Translate one line. To translate multiple lines, specify:
v Number of lines to be translated.
UCC Translate block of lines. UCC must be entered on the first and last
line of block to be translated. The range of lines does not have to be
displayed in its entirety on one screen. Scrolling and other line
commands can be performed while a line command is pending.
UCB Translate all lines from the line containing the command through the
last line of the active AWS.
UCT Translate all lines from the first line of the active AWS through the
line containing the command.
1.192.2 Notes
■ If a character does not have a corresponding uppercase character, it is not
translated. Column Boundaries:
■ Alphabetic characters that are outside of the current or default left or right
column boundaries are not translated. (By default, the column boundaries
extend from column 1 through 80.)
■ To change the boundaries, use the SET BOUNDS primary command or the
BOUNDS line command. The range remains in effect until changed by
another SET BOUNDS primary command or BOUNDS line command.
1.192.3.1 Example
> AWS(AAA.TAXREPT) SCRL FULL COLS 7 78
> .<.1....+....2....+....3....+....4....+.>..5..
...... ============================ T O P ============
1 identification division.
UCT2 program-id. tax-rept.
3
4 environment division.
> AWS(AAA.TAXREPT) SCRL FULL COLS 7 78
> .<.1....+....2....+....3....+....4....+.>..5..
...... ============================ T O P ============
1 IDENTIFICATION DIVISION.
2 PROGRAM-ID. TAX-REPT.
3
4 environment division.
■ While the example uses the UCT command, the same result could be
achieved by typing:
– UC2 in the sequence number field of line 100, or
– UCC in the sequence number fields of lines 100 and 200.
1.193 WAIT
Causes execution of the next command to be delayed for a specified number of
seconds.
1.193.1 Syntax
WAIT Command
──WAIT──┬───┬─────────────────────────────────────────────────
└─v─┘
Operand Description
With no operand, causes Advantage CA-Roscoe to wait one second
before executing the next command.
v Number between 1 and 60 that represents the number of seconds
Advantage CA-Roscoe is to wait before executing the next
command.
1.194 WIDTH
(Typewriter devices only.) Specifies the physical width of the carriage.
1.194.1 Syntax
WIDTH Command
──WIDTH──┬───┬────────────────────────────────────────────────
└─v─┘
Operand Description
With no operand, sets the width to 80 characters.
v Number between 72 and 132 that represents the physical width of
the carriage.
1.195 XCOPY
Copies all or part of the designated data from the other split screen into the
active AWS of the screen containing the command.
1.195.1 Syntax
XCOPY Command
──XCopy──┬──────────────┬──o──┬────┬──┬───────┬───────────────
├─Dsn p─┬───┬──┤ └─Nv─┘ ├─NOHDR─┤
│ └─q─┘ │ └─FULL──┘
├─Job──────────┤
├─Lib──────────┤
└─mem──────────┘
Operand Description
Dsn Designates that the data set object attached in the other split screen
is to be copied into the active AWS of this screen.
Job Designates that the job output file attached in the other split screen
is to be copied into the active AWS of this screen.
Lib Designates that the library member or Selection List attached in the
other split screen is to be copied into the active AWS of this screen.
mem Name of the library member to be copied into the active AWS of
this screen.
Note: If neither DSN, JOB, LIB nor a library member is specified,
one or more lines from the active AWS of the other split
screen are to be copied into the active AWS this screen.
p q Number of the first and last lines to be copied. If only one number
is specified, only that line is copied.
o Destination of the operation, specified as:
v A line number.
* After the line at which the AWS pointer is positioned.
T Before the first AWS line.
B or ,, After the last AWS line.
R Replace AWS contents with copied data.
Nv Number of times (v) the specified lines are duplicated. The default
is N1.
NOHDR (Applicable only when copying from a Selection List.) Prevents the
Selection List header lines from being copied.
FULL (Applicable only when copying from a Selection List.) Causes the
Selection List being copied to include all available information. If
omitted, only the information provided by the current format is
copied. (Use the SELECT ALT command to change the format.)
1.195.2 Notes
Restrictions:
■ The copy operation is nondestructive (lines are not deleted from their
original location).
AWS Overflow:
■ If the number of lines to be copied exceeds the size of the AWS, the
operation terminates when the AWS is full; the data copied up to the point
of the overflow is retained.
Terminating Operation:
■ The Attention key may be used to interrupt a copy operation.
3. Have a data set organization of PS, PSU, PO, POU, DA, or DAU.
4. Not have a variable spanned record format.
5. Not have its access prevented by site specifications made by the
system programmer.
■ If the logical record length of the data being copied exceeds 255, only the
first 255 characters are copied.
■ When copying from a Selection List, the AWS is contain:
1. The header lines from the Selection List, unless the NOHDR operand is
specified, and
2. Only the information associated with the current format, unless FULL
is specified. If FULL is specified, the copied data may exceed the width
of the terminal screen.
1.195.4.1 Examples
■ To copy, before the first line of the active AWS in this screen, all lines
beginning with the line at which the pointer is currently positioned
through the last line of the active AWS in the other split screen:
XCOPY ,, T
■ To copy lines 50 through 200 from the data set object attached in the other
split screen to, or immediately after, line 1200 of the AWS in this screen,
repeating those lines four times:
XCOPY DSN 5 2 12 N4
■ To copy lines 2300 through 540 from the job output file attached in the
other split screen into the AWS of this screen and to have those lines
replace the current AWS contents:
XCOPY JOB 23 54 R
■ To copy lines 100 through 500 from the library member TEST1 in the other
split screen after the last line of the AWS in this screen:
XCOPY TEST1 1 5 B
■ To copy the Library Selection List from the other split screen after the line
at which the pointer is currently positioned in this screen and to exclude
the Selection List header lines:
XCOPY LIB NOHDR
1.196 XCOPYS
Copies one or more lines containing a specific string from the designated data
in the other split screen into the active AWS of the screen containing the
command.
1.196.1 Syntax
XCOPYS Command
──XCopyS──┬────────────────────┬──/string/──┬──────────┬──o────
├──┬─────┬──┬───┬─ e─┤ └─p─┬───┬──┘
│ └─Dsn─┘ └─s─┘ │ └─q─┘
├─Job────────────────┤
└─Lib────────────────┘
──┬────┬──┬─────────┬──┬─────┬──┬─────────┬──┬───────┬─────────
└─Nv─┘ └─LITeral─┘ └─Mix─┘ └─context─┘ ├─NOHDR─┤
└─FULL──┘
Operand Description
Dsn Designates that the data set object attached in the other split screen
is to be copied into the active AWS of this screen.
Job Designates that the job output file attached in the other split screen
is to be copied into the active AWS of this screen.
Lib Designates that the library member or Selection List attached in the
other split screen is to be copied into the active AWS of this screen.
mem Name of the library member to be copied into the active AWS of
this screen.
Note: If neither DSN, JOB, LIB or a library member is specified,
one or more lines from the active AWS of the other split
screen are to be copied into the active AWS of this screen.
s e Number of the starting and ending columns to be searched for the
string. If only one number is specified, it is assumed to be the
ending column. The ending column cannot exceed: 1) 255, or 2) the
record length of the data set object.
/string/ Search string which may not exceed 80 characters in length and
must be bound by delimiters.
p q Number of the first and last lines to be searched for the string. If
only one number is specified, only that line is searched.
NOHDR (Applicable only when copying from a Selection List.) Prevents the
Selection List header lines from being copied.
FULL (Applicable only when copying from a Selection List.) Causes the
Selection List being copied to include all available information. If
omitted, only the information provided by the current format is
copied. (Use the SELECT ALT command to change the format.)
1.196.2 Notes
■ XCOPYS can be abbreviated as XCS.
■ The copy operation is nondestructive (lines are not deleted from their
original location).
AWS Overflow:
■ If the number of lines to be copied exceeds the size of the AWS, the
operation terminates when the AWS is full; the data copied up to the point
of the overflow is retained.
Terminating Operation:
■ The Attention key may be used to interrupt a copy operation.
1.196.4.1 Examples
■ To copy every line of the job output file attached in the other screen that
contains the string PRINT-FILE in columns 20 through 50 to, or
immediately after, line 1200 of the active AWS in this screen:
XCOPYS JOB 2 5 PRINT-FILE 12
■ To copy every line containing the string WIDGET in lines 100 through 900
of the data set attached in the other screen into the active AWS of this
screen, replacing the AWS contents:
XCOPYS DSN WIDGET 1 9 R
■ To copy every line from the library member MEMBER1 attached in the
other screen that contains the string XYZ to the top of the AWS in this
screen, repeating those lines three times:
XCOPYS MEMBER1 XYZ T N3
■ To copy every line from the data set object attached in the other screen
that contains the hexadecimal string C1 to the top of the AWS in this
screen:
XCOPYS DSN X'C1' LITERAL T
■ To copy every line containing the string 12/12/88 from the Library
Selection List attached in the other screen to the line at which the pointer
is positioned in this screen and exclude the Selection List header lines:
XCOPYS LIB '12'12'88' NOHDR
1.197 XCOPYX
Copies one or more lines not containing a specific string from the designated
data in the other split screen into the active AWS of the screen containing the
command.
1.197.1 Syntax
XCOPYX Command
──XCopyX──┬────────────────────┬──/string/──┬──────────┬──o────
├──┬─────┬──┬───┬─ e─┤ └─p─┬───┬──┘
│ └─Dsn─┘ └─s─┘ │ └─q─┘
├─Job────────────────┤
├─Lib────────────────┤
└─mem────────────────┘
──┬────┬──┬─────────┬──┬─────┬──┬─────────┬──┬───────┬─────────
└─Nv─┘ └─LITeral─┘ └─Mix─┘ └─context─┘ ├─NOHDR─┤
└─FULL──┘
Operand Description
Dsn Designates that the data set object attached in the other split screen
is to be copied into the active AWS of this screen.
Job Designates that the job output file attached in the other split screen
is to be copied into the active AWS of this screen.
Lib Designates that the library member or Selection List attached in the
other split screen is to be copied into the active AWS of this screen.
mem Name of the library member to be copied into the active AWS of
this screen.
Note: If neither DSN, JOB, LIB or a library member is specified,
one or more lines from the active AWS of the other split
screen are to be copied into the active AWS of this screen.
s e Number of the starting and ending columns to be searched for the
string. If only one number is specified, it is assumed to be the
ending column. The ending column cannot exceed: 1) 255, or 2) the
record length of the data set object.
/string/ Search string which may not exceed 80 characters in length and
must be bound by delimiters.
p q Number of the first and last lines to be searched for the string. If
only one number is specified, only that line is searched.
NOHDR (Applicable only when copying from a Selection List.) Prevents the
Selection List header lines from being copied.
FULL (Applicable only when copying from a Selection List.) Causes the
Selection List being copied to include all available information. If
omitted, only the information provided by the current format is
copied. (Use the SELECT ALT command to change the format.)
1.197.2 Notes
■ XCOPYX can be abbreviated as XCX.
■ The copy operation is nondestructive (lines are not deleted from their
original location).
AWS Overflow:
■ If the number of lines to be copied exceeds the size of the AWS, the
operation terminates when the AWS is full; the data copied up to the point
of the overflow is retained.
Terminating Operation:
■ The Attention key may be used to interrupt a copy operation.
X'string'
where the string is bound by apostrophes and contains an even number of
characters.
■ Unless requested otherwise, a hex string is interpreted as a request to find
the character format of the string (for example, if the string is specified as
X'C1', it is treated as a request to find the string A).
■ To prevent interpretation, use the qualifier LITERAL (for example, X'C1'
LITERAL causes a search for the string X'C1').
1.197.4.1 Examples
■ To copy every line not containing the string PRINT-FILE from the job
output file attached in the other screen to, or immediately after, line 1200
of the active AWS in this screen:
XCOPYX JOB PRINT-FILE 12
■ To copy every line not containing the string WIDGET in lines 100 through
900 of the data set attached in the other screen into the active AWS of this
screen, replacing the AWS contents:
XCOPYX DSN WIDGET 1 9 R
■ To copy every line not containing the string XYZ in columns 10 through 30
of the library member attached in the other screen to the top of the AWS
in this screen, repeating those lines three times:
XCOPYX LIB XYZ T N3
■ To copy every line from the data set object attached in the other screen
that does not contain the hexadecimal string C1 to the top of the AWS in
this screen:
XCOPYX DSN X'C1' LITERAL T
■ To copy every line not containing the string 12/12/88 from the Library
Selection List attached in the other screen to the line at which the pointer
is positioned in this screen and exclude the Selection List header lines:
XCOPYX LIB '12'12'88' NOHDR
1.198 XLATE
,*3.Function
Replaces a character found within the contents of the active AWS with another
character.
1.198.1 Syntax
XLATE Command
──XLATE──┬──────────┬──/string1/string2/──┬──────────┬─────────
└──┬───┬─e─┘ └─p─┬───┬──┘
└─s─┘ └─q─┘
──┬─────────┬──────────────────────────────────────────────────
└─LITeral─┘
Operand Description
s e Number of the starting and ending columns to be searched
for string1. If only one number is specified, it is assumed to
be the ending column. The ending column cannot exceed 255.
/string1/string2/ Delimited search and replacement characters. The number of
search characters must equal the number of replacement
characters. A maximum of 55 search and 55 replacement
characters may be specified.
p q Number of the first and last lines to be searched for string1.
If only one number is specified, only that line is searched.
LITeral Prevents the search character(s) from being interpreted (for
example, X'C1' is to be treated as a character; not as the
hexadecimal representation of the letter A). If omitted, each
character is subject to interpretation.
1.198.2 Notes
■ XLATE changes specific characters to other characters. To replace one
character string with another, use the EDIT command.
1.198.4.1 Examples
1.199.1 Syntax
Xlate Line Commands
──┬─XL─┬───┬──┬───────────────────┬──┬────────────────────────
│ └─v─┘ └─/string1/string2/─┘ │
├─XLB─┬───────────────────┬────────┤
│ └─/string1/string2/─┘ │
└─XLT─┬───────────────────┬────────┘
└─/string1/string2/─┘
Operand Description
XL Replace the appropriate character(s) on one line. To replace
the characters on multiple lines, specify:
v Number of lines on which character replacement is to
occur.
XLB Replace the appropriate character(s) on all lines from the line
containing the command through the last line of the active
AWS.
XLT Replace the appropriate character(s) on all lines from the first
line of the active AWS through the line containing the
command.
/string1/string2/ Delimited search and replacement characters. The number of
search characters must equal the number of replacement
characters. The combined length must not exceed the length
of a terminal line.
1.199.2 Notes
■ These commands change specific characters to other characters. To replace
one character string with another, use the edit line commands.
1.199.3.1 Examples
> AWS(AAA.DATEFILE) SCRL FULL COLS 7 78
> <..1....+....2....+....3....+....4....+....5..
...... =========================== T O P =============
XLB1 '/X'- ' OF WHEN PURCHASES DELIVERED
2 ORDER NO. DATE DELIVERED
21 A12984XXX 12/15/88
3 A23563XXX 1/22/89
4 A45887XXX 4/1/89
> AWS(AAA.DATEFILE) SCRL FULL COLS 7 78
> <..1....+....2....+....3....+....4....+....5..
...... =========================== T O P =============
1 RECORD OF WHEN PURCHASES DELIVERED
2 ORDER NO. DATE DELIVERED
3 A12984 12-15-88
4 A23563 1-22-89
1.200 ZAP
Permits superzap processing to be performed on an OS data set.
1.200.1 Syntax
ZAP Command
──ZAP──┬────┬─────────────────────────────────────────────────
└─-B─┘
Operand Description
With no operand, reads subcommands from the active AWS. If an
error is detected, execution terminates.
-B Reads subcommands from the active AWS. If an error is detected,
execution continues; however, only those subcommands that are not
related to the error are executed.
1.200.2 Notes
Restrictions:
■ ZAP is a Monitor command. Site management has the option of restricting
use of this command and/or its subcommands.
■ If its use is not restricted, see Appendix B for the extended syntax that
permits the input to be read from a library member.
ZAP Criteria:
■ To be processed, a data set must:
1. Reside on a 2314, 3330, 3340, 3350, 3375, 3380, or 3390 volume that is
online and available to Advantage CA-Roscoe.
2. Not have been written using the record overflow hardware feature.
3. Not be a VSAM data set. (It may be a VSAM data space.)
4. Not be under the exclusive control of another task in the system. If
exclusive control by ZAP is required, it must be neither under the
shared control of another task in the system nor allocated by data set
name in the Advantage CA-Roscoe JCL.
Additional Criteria:
1. Only one volume of a multivolume data set can be processed at a time.
The space occupied by a data set on a single volume of several must be
processed as though it were a separate data set from the space occupied by
the same data set on any other volume. If a multivolume data set is
located using the system catalog, the first volume is processed.
2. A load module can be processed as such only if it contains ESD data. In
general, all load modules contain ESD data except those flagged 'not
editable' upon user request by the linkage-editor.
Resulting Output:
■ When execution terminates, the active AWS contains the processed
subcommands interspersed with output resulting from the processing of
those subcommands.
Execution Recommendation:
■ ZAP-B should be used instead of ZAP. If an error occurs and:
ZAP was entered Processing terminates. A message is written both
at the end of the active AWS and to the terminal.
(The message written to the active AWS follows
the subcommand that contained the error.)
ZAP-B was entered Processing continues. Subsequent subcommands
not related to the error are executed. (A message is
written to the active AWS and follows the
subcommand that contained the error. If multiple
errors are encountered, a message follows each
bypassed subcommand.)
1.200.3.1 Syntax
Operand Description
string Text that is to accompany the subcommand stream.
1.200.3.2 Note
1.200.4.1 Syntax
Operand Description
E Dumps data in hexadecimal notation and EBCDIC.
M Dumps data in hexadecimal notation with translation to assembler
mnemonics.
T Dumps data in hexadecimal notation and EBCDIC with translation
to assembler mnemonics.
Note: If neither E, M or T are specified, the data is dumped in
hexadecimal notation only.
ALL Dumps entire data set. If the data set is sequential, partitioned or
direct, dumping stops when the end of the used portion of the
space allocated to the data set is reached. If the end of the used
portion of the space cannot be identified, all space allocated to the
data set is dumped.
dsnmem Name of the partitioned data set member whose records are to be
dumped.
cchhr1
cchhr2 First (cchhr1) and last (cchhr2) absolute record addresses of a range
of records to be dumped. Each address may be a maximum of 10
hexadecimal digits in length; an even number of leading zeros may
be omitted.
There need not be a record at the address specified by cchhr1, or at
the address specified by cchhr2. If there are no records within the
specified range, no dump output is written.
To dump a single record, code cchhr2 equal to cchhr1.
cchhr2 must specify a record address that is at least as close to the
logical end of the data set as that specified by cchhr1; if the data set
occupies several extents on a volume, the address specified by
cchhr2 may be lower than that specified by cchhr1.
cchhr3 Absolute address of a record of which a specified portion is to be
dumped. The address may be a maximum of 10 hexadecimal digits
in length; an even number of leading zeros may be omitted.
offset1 Offset from the start of the specified record at which the dumping
is to begin. Specify as 2 or 4 hexadecimal digits.
offset2 Offset from the start of the specified record at which dumping is to
terminate. Specify as 2 or 4 hexadecimal digits.
1.200.4.2 Note
1.200.5.1 Syntax
Operand Description
offset 2, 4, or 6 hexadecimal digits that are to be subtracted from the
offset operand of each subsequent VERIFY or REP subcommand to
yield the true offset of the data to be verified or replaced.
1.200.5.2 Notes
1.200.6.1 Syntax
Operand Description
F If specified and there is no record at the designated address but
there is a record at an address closer to the logical end of the data
set, the first such record found is processed. If omitted and there is
no record at the designated address, an error message is written to
the active AWS.
cchhr Absolute record address of the record to be processed. Specify as 10
hexadecimal digits; an even number of leading zeros may be
omitted.
1.200.6.2 Note
1.200.7.1 Syntax
Operand Description
E Dumps data in hexadecimal notation and EBCDIC.
M Dumps data in hexadecimal notation with translation to assembler
mnemonics.
T Dumps data in hexadecimal notation and EBCDIC with translation
to assembler mnemonics.
Note: If neither E, M, or T are specified, the data is dumped in
hexadecimal notation only.
dsnmem Name of the load module to be dumped.
ALL Dumps all control sections within the load module.
1.200.7.2 Note
■ If neither a control section name nor ALL is specified after the load
module name, the first control section of the load module is dumped ( the
control section that is normally loaded at the lowest-numbered storage
address).
1.200.8.1 Syntax
Operand Description
string 1 to 8 characters of identifying text.
1.200.8.2 Notes
■ If more than eight characters are coded, only the first eight are used.
■ The text is placed in a superzap csect identification record entry to note the
fact that the control section and load module were updated.
The entry is made if any REP subcommands that follow a preceding
NAME subcommand are successfully processed, regardless of whether
IDRUPDT=ALWAYS or IDRUPDT=DEMAND was specified in the SYSLIB
subcommand.
■ The IDRDATA subcommand is ignored if either of the following
conditions are met:
1. The load module defined by the preceding NAME subcommand has
no available space in its superzap csect identification records, or
2. The IDRDATA subcommand is preceded by another IDRDATA
subcommand that follows the preceding NAME subcommand.
1.200.9.1 Syntax
Operand Description
dsnmem Name of the load module to be processed.
csect Name of the control section that is to be processed. If omitted, the
first control section of the load module is processed (the control
section that is normally loaded at the lowest-1 numbered storage
address).
1.200.9.2 Notes
■ If a load module has one or more aliases and is capable of being referred
to by more than one member name, the member name coded in the NAME
subcommand determines in which of the directory entries that point to the
load module, system status information is to be updated. The update
occurs either when requested by means of a SETSSI subcommand or
automatically after the replacement of load-module text if the SSI=FLAG
option of the SYSLIB subcommand is in effect.
1.200.10.1 Syntax
Operand Description
E Dumps data in hexadecimal notation and EBCDIC.
1.200.10.2 Note
1.200.11.1 Syntax
Operand Description
offset Displacement from the beginning of the control section or record of
the data to be replaced. Specify as 2, 4, or 6 hexadecimal digits.
string Data that is to be placed at the specified offset. The data must be
coded in hexadecimal notation. The number of bytes of data
replaced is the number of bytes represented by this operand.
1.200.11.2 Note
1.200.12.1 Syntax
Operand Description
string System status information to be recorded in the directory entry,
specified as 8 hexadecimal digits.
1.200.12.2 Note
1.200.13.1 Syntax
Operand Description
DSNAME= Name of the data set to be processed. The data set name
specified must not include a member name.
VOLUME= Serial number of the volume containing the data set to be
processed. This operand is required if the data set is not
cataloged or if a portion of a multivolume data set other than
that which resides on the first volume is to be processed.
DISP= Disposition of the data set if it is to be updated. Specify as
either:
OLD Exclusive control of the data set is requested. ZAP is
to terminate if it cannot get exclusive control
(default).
SHR Shared control of the data set is requested.
SSI= In the absence of a SETSSI subcommand, setting of the 'local
fix' flag in the system status information contained in the
directory entry. Specify as either:
FLAG Set 'local fix' flag (default).
LEAVE Do not alter system status information except as
specified in a SETSSI subcommand.
IDRUPDT= In the absence of an IDRDATA subcommand, recording of
historic information about the update in a superzap csect
identification record. Specify as either:
1.200.13.2 Notes
Operand Description
F If specified and there is no record at the designated address but
there is a record at an address closer to the logical end of the data
set, the first such record found is processed. If omitted and there is
no record at the designated address, an error message is written to
the active AWS.
ttr Relative track and record address of the record to be processed.
Specify as 2, 4, or 6 hexadecimal digits.
1.200.14.1 Note
1.200.15.1 Syntax
Operand Description
offset Displacement from the beginning of the control section or record of
the data to be verified. Specify as 2, 4, or 6 hexadecimal digits.
string Expected value of the data to be verified, coded in hexadecimal
notation. The number of bytes of data verified is the number of
bytes represented by this operand.
1.200.15.2 Note
All Monitor commands can be invoked by the RUN command. While RUN is
never required, it does allow the syntax of specific commands to be extended.
In most cases, this extension permits the Monitor command to receive input
from, or direct output to, an alternate location.
This Appendix presents the syntax of those Monitor commands that use the
extended facilities provided by the RUN command.
A.1 AMS
AMS Command
──RUN AMS──┬─────────────┬────────────────────────────────────
└─-A─┬─────┬──┘
└─mem─┘
Operand Description
Unless changed by site management, with no operands, input to
IDCAMS is read from the terminal and output is written to the
terminal.
-A Causes input to be read from the AWS. Output is directed to the
terminal.
-A mem Causes input to be read from the designated library member.
Output is directed to the terminal.
A.1.1 Example
RUN AMS-A AMSINPUT
Causes the input to IDCAMS to be read from the library member named
AMSINPUT.
A.2 COB
COB Command
──RUN COB──┬────────┬──┬────┬──┬─────┬──┬──────────┬──────────
└─string─┘ └─-p─┘ └─mem─┘ └─p─┬───┬──┘
└─q─┘
Operand Description
With no operands, assumes the program is in the active AWS and
checks it against the highest level of COBOL.
string Level of COBOL used when checking the source. (See the COB
command description for additional information.)
-p Division of the program to be checked. (See the COB command
description for additional information.)
mem Name of the library member containing the program to be checked.
p q Starting and ending line numbers of the program to be checked. If
only one number is specified, the program is checked from that line
number to the end.
A.2.1 Example
RUN COB 500 1200
Causes the contents of lines 500 through 1200 of the active AWS to be syntax
checked.
A.3 EXPORT
EXPORT Command
──RUN EXPort──┬─────────────┬─────────────────────────────────
├─-A─┬─────┬──┤
│ └─mem─┘ │
└─/string/────┘
Operand Description
With no operand, displays a prompt for operands.
-A Causes operands to be read from the active AWS.
-A mem Causes operands to be read from the designated library member.
string Operands of the command. The operands must be bound by
delimiters.
A.4 IMPORT
IMPORT Command
──RUN IMPort──┬─────────────┬─────────────────────────────────
├─-A─┬─────┬──┤
│ └─mem─┘ │
└─/string/────┘
Operand Description
With no operand, displays a prompt for operands.
-A Causes input to be read from the active AWS.
-A mem Causes input to be read from the designated library member.
string Operands of the command. The operands must be bound by
delimiters.
A.4.1 Example
IMPORT-A OPERAND
A.5 JCK
JCK Command
┌─,─────────┐
┬─────────┬┴───────────────
──RUN JCK──┬───────────────────┬───
└─mem─┬──────────┬──┘ └─charstr─┘
└─p─┬───┬──┘
└─q─┘
Operand Description
With no operand, syntax checks the contents of the active AWS.
mem Name of the library member that contains the JCL to be checked.
p q Number of the first and last line within the library member that is
to be checked.
charstr One or more of the Unicenter CA-JCLCheck options.
A.6 LOOK
LOOK Command
──RUN LOOk──┬────┬──┬───────────────────┬─────────────────────
└─-─┘ └─mem─┬──────────┬──┘
└─p─┬───┬──┘
└─q─┘
Operand Description
With no operand, displays a prompt for LOOK commands.
-* Causes the commands in the designated library member to be
executed. The member can be named before or with the command
containing -*.
mem Name of the library member containing the LOOK commands.
p q Starting and ending line number within the library member. If only
one number is specified, the member is read from that line to the
end.
A.6.1 Example
LOOK-* WIDGET 100 500
Causes lines 100 through 500 of the member named WIDGET to be read for
LOOK commands.
A.7 PLI
AMS Command
──RUN PLI──┬────────┬──┬───────────────────────────┬──────────
└─string─┘ └─-A─┬─────┬──┬──────────┬──┘
└─mem─┘ └─p─┬───┬──┘
└─q─┘
Operand Description
With no operand, assumes the PL/I program is in the active AWS
and checks it against the PL/I checkout and optimizing compiler
Version 1, Release 3.
string Level of PL/I to be checked. (See the PLI command description for
additional information.)
-A Causes the contents of the active AWS to be syntax checked.
-A mem Causes the contents of the named library member to be syntax
checked.
p q Starting and ending line numbers of the program to be checked. If
only one number is specified, the program is checked from that line
number to the end.
A.8 ZAP
ZAP Command
──RUN ZAP──┬────┬──┬─────┬────────────────────────────────────
└─-B─┘ └─mem─┘
Operand Description
With no operand, reads subcommands from the active AWS. If an
error is detected, execution terminates.
-B Causes input to be read from the active AWS. If an error occurs,
execution continues; only those subcommands that are not related
to the error are processed.
mem Name of the library member containing subcommands to be used
as input.
Index X-1
Allocating Files (continued) AWS (continued)
Data Sets (continued) Change Line Contents (continued)
Without ETSO 1-16 Edit String, Using Primary Command 1-171
ALTER Command Edit Trace 1-523, 1-524
Change Suffix Line 1-585
AWS Attributes 1-35, 1-36 Copy
Job Output Characteristics 1-35, 1-38 From Data Set, Job, or Member (Containing
Member Attribute(s) 1-35, 1-40 String) 1-97
Member Description 1-35, 1-40 From Data Set, Job, or Member (Not
Description 1-35 Containing String) 1-105
Alternate Print Screen 1-410 From Other Split Screen (All or Range) 1-630
AMS Command From Other Split Screen (Lines Containing
Extended Syntax A-2 String) 1-634—1-639
Syntax 1-42 From Other Split Screen (Lines Not Containing
Arithmetic symbols (syntax diagrams) xli String) 1-641—1-646
ATTACH Command Screen, Using :C Command 1-9
AWS 1-45 Within, Using Primary Command 1-89
Data Set Object 1-50 Creating 1-113
Description 1-44 Data Protection
Job Output 1-60 Establish 1-500
Library Member/List 1-64 Delete
Volume/VTOC Selection List 1-71 All lines 1-125
Attach Data Lines Containing String, Line
Job Output 1-60 Commands 1-131
With Data Set Facility Lines Containing String, Primary
Using ATTACH DSN 1-50 Command 1-135
Using ATTACH VOL 1-71 Lines Not Containing String, Line
With Library Facility Commands 1-131
Using ATTACH LIB 1-64 Lines Not Containing String, Primary
Attaching Data Command 1-139
AWS 1-45 Range of Lines, Line Commands 1-131
With Library Facility Range of Lines, Primary Command 1-125
Via Menu 1-305 Detaching 1-147
Without Pausing 1-495, 1-496 Discarding
AWS Explicit 1-150
=n Display Format, Set 1-508, 1-509, 1-510, 1-511,
Add, Replace, or Delete Data by Line 1-512
Number 1-7 Line Numbers
Add Lines Control Display of 1-508, 1-509, 1-510, 1-511,
Insert, Using Line Commands 1-285 1-512
Insert, Using Primary Command 1-282 Locate/Display Data
Via Power Typing, Using Primary All Occurrences, Line Command 1-267
Command 1-282 All Occurrences, Primary Command 1-260,
Alter Attributes 1-36 1-474—1-478
Attaching 1-45 First Occurrence, Line Command 1-229
Bring Member Into AWS 1-209 First Occurrence, Primary Command 1-221
Change Line Contents Last Occurrence, Line Commands 1-302
Edit Character, Using Line Last Occurrence, Primary Command 1-293
Commands 1-651—1-653 Next Occurrence, Line Commands 1-339
Edit Character, Using Primary Next Occurrence, Primary Command 1-330
Command 1-648—1-649 Non-Matching Occurrences, Line
Edit String, Using Line Commands 1-176 Command 1-190
Index X-3
COB Command CT Line Command 1-94
Extended Syntax A-3 Cursor Positioning
Column Boundaries Change 1-506, 1-507
Display/Change
Using STATUS AWS 1-565—1-569
Using STATUS DISPLAY 1-570 D
Comma D Line Command 1-131
repeat symbol, use in xliv Data Display Mode
Command Area Display/Change
Change Size of 1-504 With STATUS AWS 1-565—1-569
Command Character Set With STATUS DISPLAY 1-570, 1-571
Description xxxviii Setting 1-508—1-512
Command Delimiter Data Protection Attribute, AWS
Change Display/Change 1-565—1-569
For PF/PA Keys 1-538 Data Set Facility
For Primary Commands 1-493, 1-494 Attaching
Delimiter 1-493, 1-494 Menu 1-168
Command Execution Hierarchy Selection List (Via Menu) 1-168
Description xxxix Using ATTACH DSN 1-50
Command Types Using ATTACH VOL 1-71
Description xl Using SELECT 1-482, 1-483
COMPRESS Command 1-87 Locate/Display Data
Compressing Data Sets 1-87 All Occurrences 1-260
CONTROL= (AllFusion CA-Panvalet) First Occurrence 1-221
EXPORT 1-205 Last Occurrence 1-293
IMPORT 1-252 Next Occurrence 1-330
COPY Command 1-89 Prior Occurrence 1-393
Copy Line Commands 1-94 Printing 1-405—1-415
Copy lines 1-630 Data Sets
Copy Screen Allocating
Using :C Description 1-15
Description 1-9 With ETSO 1-22
Copying Data Without ETSO 1-16
Between Screens Attaching
All or Range 1-630 Menu 1-168
Lines Containing String 1-636, 1-637, 1-638, Using ATTACH DSN 1-50
1-639 Between Screens 1-645
Lines Not Containing String 1-641, 1-642, Cancel Edit
1-643, 1-644, 1-645, 1-646 Data Saved 1-473
From Data Set, Job, or Member No Data Saved 1-84
All or Range 1-89 Cataloging 1-82
Containing String 1-97 Compressing 1-87
Not Containing String 1-105 Copying
Within AWS From AWS 1-196
Using Line Commands 1-94 Define Alias
COPYS Command 1-97 Data Set 1-118
COPYX Command 1-105 PDS Member 1-119
CR Line Command 1-94 Define GDG 1-121
Create AWS 1-113 Deleting
CREATE Command 1-113 Syntax 1-127
Detaching 1-147
Index X-5
DS Line Command 1-131 ETSO Commands (continued)
DSB Line Command 1-131 DIVERT 1-164
DSN Command 1-168 FREE 1-232
DST Line Command 1-131 RESUME 1-457
DT Line Command 1-131 SET ESCAPE 1-526, 1-527
DU Line Command 1-131 EXCL Command 1-184
DX Line Command 1-131 EXCL Line Command 1-190
DXB Line Command 1-131 EXEC Command 1-193
DXT Line Command 1-131 Executing
See Invoking 1-193
EXPAND= (AllFusion CA-Panvalet)
E IMPORT 1-252
E Line Command 1-176 EXPORT Command
EB Line Command 1-176 AllFusion CA-Librarian Master File
EDIT command 1-171 Syntax 1-200, 1-203
Edit Data Set 1-179 AllFusion CA-Panvalet File
Edit Line Commands 1-176 Syntax 1-204, 1-208
Edit String Description 1-195
Change Extended Syntax A-4
Using Line Commands 1-176 MVS Data Set
Trace Edit Change Syntax 1-196
Modifiable 1-523, 1-524
Using Primary Command 1-171
Editing Data F
Character FETCH Command 1-209
Using Line Commands 1-651, 1-652, 1-653 FILL Command 1-212
Using Primary Command 1-648—1-649 FIND Command
EDSN command 1-179 Display Member Information 1-216
EE Line Command 1-176 Position AWS Pointer 1-217
End Data Set Edit FIRST Command
Data Saved 1-473 To Locate/Display Data 1-221
No Data Saved 1-84 To Position Within Job 1-227
END Subcommand FIRST Line Command 1-229
DISPLAY Command 1-156 FORMAT= (AllFusion CA-Panvalet)
ERASE EOF Key EXPORT 1-205
Controlling Extent of Deletion FREE Command 1-232
Display/Change 1-565—1-569
Establish 1-525, 1-526
ET Line Command 1-176 G
ETC Command 1-183 Generation Data Group, Define 1-121
ETC, Invoking Interface 1-183
ETSO
Allocating
H
HELP Command 1-234
Data Sets 1-22
HEX
QUERY ALLOCATE 1-438
Hexadecimal Display
QUERY CALL 1-439
Setting 1-508—1-512
QUERY DIVERT 1-440
Holding
ETSO Commands
Print Request 1-422
:U (Suspend Execution) 1-9
CALL 1-79
CANCEL 1-81
JCK Command
Extended Syntax A-6 L
Syntax 1-288 LANGUAGE= (AllFusion CA-Panvalet)
JCL Syntax Checker EXPORT 1-205
JCK Command IMPORT 1-253
Syntax 1-288 LAST Command
Job Output To Locate/Display Data 1-293
Attaching 1-60 To Position Within Job 1-300
Change Characteristics LAST Line Command 1-302
ALTER Command 1-38
Using STATUS JOB 1-571, 1-572
Index X-7
LC Line Command 1-315 Library Facility (continued)
LCB Line Command 1-315 Attaching (continued)
LCC Line Command 1-315 Selection List 1-64
LCT Line Command 1-315 Using SELECT 1-484
LIBRARIAN Master File Detaching 1-147
Attaching Locate Data
Directly 1-50 First Occurrence 1-221
Using SELECT 1-482, 1-483 Last Occurrence 1-293
Between Screens 1-645 Next Occurrence 1-330
Copy Prior Occurrence 1-393
From AWS 1-200, 1-203 Printing 1-405—1-415
Copy To AWS Library Member
See Copy Lines 1-244 Access Attribute
Data Set Facility 1-50 Change Default 1-543
Locate/Display Data Attaching
All Occurrences 1-260 Using ATTACH LIB 1-64
First Occurrence 1-221 Via Selection List 1-305
Last Occurrence 1-293 Change Directly
Next Occurrence 1-330 ALTER Command 1-40
Prior Occurrence 1-393 Concatenate into AWS 1-85
Print 1-405—1-415 Copy Into AWS
LIBRARIAN Module All or Range 1-89
Attaching Lines Containing String 1-97
Directly 1-50 Lines Not Containing String 1-105
Using SELECT 1-482, 1-483 Deleting 1-130
Copy Detaching 1-147
From AWS 1-200, 1-203 Displaying
Copy To AWS Information About, Using FIND 1-216
See Copy Lines 1-244 Information About, Using INFO 1-276
Locate/Display Data Non-Modifiable 1-307
All Occurrences 1-260 Enable Expansion
First Occurrence 1-221 -INC Statements 1-533, 1-534
Last Occurrence 1-293 Place in AWS
Next Occurrence 1-330 FETCH Command 1-209
Prior Occurrence 1-393 Position Display
Print 1-405—1-415 Within 1-388
Select Display 1-482, 1-483 Printing 1-405—1-415
LIBRARIAN Selection List Save AWS Contents as 1-462, 1-464
Attaching Select Display 1-484
Directly 1-50 Submit for Execution 1-582, 1-583, 1-584
Using SELECT 1-482, 1-483 Update Contents 1-624, 1-625
Data Set Facility 1-50 Library Member Attributes
Locate/Display Data Establish/Change Access Default 1-543
All Occurrences 1-260 Line Commands
Print 1-405—1-415 Enable Use of 1-508—1-512
Select Display 1-482, 1-483 LIST Command 1-307
Selection List 1-50 Locate/Display Data
LIBRARY Command 1-305 All Occurrences
Library Facility Line Command 1-267
Attaching Modifiable Primary Command 1-260
Member 1-64 Primary Command 1-474—1-478
Member, via Menu 1-305
Index X-9
O PREV Command
To Locate/Display Data 1-393
OFF Command 1-349 To Position Within Job 1-400
OFFON Command 1-351 PREV Line Command 1-402
OM Line Command 1-357 PRINT CANCEL Command 1-416
OMB Line Command 1-357 PRINT Command 1-405—1-415
OMIT Command 1-352 Operands 1-410
OMT Line Command 1-357 PRINT DEVICE Command 1-418—1-421
ORDER Command PRINT HOLD Command 1-422
Reorder Library Selection List 1-371 PRINT LOCATION Command 1-424—1-427
Reorder Records In AWS 1-360 PRINT RELEASE Command 1-428
ORDER DSN Command PRINT ROUTE Command 1-430
Reorder Library Selection List 1-363 PRINT STATUS Command 1-432—1-435
ORDER Line Command 1-376 Printing (At 328x/System Printer)
Overlay Line Commands Changing Printing (At 328x/System Printer)
With Mask 1-357 Location 1-414
Controlling
P Cancel Requests 1-416
Page/Request Separators
Panvalet Member
(INSEP/NOSEP) 1-412
Copy
Sequence Numbers (NUM/NONUM) 1-412
From AWS 1-204, 1-208
Top and Bottom Margins (TM/BM) 1-413
Parentheses
Controls
syntax diagrams, use in xlii
Hold Requests 1-422
Password
Release Requests 1-428
Changing User 1-379
Reroute Requests 1-430
PASSWORD Command 1-379
Current Screen (:P) 1-410
PDS Member
Data
Print 1-405, 1-415
Identify, Using :P 1-410
PDS Selection List
Identify, Using PRINT 1-405—1-415
Print 1-405, 1-415
Qualify 1-405—1-415
pg-start.(B (Shift) Line Command 1-555
Defining Paper Size 1-414
PGMR= (AllFusion CA-Panvalet)
Designating Site-Defined Class 1-414
IMPORT 1-253
Display Information About
PLI Command
Printers 1-418—1-421
Extended Syntax A-8
Printing Locations 1-424—1-427
POINT Command 1-380
Request Status 1-432—1-435
With AWS 1-381
Forcing Page Alignment (FPA) 1-413
With Data Set 1-383
Formatting Data (FORMAT) 1-412
With Job Output 1-385
Formatting Output (TYPE) 1-412
With Library Member 1-388
Identifying Data To Be Printed
Pointer Positioning
(AWS/DSN/JOB/LIB/SCREEN) 1-410
AWS
Receive Notification Messages 1-405—1-415
First Line 1-617
Scheduling a Print Request 1-409
Specific Line 1-381
Screen 1-9
In Job Output 1-385
Selecting Specific Line/Column Ranges
With Data Set 1-383
(p/q/COLS) 1-411
With Library Member 1-388
Specify
PREFIX Command 1-390
Class 1-409
Prefix Line in AWS 1-390
Destination 1-409
Index X-11
SDSN command 1-473 Session Attributes (continued)
SEARCH Command 1-474—1-478 Advantage CA-Roscoe
Search for String Command Message Control,
See Locate/Display Data 1-474—1-478 Display/Change 1-574—1-579
SELECT Command (Advantage CA-Roscoe) Command Message Control,
With AWS MSGLEVEL 1-537, 1-538
Display/Change Defined Form 1-565 ID Display 1-551
Position Display 1-479, 1-480, 1-481 Automatic
With Data Set Facility 1-482, 1-483 Line Insertion After I or IB, Establish 1-499,
With Library Facility 1-484 1-500
Selection Lists Line Insertion, Display/Change 1-574—1-579
Between Screens 1-645 Sign-off Facility,
Copy To AWS Display/Change 1-574—1-579
See Copy Lines 1-97 Sign-off Facility, Establish 1-496, 1-497
Data Set Facility Terminal Lock Facility,
Attach, Using ATTACH DSN 1-50 Display/Change 1-574—1-579
Attach, Using ATTACH VOLUME 1-71 Terminal Lock Facility, Establish 1-552, 1-553
Attach, using Menu 1-168 AWS
Attach, Using SELECT 1-482, 1-483 Data Protection 1-565—1-569
Select Display 1-482, 1-483 Discard Setting 1-565—1-569
Library Facility Highlighting 1-565—1-569
Attach, Using ATTACH LIB 1-64 Recovery Setting 1-565, 1-569
Attach, Using SELECT 1-484 Selection Setting 1-565—1-569
Select Display 1-484 AWS Data Protection
Print 1-405—1-415 Establish 1-500
SEND Command 1-485, 1-486 AWS Highlighting
Send Messages Establish 1-500
To Other Users 1-485—1-486 Character Set
Separator Pages Display/Change, Using STATUS
Using RPSDEF Command 1-539—1-541 AWS 1-565—1-569
SEQ Command 1-488, 1-489 Display/Change, Using STATUS
Sequence Attribute SESSION 1-574—1-579
See Library Member Establish 1-503
Attributes/Description 1-488, 1-489 Character Translation
Sequence Numbers Display/Change, Using STATUS AWS 1-565
Control Display of Display/Change, Using STATUS
Establish 1-508—1-512 DISPLAY 1-570, 1-571
Using STATUS AWS 1-565 Establish 1-534
Using STATUS DISPLAY 1-570, 1-571 Column Boundaries
Enable in Output 1-488, 1-489 Establish, Using Primary Command 1-501,
Increment 1-502
Display/Change 1-565—1-569 Using STATUS AWS 1-565
Printing 1-539 Using STATUS DISPLAY 1-570, 1-571
Session Attributes Command Area
-INC Statement Expansion Establish 1-504
Display/Change 1-574—1-579 Command Delimiter (Advantage CA-Roscoe)
Establish 1-533, 1-534 Display/Change 1-574—1-579
:C (COPY) Destination Using 1-493, 1-494
Display/Change 1-574—1-579 Command Delimiter (PF/PA Key)
Establish 1-505 Display/Change 1-570, 1-571
+INC Statement Expansion Using 1-538
Display/Change 1-574—1-579
Index X-13
SET BOUNDS Command 1-501, 1-502 Sign Off (continued)
SET CHARSET Command 1-503 Terminate Session with Sign-on 1-351
SET CMDLINES Command 1-504 Sign-on Program
SET COPYDEST Command 1-505 Change 1-560
SET CURSOR Command 1-506 SIGNON Command 1-560
SET DATEFORM Command 1-507 SLEVEL= (AllFusion CA-Panvalet)
SET DISPLAY Command 1-508, 1-509, 1-510, 1-511, EXPORT 1-205
1-512 Sort AWS Contents 1-561, 1-562
SET DSN ORDER Command 1-512 SORT Command 1-561, 1-562
SET DSNCMLST Command 1-519 SPACE Command 1-563
SET DSNCNT Command 1-520, 1-521 Space Requirements
SET DSNEMPTY Command 1-521 User Libraries 1-563
SET DSNRECALL Command 1-522, 1-523 STATUS AWS Command 1-565—1-569
SET EDITCHNG Command 1-523, 1-524 STATUS COMMAND Command 1-569
SET EOF Command 1-525, 1-526 STATUS DISPLAY Command 1-570, 1-571
SET ESCAPE Command 1-526, 1-527 STATUS JOB Command 1-571, 1-572
SET FILL Command 1-527 STATUS NOTES Command 1-573, 1-574
SET HELPPFX Command 1-528 Status of
SET INFRECALL command 1-529 AWS 1-565—1-569
SET JOBCNT Command 1-530, 1-531 Column Boundaries 1-570, 1-571
SET LIB ORDER Command 1-531 Command Default/Maximum Values 1-580,
SET MASTER Command 1-533, 1-534 1-581
SET MODE Command 1-534 Display Format/Margins 1-570, 1-571
SET MONLEVEL Command 1-536, 1-537 Executed Commands 1-569
SET MSGLEVEL Command 1-537, 1-538 Job Output 1-571, 1-572
SET PFKDELIM Command 1-538 NOTE Names 1-573, 1-574
SET RPSDEF Command 1-539—1-541 STATUS SESSION Command 1-574, 1-579
SET RPSDEST command 1-414, 1-541 STATUS SYSTEM Command 1-580, 1-581
SET RPSNOTIFY Command 1-542 STATUS= (AllFusion CA-Panvalet)
SET SAVEATTR Command 1-543 IMPORT 1-253
SET SCROLL Command 1-544 String Handling
SET SEARCH Command 1-545, 1-546 Change, Trace
SET SEND Command 1-546 Modifiable 1-523, 1-524
SET SPLIT Command 1-547 Locate All Occurrences
SET STATS Command 1-548 Using Primary Command 1-474, 1-475, 1-476,
SET SUBMIT Command 1-549, 1-550 1-477
SET SYSID Command 1-551 SUBMIT Command 1-582, 1-583, 1-584
SET TLOCK Command 1-552, 1-553 Submitting Job(s)
SET USERID Command 1-553 Define Characteristics of 1-549, 1-550
Shift Line Commands From AWS 1-582—1-584
To Left 1-555, 1-556, 1-557 From Library 1-582—1-584
To Right 1-557, 1-558, 1-559 Receiving Completion Notification 1-583
Shifting Data SUBSET= (AllFusion CA-Panvalet)
Left IMPORT 1-253
Using Line Commands 1-555, 1-556, 1-557 SUFFIX Command 1-585, 1-586
Using Primary Command 1-317 Suffix Line in AWS 1-585, 1-586
Right Swap
Using Line Commands 1-557, 1-558, 1-559 :W Command 1-9
Using Primary Command 1-458 Syntax diagrams
Sign Off reading (how to) xli—xlvi
Terminate Session 1-349
Index X-15
W
WAIT Command 1-628
Width
Typewriter Device 1-629
WIDTH Command 1-629
X
XCOPY Command 1-630—1-633
XCOPYS Command 1-634, 1-635, 1-636, 1-637,
1-638, 1-639
XCOPYX Command 1-641—1-646
XL Line Command 1-651—1-653
XLATE Command 1-648—1-649
XLB Line Command 1-651, 1-652, 1-653
XLT Line Command 1-651—1-653
Z
ZAP Command
Description of 1-654—1-656
Extended Syntax A-9
Subcommands
* 1-656
ABSDUMP 1-656, 1-657
BASE 1-658
CCHHR 1-658
DUMP 1-659
IDRDATA 1-660
NAME 1-661
RELDUMP 1-661, 1-662
REP 1-662
SETSSI 1-663
SYSLIB 1-664—1-666
TTR 1-667
VERIFY 1-667