04 ch01 file-aid batch

8
Chapter 1 GETTING STARTED SYS-ED/ Computer Education Techniques, Inc.

Upload: surya-tej

Post on 06-Mar-2015

92 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: 04 Ch01 File-AID Batch

Chapter

1

GETTING STARTED

SYS-ED/ Computer Education Techniques, Inc.

Page 2: 04 Ch01 File-AID Batch

File-AID Batch Getting Started

Objectives

You will learn:

• File-AID Batch features.

• error messages and File-AID reports.

• Coding function, modifiers and parameters.

• Batch commands and format.

SYS-ED/COMPUTER EDUCATION TECHNIQUES, INC. (File-AID_BATCH – 5.9) Ch 1: Page i

Page 3: 04 Ch01 File-AID Batch

File-AID Batch Getting Started

1

1 File-AID/Batch: Purpose and Function

Compuware’s File-Aid Batch is a mainframe data manipulation program which consolidates the functions of the standard IBM utilities.

File-AID/Batch is used to:

• Copy records or portions of records from one dataset type to another.

• Print record data in four formats.

• Change records of any length on any type of dataset; such as enlarging data fields and adding new data fields.

• Process datasets selectively to display or update information.

• Recognize logical JCL continuations.

• Accumulate totals to verify reports.

• Reformat records.

• Read all VSAM and sequential datasets forward or backward.

SYS-ED/COMPUTER EDUCATION TECHNIQUES, INC. (File-AID_BATCH – 5.9) Ch 1: Page 1

Page 4: 04 Ch01 File-AID Batch

File-AID Batch Getting Started

2 File-AID/Batch: Accessing and Using

Standard JCL is coded for accessing the File-AID/Batch product. Control statements direct File-AID/Batch to the function that is to be performed. Parameters can limit the parts of the file that are processed and can direct secondary processes. File-AID has nine functions that provide hardcopy output of records: • APRINT • DUMP • LIST

• FPRINT • PRINT • RLPRINT

• SCPRINT • VPRINT • XRPRINT

SYS-ED/COMPUTER EDUCATION TECHNIQUES, INC. (File-AID_BATCH – 5.9) Ch 1: Page 2

Page 5: 04 Ch01 File-AID Batch

File-AID Batch Getting Started

2.1 Function and Modifier Descriptions

A function is a code word that describes the operation to be performed on an input dataset. A function modifier is a code word appended to a function that changes or controls the way the function operates. Function modifiers are used in File-AID/Batch to enhance the capabilities of functions. Three function modifiers are available:

ALL Allows a function to process an entire dataset.

BACK Permits backward processing of all record formats of sequential and VSAM datasets.

MEM Selects members within a PDS based on the content of the member.

2.2 Parameter Descriptions

Parameter Description

ABEND Alters default abend handling procedures.

ACCUM Accumulates totals while a function is executing.

AMODE Specifies the address mode to select.

AND Creates a logical AND condition when used with an IF parameter.

CEM Copies empty members of a partitioned dataset.

CHANGED Select a group of members from a PDS based on a range of last modified dates.

CHARSET Specifies which language to use.

COPTNS Specifies additional options for condensed compare reports.

CREATED Select a group of members from a PDS based on a range of creation dates.

DFLT_WRITE Specifies a default output file to use during a USER function.

DROP Controls maximum number of records dropped by the DROP function.

DSNAME Limits VTOC processing to a specified dataset name.

DUMP Prints records in hexadecimal format.

EDIT Changes first occurrence of data in a record.

EDITALL Changes multiple occurrences of data in a record.

ELSE Enables you to code actions to perform when the preceding conditional statement is false.

SYS-ED/COMPUTER EDUCATION TECHNIQUES, INC. (File-AID_BATCH – 5.9) Ch 1: Page 3

Page 6: 04 Ch01 File-AID Batch

File-AID Batch Getting Started

Parameter Description

ERRS Defines the number of allowable data checks per volume per execution.

EXPAND Specifies whether to expand the nested CA-Librarian or CA-Panvalet INCLUDE statements.

FEOV Forces end-of-volume (EOV) processing for the output tape dataset when the input tape dataset reaches EOV.

FIELDS Defines the fields to include from each record in the VPRINT vertical formatted print report.

FORM Controls processing when JCL is read, updated, or printed. Also controls whether multiple passes are made on a dataset, audit report format, and other options.

FPRINT Prints data formatted according to a COBOL or PL/I record layout.

IF Selects records for a function based on selection criteria.

IN Controls the number of records read for processing.

INVALID Specifies how to process invalid data fields with the XMLGEN function.

IOEXIT Specifies input and output I/O exit names.

KEY Processes data beginning with a specific key.

KEYINFO Provides KEY information when converting File-AID for IMS XREFs.

LANGTYPE Selects members based on CA-Panvalet language type.

LAYOUT Specifies DDxxRL dataset member for FPRINT function or parameter.

LINKDATE Selects a group of members from a PDS based on the member's link date.

LIST Prints alphanumeric data without record number or record length.

LPI Specifies lines per inch when printing.

MAP Specifies DDxxRL dataset member for FPRINT function or parameter. Alias of LAYOUT.

MAXENT Extends area in which File-AID parameter information is stored beyond the default limit.

MAXOUT Processes more than eight user-controlled output datasets per execution.

MBRNAME Select a group of members from a PDS based on a range of member names.

MEMBER Processes specified member within a PDS.

MEMBERS Selects groups of members from a PDS using a mask.

MOVE Builds output record by moving data to it.

SYS-ED/COMPUTER EDUCATION TECHNIQUES, INC. (File-AID_BATCH – 5.9) Ch 1: Page 4

Page 7: 04 Ch01 File-AID Batch

File-AID Batch Getting Started

Parameter Description

NEWMEM Names a new member of an output PDS.

NEWMEMS Names multiple new members of an output PDS using a mask.

ORIF (OR) Creates a logical OR condition when used with a preceding IF parameter.

OUT Controls maximum number of records written to output dataset.

PADCHAR Specifies fill value used when lengthening a record.

PANSTAT Selects members based on CA-Panvalet status type.

PDSSTAT Maintains PDS member statistics when updating partitioned datasets.

PRESERVE Maintains trailing blanks (spaces) in variable length records. Valid only for COPY and USER.

PRINT Prints alphanumeric data with record number and record length.

PRTRECS Specifies whether to include changed, inserted, deleted, and matched records in the Compare report.

RBA Begins function at a relative byte/block address (RBA).

RDW Controls inclusion/exclusion of record descriptor word (RDW) during variablelength record processing.

READNEXT Ends processing of the current record and starts the function over with the next record.

REFOUT Specifies which record to copy when executing a reformat definition.

REPL Replaces first occurrence of data in a record with other specified data.

REPLALL Replaces multiple occurrences of data in a record with other specified data.

RLM Controls the replacing of PDS members when copying.

RLPRINT Prints the associated record layouts when printing XREFs (XRPRINT function only).

RMODE Specifies the residency mode to select.

RRN Specifies a relative record number for VSAM RRDS and BDAM files.

SELECT Selects every nth occurrence of a record for processing.

SHOW Specifies the report format for a record layout printed with the FPRINT function.

STOP Stops function when a given condition is found.

TYPRUN Specifies to validate the compare criteria file without comparing the data.

UNIT Specifies a generic unit name for VTOC functions.

SYS-ED/COMPUTER EDUCATION TECHNIQUES, INC. (File-AID_BATCH – 5.9) Ch 1: Page 5

Page 8: 04 Ch01 File-AID Batch

File-AID Batch Getting Started

Parameter Description

USERID Select a group of members from a PDS based on a range of user IDs.

VOLSER Specifies a volume serial number for VTOC functions.

VOLSTAT Specifies a volume status for VTOC functions.

VPRINT Prints data vertically formatted according to a PL/I or COBOL record layout.

WRITE Writes newly created record to output dataset (USER function only).

SYS-ED/COMPUTER EDUCATION TECHNIQUES, INC. (File-AID_BATCH – 5.9) Ch 1: Page 6