Вы находитесь на странице: 1из 12

National Clearing Cell – Mumbai OTHER UTILITIES

DFSORT
DFSORT is a member of IBM's Data Facility family of
products.
With DFSORT, you can
Sort :-Sorting is arranging records in either ascending or
descending order within a file
Merge:- combining two or more files of sorted records to form
a single data set of sorted records.
Copy :- copy data sets without any sorting or merging taking
place

Reserve Bank of India                                                                                                            1
Reserve Bank of India                                                                                                            1
National Clearing Cell – Mumbai OTHER UTILITIES

2. Other utilities of DFSORT: -


While sorting, merging, or copying data sets, you can also:
Select a subset of records from an input data set. You can
include or omit records that meet specified criteria.
Reformat records, add or delete fields, and insert blanks,
constants, or binary zeros.
Sum the values in selected records while sorting or merging
(but not while copying).
Alter the collating sequence when sorting or merging records
(but not while copying).

Reserve Bank of India                                                                                                            2
Reserve Bank of India                                                                                                            2
National Clearing Cell – Mumbai OTHER UTILITIES
DFSORT PRIMARY OPTION MENU

SELECT ONE OF THE FOLLOWING:


0 DFSORT PROFILE - Change DFSORT user profile
1 SORT - Perform Sort Application
2 COPY - Perform Copy Application
3 MERGE - Perform Merge Application
X EXIT - Terminate DFSORT

\----------------------------------------------------/
| \------------------------------------------------/ |
|| Licensed Materials - Property of IBM ||
|| ||
| | 5740-SM1 (C) Copyright IBM Corp. 1988, 1992. | |
| | All rights reserved. US Government Users ||
| | Restricted Rights - Use, duplication or ||
| | disclosure restricted by GSA ADP Schedule ||
|| Contract with IBM Corp. ||
| /------------------------------------------------\ |
/----------------------------------------------------\

ENTER SELECTION OR COMMAND ===>


Reserve Bank of India                                                                                                            3
Reserve Bank of India                                                                                                            3
National Clearing Cell – Mumbai OTHER UTILITIES

PANELS IN ORDER ARE:


SORT ENTRY PANEL: INPUT
SORT ENTRY PANEL : OUTPUT
SORT STATEMENT DATA ENTRY
CONTROL STATEMENT SELECTION
REVIEW CONTROL STATEMENTS
JOB SUBMISSION PANEL
(FOR BACKGROUND JOBS)

Reserve Bank of India                                                                                                            4
Reserve Bank of India                                                                                                            4
National Clearing Cell – Mumbai OTHER UTILITIES
LINE COMMANDS
Line commands are letters or numbers that represent commands
that modify lists of control fields. You enter these commands in
the LINE COMMAND field at the left of the screen and press
ENTER to process the command.
Line Commands Used in DFSORT Panels
I Insert a single unused field after a line.
Ix Insert x unused fields after a line.
I- Insert a single unused field before a line
I-x Insert x unused fields before a line.
D Delete a single field.
R Repeat a single field.
RR Mark the first and last fields of a block of fields to be repeated.
C Mark a single field to be copied.
M Mark a single field to be moved.
A Mark the destination when fields are to be moved or copied after a field.
B Mark the destination when fields are to be moved or copied before a field.
Reserve Bank of India                                                                                                            5
Reserve Bank of India                                                                                                            5
National Clearing Cell – Mumbai OTHER UTILITIES
STATEMENT ACTIVE
OPTION ===> NO (Various options)
INCLUDE ===> NO (Include only selected records)
OMIT ===> NO (Exclude selected records)
SUM ===> NO (Summarize/eliminate records with duplicate keys)
INREC ===> YES (Reformat records before sort)
OUTREC ===> NO (Reformat records for output)
ALTSEQ ===> NO (Changes to standard collating sequence)
MODS ===> NO (User exits)
RECORD ===> NO (Unavailable input format/length information)
DEBUG ===> NO (Various debugging options)
FREEFORM ===> NO (Free form entry of statements)

Reserve Bank of India                                                                                                            6
Reserve Bank of India                                                                                                            6
National Clearing Cell – Mumbai OTHER UTILITIES
FOR AND
Condition1 Condition2 Logical Expression
True True True
True False False
False True False
False False False
FOR OR
Condition1 Condition2 Logical Expression
True True True
True False True
False True True
False False False
Reserve Bank of India                                                                                                            7
Reserve Bank of India                                                                                                            7
National Clearing Cell – Mumbai OTHER UTILITIES

You can use the INREC STATEMENT DATA ENTRY panel to


reformat the fields in your input records before they are copied.
- Input fields describe the position and length of fields in the
input record to be placed in the reformatted record
- Input fields are placed contiguously in the reformatted record
unless you use output separators to change that. You can
specify a particular output column or boundary for the input
field and/or insert blanks, zeroes or strings between input
fields.

Reserve Bank of India                                                                                                            8
Reserve Bank of India                                                                                                            8
National Clearing Cell – Mumbai OTHER UTILITIES

You can reformat your input records by:


- Deleting or rearranging input fields
- Inserting separators (blanks, zeroes, character strings, or
hexadecimal strings) before, between, or after input fields
- Placing input fields or separators at particular columns
in the reformatted record
- Placing input fields on halfwords, fullwords, or doublewords.

Reserve Bank of India                                                                                                            9
Reserve Bank of India                                                                                                            9
National Clearing Cell – Mumbai OTHER UTILITIES
You can use the OUTREC STATEMENT DATA ENTRY panel to
reformat the fields in your input records before they are copied.
Both INREC and OUTREC allow you to delete fields, rearrange fields,
insert blanks, insert zeroes, and insert strings. INREC and
OUTREC differ in that OUTREC reformats your records after they
are copied and INREC reformats your record before they are copied.
Because it usually takes less time to copy short records, you should
generally use INREC to delete fields, and OUTREC to insert blanks,
zeroes, or character strings. Since rearranging fields does not change
the length of your records, it does not matter whether you use INREC
or OUTREC for that function.
You might find OUTREC easier to use than INREC, because
OUTREC lets you specify field positions for all control statements
based on the input record. (INREC requires that you specify field
positions for some control statements based on the reformatted record.)
However, INREC can improve performance when it's used to
make records significantly shorter.
Reserve Bank of India                                                                                                            10
Reserve Bank of India                                                                                                            10
National Clearing Cell – Mumbai OTHER UTILITIES

Reserve Bank of India                                                                                                            11
Reserve Bank of India                                                                                                            11
National Clearing Cell – Mumbai OTHER UTILITIES

THANK YOU

Reserve Bank of India                                                                                                            12
Reserve Bank of India                                                                                                            12

Вам также может понравиться