EasyManua.ls Logo

HP StorageWorks P9000 User Manual

HP StorageWorks P9000
322 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #44 background imageLoading...
Page #44 background image
Creating a Field Definition File
Create a Field Definition file to specify the position of the fields to be converted, the type of conversion
to be performed on those fields, how the result should be edited and output to the output record, and
the length of the output field.
A Field Definition file is created for each record format (field configuration) found in the database
data file to be converted. For each field in the input record, specify its position, length, type of code
conversion to be performed, and output length, in the format described below.
Use editors such as vi to create the Field Definition file as a text file. The maximum file size is 1,000
lines, including comments. To use the file, store it in the current directory of the open systems (UNIX/PC
server).
The Field Definition file consists of field definition statements, an end statement, and comments.
Field Definition Statement
Specify a line for a field definition statement for each field in the input record in the order they appear,
starting from the first field of the record (Figure 26).
Figure 26 Field Definition Statement
.
fld: Keyword (reserved word) to indicate a field definition statement.
relative_byte_position: Specify a relative byte position within the record to indicate where the field
begins, using a decimal value starting from 0.
input_field_length: Specify the byte length of the input (source) field using a decimal value.
field_attribute: Specify the type of code conversion to be performed on the field as follows:
Suppress output : SKIP
No code conversion: NOP
Alphanumeric character conversion: CHAR:OPnn fFor OPnn, see Table 7 on page 50)
Double-byte character conversion: KANJI:OPnn (for OPnn, see Table 7 on page 50)
Numeric conversion: NUM:OPnn (for OPnn, see Table 8 on page 50)
output_field_length: Specify the byte length of the field's output (target) area, using a decimal
value. This parameter can be omitted if the length is the same as the byte length of the input field.
This parameter must be omitted for fields with no code conversion and fields that suppress output.
If the field is the last field in the record and if the rest of the record is included in this last input
field, the byte length of the input field can be simply specified with end as shown below (because
you do not need to specify a specific value, this allows you to create a field definition state-
ment/Field Definition file for multiple data sets/records that is the same except for the length of
the last field) (Figure 27):
Figure 27 Last Field In The Record
.
Using Data Exchange Code Converter44

Table of Contents

Other manuals for HP StorageWorks P9000

Questions and Answers:

HP StorageWorks P9000 Specifications

General IconGeneral
RAID SupportRAID 0, 1, 5, 6, 10
InterfaceFibre Channel, iSCSI, FCoE
Form FactorRack-mountable
ModelP9000
Operating System CompatibilityWindows, Linux, VMware, HP-UX
Host InterfaceFibre Channel, iSCSI, FCoE
Drive InterfaceSAS, SSD
Drive Types SupportedSSD, SAS
RedundancyRedundant controllers, power supplies, and fans
Management SoftwareHP StorageWorks Command View

Summary

1 Overview of HP StorageWorks Data Exchange Software Code Converter

Overview of Code Converter

General introduction to the Data Exchange Code Converter functionality and its purpose.

Data Exchange Code Converter Process

Describes the operational flow and components involved in the Data Exchange Code Converter.

2 Code Converter Functions

Alphanumeric Character Conversion Function

Details the process of converting alphanumeric character data, focusing on single-byte codes.

Double-byte Character Conversion Function

Explains double-byte character conversion, including mixed single and double-byte data.

Numeric Conversion Function

Covers the conversion of numeric data fields, including process flow.

3 System Requirements and Installation

System Requirements

Lists the necessary hardware, software, and release notes for the Code Converter.

Installation Media for UNIX-based Systems

Details the files and their locations provided on the installation media for UNIX.

Installing and Uninstalling for UNIX Systems

Step-by-step guide for installing, uninstalling, and upgrading on UNIX systems.

License Key Input

Explains how to input the license key required for Code Converter operation.

4 Using Data Exchange Code Converter

Data Exchange Code Converter User Process Flow

Illustrates the user's workflow for performing data conversion operations.

Database Data File Record Format

Describes the supported record formats and field positions for data files.

5 Mainframe to Open System (MTO) Character Code Conversion

Overview of Character Code Conversion

Introduces MTO conversion, including EBCDIC to ASCII and IBM Traditional Chinese to Big5.

Alphanumeric Field Conversion (CHAR:OPK4)

Details the specific conversion of alphanumeric fields in MTO.

6 Open System to Mainframe (OTM) Character Code Conversion

Overview

Introduces OTM conversion, including ASCII to EBCDIC and Big5 to IBM Traditional Chinese.

Customizing the Code Conversion Table

Explains how to customize the code conversion table for OTM.

7 Numeric Conversion

Packed Decimal Conversion (NUM:OPA1)

Details the conversion of packed decimal numeric data.

Zoned Decimal Conversion (NUM:OPA2)

Explains the process for converting zoned decimal numeric data.

8 Customizing the Code Conversion Table

Operation Overview

Provides a high-level overview of the code conversion table customization process.

Definition Statement Syntax

Describes the syntax rules for defining conversion statements used in customization.

Command Syntax for UNIX Systems

Explains the command syntax for customizing tables on UNIX systems.

9 Troubleshooting

Error Codes

Lists and explains common error codes and their meanings.

ccnv Messages

Details the format and interpretation of messages generated by the ccnv utility.

Calling HP Technical Support

Provides guidance on what information to gather before contacting HP support.

10 Support and Other Resources

Related Documentation

Lists other relevant HP documents for further information.

HP Technical Support

Information on how to obtain technical support from HP.

A Edit Option File

B HOSTBIG5

C EBCDIC-ASCII Code Conversion

Glossary

Related product manuals