Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
InSync Handbook
Contents
INSYNC HANDBOOK
4 Contents
INSYNC HANDBOOK
Contents
5
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . .115
INSYNC HANDBOOK
6 Contents
INSYNC HANDBOOK
7
INSYNC HANDBOOK
8 About this manual
Release levels
Macro 4 product release levels are of the form n.nnn. Minor software
updates are reflected by a change in the last two digits, and do not
necessarily cause the documentation to be reissued.
Conventions
The following typographic conventions are used:
Further information
For details of the functions and facilities of the product, including
those not covered in this Handbook, please refer to the following
InSync manuals:
■ The InSync Installation and Configuration Guide tells you how to
install the product on your system.
■
The InSync for z/OS User Guide, DB2 User Guide and IMS User Guide
explain InSync’s abilities to handle those types of data file.
INSYNC HANDBOOK
Further information
9
INSYNC HANDBOOK
10 About this manual
INSYNC HANDBOOK
11
CHAPTER 1
Chapter 1 Introduction
INSYNC HANDBOOK
12 CHAPTER 1 ■
Introduction ■
What is InSync?
What is InSync?
InSync is a comprehensive file and data management solution
allowing developers fast, easy access to key application data, plus
comprehensive DB2 and IMS data management and testing. By
eliminating many time-consuming encumbrances of data
management, InSync enables application programmers to utilise
more efficiently their applications development and maintenance
skills. Thanks to InSync’s simple and consistent interface, users
quickly become comfortable with its capabilities.
INSYNC HANDBOOK
What does it look like?
13
INSYNC HANDBOOK
14 CHAPTER 1 ■
Introduction ■
What does it look like?
INSYNC HANDBOOK
What does it look like?
15
Type PFSHOW at the COMMAND ===> prompt, and then press Enter.
InSync displays the function key settings.
INSYNC HANDBOOK
16 CHAPTER 1 ■
Introduction ■
Is online help available?
DATA FILE:
“OK” is not a valid DATASET NAME ===> 'INO.TRG.DEM.CUST.ESDS'
response, and VOLUME SERIAL ===> (If not cataloged)
generates a brief Use subset selection criteria ===> OK (YES, NO)
error message Use existing subset selection criteria ===> NO (YES, NO)
Use COBOL or PL/1 layout to format display ===> YES (COB, PLI, YES, NO)
CONCATENATED LIBRARY LIST: MEMBER ===> DISPLAY ===> YES (YES, NO)
DATA FILE:
DATASET NAME ===> 'INO.TRG.DEM.CUST.ESDS'
VOLUME SERIAL ===> (If not cataloged)
CONCATENATED LIBRARY LIST: MEMBER ===> DISPLAY ===> YES (YES, NO)
INSYNC HANDBOOK
What programming languages are supported?
17
INSYNC HANDBOOK
18 CHAPTER 1 ■
Introduction ■
What file structures are supported?
INSYNC HANDBOOK
19
CHAPTER 2
INSYNC HANDBOOK
20 CHAPTER 2 ■
Getting started ■
Where do I begin?
Where do I begin?
The InSync Primary Options menu, which provides access to the
online facilities, is usually invoked from an ISPF menu. You should
check with your System Administrator for instructions on the menu
option to select.
Alternatively, enter the following command on any ISPF command
line:
tso exec 'hlq.clist(insync00)'
where hlq is the high level qualifier of the location at which your site’s
InSync libraries have been installed.
NEW in 5.300 The Primary Options menu appears:
FIELDCOMPARE option
InSync ---------------- Data Manipulation Utility ---------------- Ver version
OPTION ===>
The ‘DB2’ and ‘IMS’ lines will be present only if your installation
includes the options for InSync to work with those IBM database
products.
If they are available, you can start the DB2 and IMS options from any
ISPF command line:
tso exec 'hlq.clist(insync)' 'DB2'
tso exec 'hlq.clist(insync)' 'IMS'
For more information, see ‘DB2 and IMS databases’ on page 101.
INSYNC HANDBOOK
How do I browse the contents of a dataset?
21
Select the BROWSE option from the InSync Primary Options menu;
the Dataset Specification panel appears:
InSync ----------------- BROWSE - Dataset Specification ---------------- InSync
COMMAND ===>
This is the name of DATA FILE:
the dataset to be DATASET NAME ===> 'INO.TRG.DEM.CUST.KSDS'
viewed VOLUME SERIAL ===> (If not cataloged)
CONCATENATED LIBRARY LIST: MEMBER ===> DISPLAY ===> YES (YES, NO)
Type within single quotes '...' the name of a dataset to be viewed, and
leave the other fields at their default values as shown.
Some of the fields on the panel may already contain data, because
InSync remembers most panel settings from one session to the next.
Press Enter.
InSync BROWSE - INO.TRG.DEM.CUST.KSDS ------------------------ Row 1 to 2 of 2
COMMAND ===> SCROLL ===> PAGE
INSYNC HANDBOOK
22 CHAPTER 2 ■
Getting started ■
How do I browse the contents of a dataset?
1 2 3 4 5
POSN 12345678901234567890123456789012345678901234567890
1
CHAR 0101BER951002Andrew Cronk The Mount Fincham
ZONE FFFFCCDFFFFFFC9898A4C9999444E884D9A9A444444C898889
NUMR 01012599510021549560396520003850464530000006953814
+---------+---------+---------+---------+---------+
51 CHAR pstead Berkshire .f.....
ZONE 9AA88844C899A88984444440800007
NUMR 723514002592289950000001600F05
+---------+---------+---------+---------+---------+
******************************* Bottom of data ********************************
From now on, we’ll shorten a phrase like “type HEX OFF at the
COMMAND ===> prompt, and then press Enter” to just “use the
HEX OFF command”.
Error and warning KSDS RKP 0 KEYLEN 4 Data length 80 - CAPS OFF
messages appear 1 2 3 4 5
here POSN 12345678901234567890123456789012345678901234567890
INSYNC HANDBOOK
How do I browse the contents of a dataset?
23
In a KSDS, you can use the KEY value command to jump to a record
with a specific key (or partial key). For example:
KEY ABC
KEY 'ABC'
KEY X'414243'
In an ESDS, you can use the RBA value command to jump to a record
with a specific Relative Byte Address. For example:
RBA X'4142434445464748'
1 2 3 4 5
POSN 12345678901234567890123456789012345678901234567890
1 CHAR ---------+---------+---------+---------+---------+
51 CHAR ---------+---------+---------+---------+---------+
101 CHAR ---------+---------+---------+---------+---------+
151 CHAR ---------+---------+---------+---------+---------+
201 CHAR ---------+---------+---------+---------+---------+
251 CHAR ---------+---------+---------+---------+---------+
301 CHAR ---------+---------+---------+---------+---------+
351 CHAR ---------+---------+---------+---------+---------+
401 CHAR ---------+---------+---------+---------+---------+
451 CHAR ---------+---------+---------+---------+---------+
501 CHAR ---------+---------+---------+---------+---------+
551 CHAR ---------+---------+---------+---------+---------+
601 CHAR ---------+---------+---------+---------+---------+
651 CHAR ---------+---------+---------+---------+---------+
701 CHAR ---------+---------+---------+---------+---------+
751 CHAR ---------+---------+---------+---------+---------+
INSYNC HANDBOOK
24 CHAPTER 2 ■
Getting started ■
How do I browse the contents of a dataset?
INSYNC HANDBOOK
How do I browse the contents of a dataset?
25
In full-screen mode:
Start of file
UP
PREV NEXT
DOWN
End of file
In single-record mode:
PREV NEXT
DOWN
INSYNC HANDBOOK
26 CHAPTER 2 ■
Getting started ■
How do I apply formatting to my displays?
DATA FILE:
DATASET NAME ===> 'INO.TRG.DEM.CUST.KSDS'
VOLUME SERIAL ===> (If not cataloged)
This is where you COPY LIBRARY OR STORED SUBSET SELECTION CRITERIA LIBRARY
ISPF: PROJECT ===>
choose formatted GROUP ===>
display mode TYPE ===>
MEMBER ===> (Blank or pattern for member selection list)
This is the name of CONCATENATED LIBRARY LIST: MEMBER ===> DISPLAY ===> YES (YES, NO)
the copybook OTHER DATASET ===> 'INO.TRG.DEM.CPYBOOKS(ALLCUST)'
Type within single quotes '...' the name of a dataset to be viewed, type
YES for Use COBOL or PL/I layout to format display, and supply
the details of the copybook member, also within single quotes.
When you type YES, InSync inspects the copybook and attempts to
deduce whether it’s written in COBOL or PL/I. You can tell InSync
which language applies by typing C[OB] or P[LI].
INSYNC HANDBOOK
How do I apply formatting to my displays?
27
InSync uses the information from the copybook – the name, data type
and length of each field – to apply formatting to the data, making it
much easier to read.
INSYNC HANDBOOK
28 CHAPTER 2 ■
Getting started ■
How do I apply formatting to my displays?
BROWSE
(Note 1) Dataset (Note 1)
Specification
panel
FS ON FS ON TFORMAT ON
(Note 3)
multi-record multi-record
unformatted formatted
(full-screen) FS ON (tabular)
(Note 4)
INSYNC HANDBOOK
How do I apply formatting to my displays?
29
Notes
1 If on the Dataset Specification panel you type YES for Use
COBOL or PL/I layout to format display then the data is
initially displayed in single-record formatted mode; you can opt
instead to always start in multi-record formatted (tabular) mode –
see ‘What other parameters can I adjust?’ on page 45. Similarly, if
you type NO then the data is initially displayed in single-record
unformatted mode, but you can opt instead to always start in
multi-record unformatted (full-screen) mode.
2 Use FORMAT to display a panel where you can specify the name
of a COBOL or PL/I record layout defined in a copybook library.
Once you’ve specified a format member (either here or on the
Dataset Specification panel), use FORMAT OFF and FORMAT ON
to switch between unformatted and formatted display modes.
3 The arrows show the effects of using the commands with an ON
suffix; an OFF suffix works in the opposite direction.
4 The FS ON command remembers your current mode, and reverts
to that mode when you use FS OFF, except that a previous tabular
mode instead reverts to single-record formatted mode.
In single-record In multi-record
To display this
displays, use displays, use
INSYNC HANDBOOK
30 CHAPTER 2 ■
Getting started ■
How do I apply formatting to my displays?
DATA FILE:
DATASET NAME ===> 'INO.TRG.DEM.CUST.KSDS'
VOLUME SERIAL ===> (If not cataloged)
INSYNC HANDBOOK
I’ve finished viewing the data: what now?
31
When evaluating the various Library fields, InSync looks for an entry
first in Other Dataset, then in Concatenated Library List, then
finally in the ISPF fields.
If you type NO for Use COBOL or PL/I layout to format display
then the data is displayed in unformatted mode. To apply formatting
at this stage, without returning to the Dataset Specification panel, use
the FORMAT command to present the Copy Library panel:
InSync ---------------------- FORMAT Copy Library ---------------------- InSync
COMMAND ===>
COPY LIBRARY:
ISPF: PROJECT ===>
GROUP ===>
TYPE ===>
MEMBER ===> (Blank or pattern for member selection list)
CONCATENATED LIBRARY LIST: MEMBER ===> DISPLAY ===> YES (YES, NO)
The fields on this panel are evaluated in exactly the same way as the
equivalent fields on the Dataset Specification panel. If you leave the
Formatted Display Language field empty, InSync inspects the
copybook and attempts to deduce whether it’s written in COBOL or
PL/I. You can tell InSync which language applies by typing C[OB] or
P[LI].
Press Enter. The record you were previously viewing is redisplayed,
now in formatted mode.
INSYNC HANDBOOK
32 CHAPTER 2 ■
Getting started ■
Did you know?
INSYNC HANDBOOK
33
CHAPTER 3
The previous chapter talked about the four basic display modes:
formatted/unformatted and single-record/multi-record. InSync offers
you several ways of fine-tuning the amount of data that’s displayed,
and the way in which it is presented. See:
■
‘What are “subset selection criteria”?’ on page 34
■ ‘Can I suppress some of the fields?’ on page 41
■
‘Can I search for specific values?’ on page 44
■
‘What other parameters can I adjust?’ on page 45
INSYNC HANDBOOK
34 CHAPTER 3 ■
Controlling what’s displayed ■
What are “subset selection criteria”?
BROWSE
CARS display -
dataset all cars
BROWSE
CARS display -
dataset FORD cars
only
DATA FILE:
DATASET NAME ===> 'INO.TRG.DEM.CUST.KSDS'
VOLUME SERIAL ===> (If not cataloged)
Type YES and NO Use subset selection criteria ===> YES (YES, NO)
Use existing subset selection criteria ===> NO (YES, NO)
to define new Use COBOL or PL/1 layout to format display ===> YES (COB, PLI, YES, NO)
criteria
COPY LIBRARY OR STORED SUBSET SELECTION CRITERIA LIBRARY
ISPF: PROJECT ===>
GROUP ===>
TYPE ===>
MEMBER ===> (Blank or pattern for member selection list)
CONCATENATED LIBRARY LIST: MEMBER ===> DISPLAY ===> YES (YES, NO)
INSYNC HANDBOOK
What are “subset selection criteria”?
35
If you don’t want to sample the data numerically, leave the first three
fields at their defaults values of zero. Type YES for Display Save
Subset Selection panel; that panel will give you an opportunity to
save your settings for later reuse. Below those fields is a representation
of the record format, only without any data values. Use the area to the
right of the field details to define the criteria by which records are to
be selected. For example, to select only those records where CUSTNO
is greater than 999:
C LVL FIELD NAME FORMAT BOOL CN DATA
********************************** TOP OF DATA ********************************
The Condition can 01 DEALER G
05 CUSTNO Z 4 GT 999
be EQ, NE, GT, LT, 05 LOCATN C 3
GE or LE. For a 05 STDATE Z 6
character field, 05 NAME C 15
05 ADDRESS1 C 15
you can also use 05 ADDRESS2 C 15
CO (contains) 05 ADDRESS3 C 15
********************************* BOTTOM OF DATA ******************************
INSYNC HANDBOOK
36 CHAPTER 3 ■
Controlling what’s displayed ■
What are “subset selection criteria”?
INSYNC HANDBOOK
What are “subset selection criteria”?
37
When your subset selection criteria are complete – and if you typed
YES for Display Save Subset Selection panel a couple of pages
back – you have an opportunity to save them:
InSync ----------------- Save Subset Selection criteria ---------------- InSync
COMMAND ===>
LIBRARY OPTIONS:
Replace like named members ===> YES (YES, NO)
If you press Enter without changing anything, the criteria you have
defined are used to select the records for display, and then discarded.
If you think you may require to browse or edit the same subset of
records in the future, you can save the selection criteria in a dataset.
For temporary criteria, not worth saving, you could have bypassed
this panel by typing NO for Display Save Subset Selection panel.
INSYNC HANDBOOK
38 CHAPTER 3 ■
Controlling what’s displayed ■
What are “subset selection criteria”?
LIBRARY OPTIONS:
Replace like named members ===> YES (YES, NO)
When evaluating the various Library fields, InSync looks for an entry
first in Other Dataset, then in the ISPF fields.
Type YES for Replace like named members if you wish to
overwrite a previously-saved set of criteria. Type YES for Save
description in directory to replace PDS member statistics in the
library directory by the Subset search description that you’ve
specified (this will then be shown on InSync member list displays).
After the selection criteria have been saved, they are used to select the
records for display.
Type YES and YES Use subset selection criteria ===> YES (YES, NO)
Use existing subset selection criteria ===> YES (YES, NO)
to re-use existing Use COBOL or PL/1 layout to format display ===> YES (COB, PLI, YES, NO)
criteria
COPY LIBRARY OR STORED SUBSET SELECTION CRITERIA LIBRARY
ISPF: PROJECT ===>
Use either OTHER GROUP ===>
DATASET, CONC. TYPE ===>
LIBRARY LIST or MEMBER ===> (Blank or pattern for member selection list)
the four ISPF fields CONCATENATED LIBRARY LIST: MEMBER ===> DISPLAY ===> YES (YES, NO)
to define the saved
criteria dataset OTHER DATASET ===> 'INO.TRG.DEM.CRITLIB(SEL1)'
INSYNC HANDBOOK
What are “subset selection criteria”?
39
When evaluating the various Library fields, InSync provides the same
mechanisms as for a copy library – see ‘How exactly do I specify my
record layout?’ on page 30.
You can use the same saved criteria to view any dataset whose records
match the defined selection conditions.
DATA FILE:
DATASET NAME ===> 'INO.TRG.DEM.CUST.KSDS'
VOLUME SERIAL ===> (If not cataloged)
Type YES and NO Use subset selection criteria ===> YES (YES, NO)
Use existing subset selection criteria ===> NO (YES, NO)
to define new Use COBOL or PL/1 layout to format display ===> NO (COB, PLI, YES, NO)
criteria
COPY LIBRARY OR STORED SUBSET SELECTION CRITERIA LIBRARY
ISPF: PROJECT ===>
GROUP ===>
TYPE ===>
MEMBER ===> (Blank or pattern for member selection list)
CONCATENATED LIBRARY LIST: MEMBER ===> DISPLAY ===> YES (YES, NO)
1 2 3 4 5
C POSN LL CND 12345678901234567890123456789012345678901234567890 AND/OR
Use this area to CHAR AND
create a subset of CHAR AND
records by testing CHAR AND
CHAR AND
values in the CHAR AND
records CHAR AND
CHAR AND
CHAR AND
CHAR AND
CHAR AND
INSYNC HANDBOOK
40 CHAPTER 3 ■
Controlling what’s displayed ■
What are “subset selection criteria”?
You can specify compound conditions, involving more than one field.
For example:
1 2 3 4 5
C POSN LL CND 12345678901234567890123456789012345678901234567890 AND/OR
Again, you can overtype an AND with an OR. In fact, the whole
process is similar to that already described in formatted mode, except
that you need to have the data’s position and hexadecimal storage
representation at your fingertips.
Hexadecimal display is available for dealing with unprintable
characters – use the HEX ON command:
C POSN LL CND 12345678901234567890123456789012345678901234567890 AND/OR
INSYNC HANDBOOK
Can I suppress some of the fields?
41
1 2 3 4 5
C POSN LL CND 12345678901234567890123456789012345678901234567890 AND/OR
You can mark fields which you wish to exclude from display:
■
individually, using the X line command alongside each field to
exclude, or
■ in a block, using the XX line command alongside the first and the
last fields in a block.
For example:
INSYNC HANDBOOK
42 CHAPTER 3 ■
Controlling what’s displayed ■
Can I suppress some of the fields?
INSYNC HANDBOOK
Can I suppress some of the fields?
43
INSYNC HANDBOOK
44 CHAPTER 3 ■
Controlling what’s displayed ■
Can I search for specific values?
1 2 3 4 5
C POSN LL CND 12345678901234567890123456789012345678901234567890 AND/OR
CHAR AND
CHAR AND
CHAR AND
CHAR AND
CHAR AND
CHAR AND
CHAR AND
CHAR AND
CHAR AND
CHAR AND
CHAR AND
CHAR AND
CHAR AND
CHAR AND
CHAR AND
******************************* Bottom of data *******************************
You use these panels in exactly the same way as the Subset Selection
Criteria panels – see ‘What are “subset selection criteria”?’ on
page 34. When you press Enter, InSync displays the next record
which matches your specified search criteria. Use the RFIND (Repeat
FIND) command to step through the dataset, finding each matching
record in turn.
To search backwards from your current position, use FIND PREV. To
search forwards from the start of the dataset, or backwards from the
end, use FIND FIRST or FIND LAST respectively.
INSYNC HANDBOOK
What other parameters can I adjust?
45
INSYNC HANDBOOK
46 CHAPTER 3 ■
Controlling what’s displayed ■
What other parameters can I adjust?
You can also use the PROFILE command to display this panel while in
the middle of a Browse or Edit session, but you can’t then change any
of the settings. However, you can alter some settings using
equivalent ON|OFF commands.
Equivalent
Parameter Effect when YES
command
Prefix dataset Dataset names are automatically —
names
prefixed with your TSO prefix,
unless enclosed in single quotes '...'
Indent
formatted
Fieldnames in formatted displays are INDENT ON
displays indented for each increase in level
number
Display record
descriptor
The four-byte RDW value is included RDW ON
word when displaying variable-length
sequential records
Display 88
level values
COBOL 88 levels and their SHOW88 ON
associated data are included in
formatted displays
Hold vertical
scroll
The display is held at the same field VERTHOLD ON
position position when scrolling between
records
Hold
horizontal
The display is held at the same field HORIHOLD ON
scroll position when switching between
position
single- and multi-record displays
INSYNC HANDBOOK
What other parameters can I adjust?
47
Equivalent
Parameter Effect when YES
command
Force upper
case on data
Alphabetic text input is automatically CAPS ON
input folded to upper-case
Display Binary and packed decimal numbers —
leading zeros
are displayed with leading zeros
Assume The sign is only displayed for signed —
positive
signed numbers when it is negative
numerics
Some other commands which control the way data is displayed are:
■
EXPAND to display COBOL OCCURS groups (or PL/I arrays); use
COMPRESS to revert to the previous display.
■
COLWIDTH to fine-tune the column widths in a tabular display.
NEW in 5.300
■
SCROLL RIGHT to transfer the scrolling action of the LEFT/RIGHT
SCROLL RIGHT
command
keys (PF10/PF11) from the left-hand table to the right-hand table
in, for example, the DB2 Browse Table/View Selection panel.
You can use LAYOUT to display the currently-active COBOL or PL/I
record layout; use END to revert to the previous display. The layout
display is a convenient way of discovering field sequence numbers
and field lengths (including group fields). See also ‘How do I display
or print my record layout?’ on page 78.
INSYNC HANDBOOK
48 CHAPTER 3 ■
Controlling what’s displayed ■
Did you know?
INSYNC HANDBOOK
49
CHAPTER 4
In this chapter, we explain how you can edit dataset records, using
panels very similar to those of the BROWSE option. See:
■ ‘I guess I start from the Primary Options menu?’ on page 50
■
‘What editing operations are available?’ on page 56
INSYNC HANDBOOK
50 CHAPTER 4 ■
Editing records in a dataset ■
I guess I start from the Primary Options menu?
CONCATENATED LIBRARY LIST: MEMBER ===> DISPLAY ===> YES (YES, NO)
Most of the fields on the panel should be familiar from the BROWSE
option; these are the additional controls (see ‘Supposing I make a
mistake...?’ on page 51 and ‘Why is READ-ONLY editing useful?’ on
page 55 for more information on their use):
INSYNC HANDBOOK
I guess I start from the Primary Options menu?
51
INSYNC HANDBOOK
52 CHAPTER 4 ■
Editing records in a dataset ■
I guess I start from the Primary Options menu?
Edit directly
EDIT -
CARS all cars
dataset
Edit in-storage
EDIT -
CARS all cars
dataset
EDIT -
CARS FORD cars
dataset only
If you’re editing directly without a log file, UNDO can reverse only
your changes to the currently displayed record.
INSYNC HANDBOOK
I guess I start from the Primary Options menu?
53
You can change the work dataset node names on the User Profile
panel – see ‘What other parameters can I adjust?’ on page 45.
■
is read by InSync when you use UNDO to reverse all changes since
your last SAVE command (or the start of the Edit session), and is
deleted at the end of the session.
If you specify that you always want logging, the Log File Allocation
panel is bypassed.
INSYNC HANDBOOK
54 CHAPTER 4 ■
Editing records in a dataset ■
I guess I start from the Primary Options menu?
If you specify that you always want auditing, the Audit File Allocation
panel is bypassed.
You can set default allocation values for the Log and Audit datasets by
selecting PARMS on the Primary Options menu, and then selecting
LOG/AUDIT.
INSYNC HANDBOOK
I guess I start from the Primary Options menu?
55
INSYNC HANDBOOK
56 CHAPTER 4 ■
Editing records in a dataset ■
What editing operations are available?
INSYNC HANDBOOK
What editing operations are available?
57
Notes
1 Unless Log dataset changes is NO and Edit in storage is NO,
when changes to the current record only are reversed.
2 Available only in single-record modes.
3 The entry panel has the same appearance as the panels for
Browsing and Editing records. Press Enter twice to initiate the
action.
4 The select panel has the same appearance as the panels for Subset
Selection Criteria and Record Find. Leave the panel blank to
process all records in the dataset.
5 The dataset panel enables you the specify the dataset to be copied
from, the start record, and the number of records to copy.
6 Use FLIP to toggle the display of excluded/included records. Use
RESET to cancel any exclusions.
7 In a KSDS, you insert records by overtyping copies of existing
records.
INSYNC HANDBOOK
58 CHAPTER 4 ■
Editing records in a dataset ■
What editing operations are available?
INSYNC HANDBOOK
What editing operations are available?
59
INSYNC HANDBOOK
60 CHAPTER 4 ■
Editing records in a dataset ■
What editing operations are available?
INSYNC HANDBOOK
Did you know?
61
INSYNC HANDBOOK
62 CHAPTER 4 ■
Editing records in a dataset ■
Did you know?
INSYNC HANDBOOK
63
CHAPTER 5
INSYNC HANDBOOK
64 CHAPTER 5 ■
Other dataset capabilities ■
Can I just key in a whole set of records?
CONCATENATED LIBRARY LIST: MEMBER ===> DISPLAY ===> YES (YES, NO)
Type the name of a dataset to be edited, and supply the details of the
copybook member, just as you did for Browse and Edit. Other
optional controls are:
You can:
■ create a new dataset and add records to it,
■
select an existing dataset and add to its current records, or
■
select an existing dataset and replace its current records.
In formatted display mode, InSync validates the new records against
the record layout definition.
Press Enter. If you are adding records to an existing dataset, a data
entry panel is presented; this has the same appearance as the panels
for Browsing and Editing records.
Otherwise, if you are replacing existing records, you are asked for
confirmation before they are deleted, and if you are creating a new
dataset, you are asked to specify its characteristics:
INSYNC HANDBOOK
How can I create one dataset from another?
65
INSYNC HANDBOOK
66 CHAPTER 5 ■
Other dataset capabilities ■
How can I create one dataset from another?
Use COBOL or PL/1 layout to format display ===> YES (COB, PLI, YES, NO)
These fields are Add to existing records in output dataset ===> NO (YES, NO)
If keyed, replace equal keyed records ===> NO (YES, NO)
specific to the Number of records to skip before sample ===> (Default = 0)
EXTRACT option Number of records per sample ===> (Default = 1)
Maximum number of records to be extracted ===> (Blank = ALL)
Output File if new (KSDS/ESDS/RRDS/SEQ) ===> SEQ (Default = SEQ)
COPY LIBRARY:
ISPF: PROJECT ===>
GROUP ===>
TYPE ===>
MEMBER ===> (Blank or pattern for member selection list)
CONCATENATED LIBRARY LIST: MEMBER ===> DISPLAY ===> YES (YES, NO)
Maximum number
of records to
be extracted
Output file if
new
KSDS/ESDS/RRDS: SEQ: InSync presents the
(KSDS/ESDS/ InSync presents the Sequential Dataset
RRDS/SEQ)
VSAM Dataset Allocation Allocation panel.
panel.
INSYNC HANDBOOK
How can I create one dataset from another?
67
Input
Name Sex JobTitle Status Locn Phone
record
Output
Name JobTitle Phone Login Locn
record
Select the option from the InSync Primary Options menu; the Dataset
Specification panel appears:
InSync ---------------- FIELDMAP - Dataset Specification --------------- InSync
COMMAND ===>
These fields are Add to existing records in output dataset ===> NO (YES, NO)
Copy all records to output dataset ===> YES (YES, NO)
specific to the
FIELDMAP option INPUT COPY LIBRARY:
ISPF: PROJECT ===>
GROUP ===>
TYPE ===>
MEMBER ===> (Blank or pattern for member selection list)
CONCATENATED LIBRARY LIST: MEMBER ===> DISPLAY ===> YES (YES, NO)
INSYNC HANDBOOK
68 CHAPTER 5 ■
Other dataset capabilities ■
How can I create one dataset from another?
Press Enter. If you are creating a new dataset, you are asked to specify
its characteristics; supply the necessary information, and press Enter
to continue.
The Output Dataset Copybook Library panel appears:
InSync ---------- FIELDMAP - Output Copy Library Specification --------- InSync
COMMAND ===>
CONCATENATED LIBRARY LIST: MEMBER ===> DISPLAY ===> YES (YES, NO)
INSYNC HANDBOOK
How can I create one dataset from another?
69
Press Enter to validate the mappings you have defined, then press
Enter again to initiate the processing.
Same format To compare datasets that have the same format you use the COMPARE
option (for datasets that have different formats you use the
FIELDCOMPARE option – see ‘Different formats’ on page 72).
Select the COMPARE option from the InSync Primary Options menu;
the Dataset Specification panel appears:
InSync ---------------- COMPARE - Dataset Specification ---------------- InSync
COMMAND ===>
Use COBOL or PL/1 layout to format display ===> YES (COB, PLI, YES, NO)
These fields are Display search criteria panels ===> NO (YES, NO)
Display exclude field name panels ===> NO (YES, NO)
specific to the Display additional fields (formatted) ===> NO (YES, NO)
COMPARE option Max number of differences to be processed ===> (Blank = ALL)
Max number of differences to be reported ===> (Blank = ALL)
Read ahead count (non-keyed only) ===> 0 (0 - 9999
COPY LIBRARY:
ISPF: PROJECT ===>
GROUP ===>
TYPE ===>
MEMBER ===> (Blank or pattern for member selection list)
CONCATENATED LIBRARY LIST: MEMBER ===> DISPLAY ===> YES (YES, NO)
INSYNC HANDBOOK
70 CHAPTER 5 ■
Other dataset capabilities ■
How can I create one dataset from another?
Press Enter. For unkeyed datasets, you are asked to specify the field(s)
used to synchronize the comparison; supply the necessary
information, and press Enter to continue.
CHANGED in 5.300 If you chose an unformatted display in the above panel, you are asked
Output options for
COMPARE now on
to specify the output options:
separate panel
INSYNC HANDBOOK
How can I create one dataset from another?
71
CHANGED in 5.300 You also have the opportunity to specify output file names so that (for
Can choose to write
records that show as
compares that synch on a key) InSync will write the actual records out
different to separate
files
to separate files:
■
records that match
■ records that have changed in file 2 compared to file 1
■
records that have changed in file 1 compared to file 2
■ records that are in file 1 but not in file 2
■
records that are in file 2 but not in file 1.
Next, you are asked to allocate a temporary dataset for the report of
mismatches; just press Enter to continue.
InSync now compares the two datasets, writes a mismatch report to
that dataset, and then invokes ISPF Browse to display the report
online. When you use END to terminate the browse, you are given
the opportunity to output the report to a printer:
INSYNC HANDBOOK
72 CHAPTER 5 ■
Other dataset capabilities ■
How can I create one dataset from another?
JOB STATEMENTS:
===> //M4PINO JOB (000),'PROGRAMMER',CLASS=A,MSGCLASS=T
===>
===>
===>
Check the displayed values, then press Enter to initiate the batch print
job.
INSYNC HANDBOOK
Hardcopy output is probably handled by the PRINT option?
73
Use COBOL or PL/1 layout to format print ===> YES (COB, PLI, YES, NO)
Record print mode (unformatted) ===> HEX (CHAR, HEX)
These fields are New page for each record (unformatted) ===> NO (YES, NO)
specific to the Display search criteria panels ===> NO (YES, NO)
Display exclude field name (formatted) ===> NO (YES, NO)
PRINT option Print lower case characters ===> NO (YES, NO)
Start record number ===> (Default = 1)
Maximum number of records to be printed ===> (Blank = ALL)
COPY LIBRARY:
ISPF: PROJECT ===>
GROUP ===>
TYPE ===>
MEMBER ===> (Blank or pattern for member selection list)
CONCATENATED LIBRARY LIST: MEMBER ===> DISPLAY ===> YES (YES, NO)
The basic layout of the panel is similar to that for the BROWSE option;
these are the print-specific control fields:
INSYNC HANDBOOK
74 CHAPTER 5 ■
Other dataset capabilities ■
Hardcopy output is probably handled by the PRINT option?
JOB STATEMENTS:
===> //M4PINO JOB (000),'PROGRAMMER',CLASS=A,MSGCLASS=T
===>
===>
===>
Check the displayed values, then press Enter to initiate the print job.
You can set default allocation values for the Print dataset by selecting
PARMS on the Primary Options menu, and then selecting PRINT.
INSYNC HANDBOOK
Did you know?
75
INSYNC HANDBOOK
76 CHAPTER 5 ■
Other dataset capabilities ■
Did you know?
INSYNC HANDBOOK
77
CHAPTER 6
INSYNC HANDBOOK
78 CHAPTER 6 ■
More about formatting ■
How do I display or print my record layout?
COPY LIBRARY:
ISPF: PROJECT ===>
GROUP ===>
TYPE ===>
MEMBER ===> (Blank or pattern for member selection list)
CONCATENATED LIBRARY LIST: MEMBER ===> DISPLAY ===> YES (YES, NO)
Supply the name of the copybook member. If you leave Layout lang
blank, InSync inspects the copybook and attempts to deduce whether
it’s written in COBOL or PL/I. You can tell InSync which language
applies by typing C[OB] or P[LI].
If you press Enter with the Option field blank, InSync displays the
record layout:
InSync LAYOUT - INO.TRG.DEM.PRODCOPY(POLREC) ----------------------------------
COMMAND ===> SCROLL ===> PAGE
If you type “P” in the Option field, InSync asks you to allocate the
print dataset, just as you did when printing a dataset (see page 73), and
then initiates a batch print job.
Due to the specialized nature of the other options, they are not
covered in this introduction to InSync.
INSYNC HANDBOOK
Can InSync handle complex record layouts?
79
Multiple layouts
In a multiple layout, the dataset contains records of several formats,
each defined by a single separate layout:
A
C
A
A
C
A
B
C
Select the TABLES option from the InSync Primary Options menu;
the Table Options menu appears:
InSync ------------------------- TABLE Options ------------------------- InSync
OPTION ===>
Select the SELECT option from this menu; the Library panel appears:
INSYNC HANDBOOK
80 CHAPTER 6 ■
More about formatting ■
Can InSync handle complex record layouts?
OPTIONS:
Replace like named members ===> YES (YES, NO)
Format Language ===> (Optional, COB, PLI)
COPY LIBRARY:
ISPF: PROJECT ===>
GROUP ===>
TYPE ===>
MEMBER ===> (Blank or pattern for member selection list)
INSYNC HANDBOOK
Can InSync handle complex record layouts?
81
Use END to terminate the definitions. The member which you have
created here can now be treated as a copybook anywhere within
InSync when you are working with a dataset having this multiple
layout.
You can view the new member if you wish; its contents are something
like this:
FUNCTION=FORMAT
RDW=OFF
*
CASE
DESCRIPTION=CAR MODEL RECORD
FORMATDSN=(INO.TRG.DEM.PRODCOPY)
FORMATMBR=(CARMOD)
SEARCHDATA=(MODOPT,EQ,X'4040')
*
CASE
DESCRIPTION=CAR MODEL STATS REC
FORMATDSN=(INO.TRG.DEM.PRODCOPY)
FORMATMBR=(CARMODST)
SEARCHDATA=(OPTIND,NE,X'4040')
ENDCASE
INSYNC HANDBOOK
82 CHAPTER 6 ■
More about formatting ■
Can InSync handle complex record layouts?
For small changes to a select table definition, you may find it easier to
edit the table member directly rather than manipulating it using the
TABLES option.
Compound layouts
In a compound layout, all of the records in the dataset have the same
format, specified by concatenating several copybooks one after the
other:
INSYNC HANDBOOK
Can InSync handle complex record layouts?
83
Select the TABLES option from the InSync Primary Options menu;
the Table Options menu appears:
InSync ------------------------- TABLE Options ------------------------- InSync
OPTION ===>
LIBRARY OPTIONS:
Replace like named members ===> YES (YES, NO)
INSYNC HANDBOOK
84 CHAPTER 6 ■
More about formatting ■
Can InSync handle complex record layouts?
COPY LIBRARY:
ISPF: PROJECT ===>
GROUP ===>
TYPE ===>
MEMBER ===> (Blank or pattern for member selection list)
CONCATENATED LIBRARY LIST: MEMBER ===> DISPLAY ===> YES (YES, NO)
Use END to terminate the definitions. The member which you have
created here can now be treated as a copybook anywhere within
InSync when you are working with a dataset having this compound
layout.
INSYNC HANDBOOK
85
CHAPTER 7
INSYNC HANDBOOK
86 CHAPTER 7 ■
Dataset utilities ■
Working with datasets
INSYNC HANDBOOK
Working with PDS members
87
Options:
A - Allocate
D - Delete
Blank - Information
From this menu you can display a catalog list of datasets matching a
name pattern, from which you can:
■
allocate, delete and rename a dataset
■
view information about a dataset
■ modify a VSAM dataset’s characteristics
■
catalog and uncatalog a non-VSAM dataset
■
compress a PDS dataset
■ use InSync’s BROWSE and EDIT options.
INSYNC HANDBOOK
88 CHAPTER 7 ■
Dataset utilities ■
Working with VTOCs
INSYNC HANDBOOK
Working with VTOCs
89
Volume Information:
Volume serial ===>
Unit addr(s)/name ===> (dddd, dddd-dddd or esoteric)
Volume status ===> (blank, PRV, PUB or STG)
SMS Storage Group ===>
INSYNC HANDBOOK
90 CHAPTER 7 ■
Dataset utilities ■
Working with VTOCs
INSYNC HANDBOOK
91
CHAPTER 8
The InSync Batch User Guide gives full details of InSync’s batch
processing, and the Quick Reference Guide is a convenient summary
of batch options and their keywords.
INSYNC HANDBOOK
92 CHAPTER 8 ■
Working in batch ■
How do online and batch options match up?
PRINT PRINT
LAYOUT LAYOUT
EXTRACT EXTRACT
FIELDMAP FIELDMAP
COMPARE COMPARE
FIELDCOMPARE FIELDCOMPARE
DATEAGE DATEAGE
UTILITIES/LIBRARY LIBRARY
UTILITIES/SCAN SCAN
UTILITIES/VTOC VTOC
INSYNC HANDBOOK
How do I specify a batch option?
93
The menu shown is from the InSync for z/OS base product. Similar,
shorter, Batch Options menus are also available in InSync for DB2
and InSync for IMS.
In most cases, the panel which you’ll see next after selecting one of the
menu options is essentially identical to the panel for the equivalent
online option. For example, if you select batch EXTRACT, you’ll see
this panel:
InSync ------------------------- BATCH EXTRACT ------------------------- InSync
COMMAND ===>
Use COBOL or PL/1 layout to format display ===> YES (COB, PLI, YES, NO)
Use multiple FORMATDSN list for batch job ===> NO (YES, NO)
Add to existing records in output dataset ===> NO (YES, NO)
If keyed, replace equal keyed records ===> NO (YES, NO)
Number of records to skip before sample ===> (Default = 0)
Number of records per sample ===> (Default = 1)
Maximum number of records to be extracted ===> (Blank = ALL)
Output File if new (KSDS/ESDS/RRDS/SEQ) ===> SEQ (Default = SEQ)
Comma-delimited Output file ===> (YES, NO)
More: +
COPY LIBRARY:
ISPF: PROJECT ===>
GROUP ===>
TYPE ===>
MEMBER ===> (Blank or pattern for member selection list)
INSYNC HANDBOOK
94 CHAPTER 8 ■
Working in batch ■
How do I specify a batch option?
JOB STATEMENTS:
===> //M4PINO JOB (000),'PROGRAMMER',CLASS=A,MSGCLASS=T
===>
===>
===>
Check that the job statements are correct, and then press Enter.
INSYNC HANDBOOK
What on earth does that batch stream mean?
95
LIBRARY OPTIONS:
Replace like named members ===> YES (YES, NO)
Here you can either discard the batch stream, or save it in a specified
member for future submission. Press Enter to return to the Batch
Options menu.
The statements here are more or less constant. The only values liable
to change are the input and output datasets, specified by the DD
names #INDD and #OUTDD respectively:
//STEP1 EXEC PGM=INSYNC,PARM=MVS
//*
//STEPLIB DD DISP=SHR,DSN=IN.ALPHA.LOADLIB
//*
//#ELIBDD DD DISP=SHR,DSN=IN.ALPHA.ELIB
//SYSTSPRT DD SYSOUT=*
//#LOG DD SYSOUT=*
//#PRINT DD SYSOUT=*
Your input and //#INDD DD DSN=INO.TRG.DEM.POLICY1.SEQ,DISP=SHR
//#OUTDD DD DSN=INO.TRG.DEM.POLICY4.SEQ,DISP=SHR
output datasets //#PARM DD *
The final part is InSync’s batch processing language. The first line is
always FUNCTION= to specify which batch option is to be performed.
Following that are any number of keyword=value lines, each
specifying some detail of that function’s behaviour:
INSYNC HANDBOOK
96 CHAPTER 8 ■
Working in batch ■
What on earth does that batch stream mean?
FUNCTION=EXTRACT
There’s always a INDD=#INDD
single FUNCTION OUTDD=#OUTDD
statement RDW=OFF
LANGUAGE=COB
REPLACEDUPS=NO
These KEYWORDS ADDTOOUTPUT=NO
LINESPERPAGE=065
are the parameter FORMATDSN=(INO.TRG.DEM.PRODCOPY)
values for the FORMATMBR=(POLREC)
function SEARCHDATA=(YEARS-NCD,GT,Z'05')
Statement Meaning
FUNCTION=EXTRACT In this step, InSync will copy selected
records from one dataset to another.
INDD=#INDD Supply the function with the input and
OUTDD=#OUTDD
output datasets, whose names you typed
on the Dataset Specification panel.
RDW=OFF A variable-length Record Descriptor
Word is not treated as a field in the record.
This value is based on the current
RDW ON|OFF setting in your user profile.
LANGUAGE=COB You specified that the copybook is written
in COBOL, or InSync found it to be so.
REPLACEDUPS=NO You typed NO for If keyed, replace
equal keyed records.
ADDTOOUTPUT=NO You typed NO for Add to existing
records in dataset.
LINESPERPAGE=065 From the JCL Specification panel.
FORMATDSN= The copybook member whose name you
(INO.TRG.DEM.PRODCOPY)
FORMATMBR=(POLREC) typed on the Dataset Specification panel.
SEARCHDATA= The condition you typed on the Selection
(YEARS-NCD,GT,Z'05')
Criteria panel.
INSYNC HANDBOOK
What about multiple-layout datasets?
97
You can see the same FUNCTION= line and all of the same keywords.
There are also a couple of additional ones brought into play: the CASE
and ENDCASE keywords which we previously encountered in ‘Can
InSync handle complex record layouts?’ on page 79.
INSYNC HANDBOOK
98 CHAPTER 8 ■
Working in batch ■
Can I create temporary values during a batch run?
Here you can see two CASEs, both having the same FORMATDSN=
and FORMATMBR= values. The first CASE has a SELECTDATA=
keyword to identify a subset of records; the second one doesn’t, and
thus acts as a default handler for records which weren’t selected by the
first CASE.
You can also see a new WRITE= keyword, specifying a DDname
which you’ve defined for this job step. When it encounters one of
these, InSync ignores the ‘standard’ output dataset defined by
#OUTDD and instead writes to the dataset which this DDname
specifies.
You might wonder how that WRITE keyword was created, since there
doesn’t appear to be a way of selecting this capability from the Batch
EXTRACT Specification panels. You’re right: there isn’t; we’ve added
it manually, by editing the generated batch stream. This is a common
InSync technique; use the panels to generate a job stream that does
roughly what you want, and then edit the stream to refine and extend
the job as required.
INSYNC HANDBOOK
Did you know?
99
INSYNC HANDBOOK
100 CHAPTER 8 ■
Working in batch ■
Did you know?
INSYNC HANDBOOK
101
CHAPTER 9
The InSync for DB2 User Guide and InSync for IMS User Guide give
full details of the material introduced in this chapter.
INSYNC HANDBOOK
102 CHAPTER 9 ■
DB2 and IMS databases ■
How do I work with DB2 tables?
Part of the installation process for InSync for DB2 is to define the
various DB2 systems running at your site. Each system is identified by
its DB2 Subsystem ID, and you can switch between systems by
changing the value of the DB2ID field.
Optionally, you can enter your SQLID value, and you can specify a
remote DB2 Location.
The basic layout of the panel is similar to that for the dataset BROWSE
option; these are the additional control fields:
INSYNC HANDBOOK
How do I work with DB2 tables?
103
Uncommitted
read
YES: InSync opens the NO: InSync won’t open
table even if another user the table if it’s locked.
has an Exclusive lock.
Relationship
DSN
This field is used only by the RELATE command – see
‘What’s this ‘relationship’ stuff all about?’ on page 106.
ENHANCED in 5.300 Type the name of a table to be viewed (this can be the full, 128-
Entry of long Creator
and Table/View names
character, long name) and type YES for Use selection criteria.
allowed
The Selection Criteria panel is displayed:
InSync SELECT - TABLE DSN8710.EMP ---------------------------------------------
COMMAND ===> SCROLL ===> PAGE
Select/order columns "S"/"n", Order rows "A(n)", "D(n)", enter WHERE clause
This is similar to the facility that you met much earlier – see ‘What are
“subset selection criteria”?’ on page 34 – but with some changes and
extensions:
■
you are shown the primary keys marked as “P1”, “P2”, etc., and (if
selected in your user profile) any foreignkey columns marked as
“F”;
■
you can specify that you want the rows sorted according to the
values of one or more columns, in ascending or descending
sequence;
ENHANCED in 5.300
■
you can specify that you wish to display only selected columns, or
Can now exclude
columns – as well as
to exclude selected columns, and you can define the sequence in
select columns
which columns are presented;
INSYNC HANDBOOK
104 CHAPTER 9 ■
DB2 and IMS databases ■
How do I work with DB2 tables?
Display this
column first
RHS of WHERE
clause
The navigation commands are the same as before. You can also use
the TFORMAT command to display several rows at the same time:
INSYNC HANDBOOK
How do I work with DB2 tables?
105
The basic layout of the panel is similar to that for the BROWSE option;
these are the additional control fields:
INSYNC HANDBOOK
106 CHAPTER 9 ■
DB2 and IMS databases ■
How do I work with DB2 tables?
ENHANCED in 5.300 Type the name of a table to be modified (this can be the full, 128-
Entry of long Creator
and Table/View names
character, long name) and press Enter. The first row in the table is
allowed
displayed.
Relationships In the online options BROWSE and EDIT, you can employ
online relationships (using RI information or defining a relationship dataset)
to work with rows from up to three related tables simultaneously.
For example, if you use RELATE RI while browsing a table, InSync
lists the relevant RI definitions in the DB2 catalog:
InSync ------------------ RELATED TABLE SELECTION ------------------ InSync
COMMAND ===> SCROLL ===> PAGE
The panel provides a list of tables which are dependent on the table
currently being displayed, together with the names of the
relationships. Select the appropriate item, and then press Enter. A
two-way split screen is used to display one row from the original table,
together with any dependent rows from the related table which you
selected. For example:
INSYNC HANDBOOK
How do I work with DB2 tables?
107
You can use RELATE twice, so that related rows from three tables are
simultaneously display. At any time only one of the tables is ‘active’
and scrollable; the JUMP command moves focus between them.
Relationships In the batch options R-EXTRACT, R-DELETE and R-LOAD, you must
in batch always define a relationship dataset. You can unload and reload data
from up to 100 related tables: these options provide a convenient way
of copying information from one database to another.
INSYNC HANDBOOK
108 CHAPTER 9 ■
DB2 and IMS databases ■
How do I work with IMS databases?
FORMAT LIBRARY: (to use concatenated library list, specify Member name only)
Dataset name ===>
Member name ===> (Blank or pattern for selection list)
Display Library List ===> YES (YES, NO)
INSYNC HANDBOOK
How do I work with IMS databases?
109
FORMAT LIBRARY: (to use concatenated library list, specify Member name only)
Dataset name ===>
Member name ===> (Blank or pattern for selection list)
Display Library List ===> YES (YES, NO)
Part of the installation process for InSync for IMS is to define the
various IMS systems running at your site. Each system is identified by
its IMS Subsystem ID, and you can switch between systems by
changing the value of the IMSID field. One of the properties of an
IMS system definition is whether to use dynamic PSBs.
The basic layout of the panel is similar to that for the dataset BROWSE
option; these are the additional control fields:
INSYNC HANDBOOK
110 CHAPTER 9 ■
DB2 and IMS databases ■
How do I work with IMS databases?
Before you can select a formatted display of your data, you must
have defined a format table – a mapping from segment types to
copybook members. A format table is very similar to the select tables
described in ‘Multiple layouts’ on page 79.
Key: 02AN960C10
LVL FIELD NAME FORMAT POS K DATA
********************************** TOP OF DATA ********************************
01 PART-INFO-REC G 1
02 PART-NO-ID C 2 1 K 02
02 PART-NO C 15 3 K AN960C10
02 FILLER1 C 9 18
02 ROOT-DESC C 20 27 WASHER
02 FILLER2 C 4 47 MAC4
********************************* BOTTOM OF DATA ******************************
ENHANCED in 5.300
Prompt message for If you successfully enter a Browse or Edit session by using new FIND
STORFIND command in
IMS Browse/Edit
criteria, you are prompted “Use STORFIND command to save FIND
criteria”. This enables you to save the FIND criteria in a PDS member
for re-use.
The navigation commands are the same as before. You can view in
single-segment formatted mode, single-segment unformatted mode,
and multiple-segment (full screen) unformatted mode.
INSYNC HANDBOOK
How do I work with IMS databases?
111
LEVEL SEGMENT
FORMAT LIBRARY: (to use concatenated library list, specify Member name only)
Dataset name ===>
Member name ===> (Blank or pattern for selection list)
Display Library List ===> YES (YES, NO)
The basic layout of the panel is similar to that for the BROWSE option;
these are the additional control fields:
INSYNC HANDBOOK
112 CHAPTER 9 ■
DB2 and IMS databases ■
How do I work with IMS databases?
Type the name of a database to be modified, and press Enter. The first
segment is displayed.
In full-screen mode, commonly-used line commands include:
insert a new I
segment
insert a new N → overtype_key
segment based on
the marked
segment
insert a new NA → overtype_key(s)
segment structure
based on the
marked segment
and its dependents
insert a copy of the R → specify_parent_key
marked segment
insert a copy of the RA → specify_parent_key
marked segment
and its dependents
delete marked D
segments
print marked P
segments
INSYNC HANDBOOK
How do I work with IMS databases?
113
INSYNC HANDBOOK
114 CHAPTER 9 ■
DB2 and IMS databases ■
How do I work with IMS databases?
INSYNC HANDBOOK
115
Index
INSYNC HANDBOOK
116 Index
D I
datasets 17, 21 IMS databases 14, 17, 108–113
administration 87 browsing 108
browsing 19–32 editing 111
comparing 69 extracting 113
editing 49–61 loading 113
extracting records 66 printing 113
inserting records 56, 64 inserting
navigating through 22, 25, 29 dataset records 56, 64
printing 73 InSync
rearranging fields 67 exiting 31
VSAM administration 86 starting 20
DB2 tables 14, 17, 102–107
browsing 102
copying 106
L
editing 105 loading
DB2 tables 106
extracting 106
IMS databases 113
loading 106
printing 106 log dataset 50, 51, 53, 61
relationships 106
display modes M
formatted 27, 28, 58, 59 menu options
multi-record 24, 27, 28, 59, 60 BATCH 93
INSYNC HANDBOOK
Index
117
INSYNC HANDBOOK
118 Index
51, 61
U
unformatted display mode 21, 24,
28, 58, 60
V
VSAM datasets 17, 86
VTOC administration 89
W
workarea 98
INSYNC HANDBOOK
INSYNC HANDBOOK
I N T E L L I G E N T • S Y S T E M S • M A N A G E M E N T
www.macro4.com