Hitachi Universal Storage Platform
ALL Rights Reserved
Contents
Preparing for Cross-OS File Exchange Operations
Performing Cross-OS File Exchange Operations
Index
Preface
Product Version
Intended Audience
Document Revision Level
Changes in this Revision
Referenced Documents
Document Organization
Icon Meaning Description
Document Conventions
Getting Help
Convention for Storage Capacity Values
Xii
Mail
Comments
Page
Overview of Hitachi Cross-OS File Exchange FX
Overview of Hitachi Cross-OS File Exchange FX
Page
Page
About Cross-OS File Exchange Operations
About Cross-OS File Exchange Operations
Components
FXoto System Configuration
3390-3A/9A/LA Volume Structure FXmto, FXotm FXoto
FX Volume Types
3390-3C/9C/LC, 3380-KC/3C Volume Structure FXotm
3390-3B/9B/LB Volume Structure FXmto
OPEN-xFMT Volume Structure FXoto
Page
Code Conversion CC Option
About Cross-OS File Exchange Operations
Default EBCDIC-ASCII Code Conversion Table for FCU
0123 4567 About Cross-OS File Exchange Operations
User-Defined Code Conversion Table
Pipe Function
Requirements
FAL/FCU Pipe Function Details
Pipe Function Process Outline
Padding PAD Option
Empty File Emp Option
Delimiter DEL Option
Page
VSE Record VSE Option
Record Description Word RDW Option
Data entity
FXmto Record Format Requirements
FXmto Operations
Record Format Requirements
Padding
FXmto with Fixed-Length Records No Padding, No Delimiters
FXmto with Fixed-Length Record Format
FXmto with Variable-Length Record Format
13 FXmto with Variable-Length Records Delimiters
12 FXmto with Variable-Length Records Padding
Page
14 FXmto with Variable-Length Records Padding and Delimiters
Multiple Volume Dataset/Serial Numbers
FXmto with Multiple Volume Datasets
Data Set Serial Number
FXotm Record Format Requirements
FXotm Operations
Source File Target Dataset See
Fixed-length FXotm Variable-length with delimiters
Record length
FXotm with Fixed-Length Record Format
Record length max − 4 bytes
Record length max − 3 or 2 bytes Data entity
17 FXotm with Fixed-Length Records Delimiters
18 FXotm with Fixed-Length Records Padding and Delimiters
19 FXotm with Variable-Length Records Delimiters
FXotm with Variable-Length Record Format
Record length + 1 or 2 bytes Data entity
FXoto Operations
Page
Page
AIX Shared Open Function
Shared Volume and FX Version
Object Version Description
Environment variable
Open Mode
Environment Variable Falnoreserve and Open Mode
AIX Reserve Function
Is disabled
AIX Reserved Retry Function
Environment Variables and Functions
Page
Bidirectional Data Transfer
Page
Page
Preparing for Cross-OS File Exchange Operations
Preparing for Cross-OS File Exchange Operations
System Requirements
Page
Support and OS Conditions
VSE Requirements and Restrictions
OS version RAID subsystem
Key
Support Matrix for VSE OS, VSE Parameter and Record Format
RL≦32756 BL≦32760
RL>32756 BL>32760
DatasetGetFileInformation DatasetGetFileInformationEx
Compiler Requirements
Platforms and Associated Operating Systems
Maximum Data Size
Maximum Data Size
Preparing for Cross-OS File Exchange Operations
Hdlm Platforms and Hdlm Versions
Interoperability with Hdlm
Platform Hdlm Version
Installing and Configuring the FX Volumes
Page
Cylinder # for Data Cylinder Extent
Write label failed
SequeNT Windows HP True64 Solaris
Sharing FX Volumes between Open-System Platforms
Linux
2000/200 Unix
Installing FAL/FCU on UNIX-Based Platforms
Installing the FAL/FCU Software
# rm fcu fal.o dataset.h $HOME/FcuMf
Usr/lib/X11/app-defaults
# uncompress /usr/bin/fcu.Z
Bit FAL/FCU Software
Installing FAL/FCU on Windows
Uninstalling FAL/FCU on Windows
Uninstalling the FAL/FCU Software on UNIX-Based Platforms
# rm /usr/bin/listvol
#rm /usr/bin/ppkeyset64 #rm /usr/bin/autoppkeyset64
Entering the FX License Key Code
FMT Utility Values
Creating FXoto Volumes Using the FMT Utility
01-XX-47 or
XX-YY/ZZ XX-YY/2x Earlier
596 15477 1493
23477 1589
564 11477 1397
532
To format an OPEN-x volume using the FX FMT utility for Unix
Important Note
FMT Utility for Windows 2000/2003/Windows NT
FMT Volser Used Message
10 FX Volume Association Parameters
Creating the FX Volume Definition Files
Number Name Function Enter
FX Volume Definition File for Solaris mto/otm Shown
FX Volume Definition File for NCR Unix
FX Volume Definition File for Digital Tru64 Unix oto Shown
13 FX Volume Definition File for Linux
11 z/OS Dataset Requirements
Verifying Mainframe Dataset Requirements
Allocating FXoto Intermediate Datasets
Preparing for Cross-OS File Exchange Operations
Page
14 ALC Utility for Windows 2000/2003/Windows NT systems
17 ALC Error Message
Hitachi USP V Cross-OS File Exchange User’s Guide
Using the Cross-OS File Exchange Software
FCU for Unix
Using the Cross-OS file Exchange Software
FCU Version and Copyright Screen
Page
FCU Version and Copyright Screen Unix
File Conversion Utility Screen
FCU Main Panel for Unix Platforms
Hitachi USP V Cross-OS File Exchange User’s Guide
Page
File Menu Commands
Help-Volume Display HP-UX Shown
FCU for Windows
Error Information Screen
FCU Version and Copyright Dialog
Page
FCU Main Panel for Windows 2000/2003/Windows NT Systems
File Conversion Utility Window
Page
Mainframe File Information Dialog
Volume Information Dialog
10 MF-File Information Panel
11 Option Panel
Option Dialog
Page
Execute Dialogs
Parameter Line Dialog
13 Execute Panel Showing Normal End
15 Execute Panel Showing Error End
Error Information Dialog
Log Files
XX-YY/2x Not Luse
Format Utility for Windows
3331
Bytes
Allocater = a
23477
9077
1044 3477 3860
7477
980 3189 3476
948 2933 3188
18 FMT Utility for Windows 2000/2003/Windows NT
20 FMT Format Complete Message
Allocation Utility for Windows
23 ALC Utility for Windows 2000/2003/Windows NT systems
25 ALC Allocation Complete Message
Hitachi USP V Cross-OS File Exchange User’s Guide
Page
Page
Performing Cross-OS File Exchange Operations
Performing Cross-Os File Exchange Operations
Starting the FCU GUI for Unix
Performing File Transfer Operations Unix
Hitachi USP V Cross-OS File Exchange User’s Guide
FCU Version and Copyright Screen Unix
Performing File Transfer Operations Unix
Page
Listvol VSN Function
Using the listvol Function Unix
Creating FCU Parameter Definition Files Unix
VSN Function
Creating Multiple Volume Definition Files Unix
Page
Using FCU from the Command Line Unix
Page
Hitachi USP V Cross-OS File Exchange User’s Guide
Using the -nc Option
Using FCU From the Unix Command Line
Using the -P param Option
Starting the FCU GUI
Performing File Transfer Operations Windows
Hitachi USP V Cross-OS File Exchange User’s Guide
Performing File Transfer Operations Windows
Hitachi USP V Cross-OS File Exchange User’s Guide
Page
Execute Panel Showing Normal End
Creating FCU Parameter Definition Files Windows
Hitachi USP V Cross-OS File Exchange User’s Guide
2illustrates the VSN function VSN Function
Creating Multiple Volume Definition Files Windows
Hitachi USP V Cross-OS File Exchange User’s Guide
Fcunw
Using FCU from the Command Line Windows
Hitachi USP V Cross-OS File Exchange User’s Guide
Performing File Access Library FAL Operations
GetVolSers
FAL Requirements
Converting Dataset Attribute Information
FAL Functions
Opening a Dataset
DatasetHandle = datasetOpen pathname, mode
DatasetOpen Function
Value Type Description
DatasetGet Function
Reading Data
Reclen = datasetGet datasetHandle, buf, buflen
DatasetPut Function
Writing Data
Reclen = datasetPut datasetHandle, buf, buflen
Reclen Long Data entity size written into the dataset
DatasetGetLastError Function
Acquiring Error Information
Closing a Dataset
DatasetClose Function
Acquiring Dataset Attributes
DatasetError = datasetGetFileInformation pathname, &ffd
DatasetGetFileInformation Function
Delimiter = colon, no spaces
Argument Pathname Char
DatasetFindFirstFile Function
DatasetError = datasetFindClose datasetHandle
DatasetError = datasetFindNextFile datasetHandle, &ffd
DatasetFindClose Function
Value
Error end
DatasetError = datasetGetRecfmString recfm, text
DatasetError = datasetGetDsorgString dsorg, text
Converting do and RF Information
10 DatasetGetDsorgString Function
Argument Recfm
Using the FAL Functions
Build and execute
Add Nomt to the preprocessor definitions field
Example of Reading Data from an z/OS Dataset Using FAL
Example of Acquiring z/OS Dataset Attributes Using FAL
DatasetFindFirstFile, datasetFindNextFile, datasetFindClose
Multi-Thread Function
Argument Type Description
Information Storage Area
13 Arguments, Types and Descriptions for Open Data Set
Open Dataset
Mode
Page
14 Arguments, Types and Descriptions for Read Data
Read Data
For datasetGet
For datasetGet2
15 Arguments, Types and Descriptions for Write Data
Write Data
Close Dataset
Format datasetError=datasetCloseglobal,gerror
16 Arguments, Types and Descriptions for Close Dataset
Free Information Stored Area
Format memError= datasetFreeGlobaldgpp, derrno
Initialize Target Record Pointer
Format datasetError=datasetRewindglobal,gerror
Long Abnormal end
Dataset attribute information stored area
Get Dataset Attribute Information
Get Multiple Dataset Attribute Information
Global Void Gerror Long Ffd
Dataset handler
Datsethandle
Return value datasetError Long Abnormal end
Add falmt.lib to the OBJECT/LIBRARY Module column
Compiling
23 FAL Multi-thread Error Codes
Error Information
20, -23
FAL Usage Scenario
Example 1 read data flowchart
Hitachi USP V Cross-OS File Exchange User’s Guide
Troubleshooting
Troubleshooting
Troubleshooting
Error Condition Recommended Action
FAL Error Codes
Error Codes and Messages
Error Code Error Message and Description
Recommended Actions
Internal error of FAL
Specified volume is not defined
Than the actual record length
Vtoc are illegal
Volume definition file exceeded
Data set isn’t exist in the next volume
Volume definition file
Next VSN is specified in the multiple volume
End of Vtoc was detected
End of File EOF was detected
FCU Error Codes for Unix
FCU Error Codes for Unix
Error
Not correct 117 Parameter Dataset name error
Valid 110 Parameter file Open error
Incorrect 119 Input file Open error
120 Overwrite ? OK/Cancel
Specified volume is correct
Volume definition file 125 Volume definition VSN error
Error
Volume definition file is Incorrect 127
Recommended Actions Code
Directory error
171 Output file Close error
204 Parameter RDW select error
205 RDW error Codeconv not
Parameter file 220 Parameter VSE select error
207 RDW error Delimiter not
Not found 231 Code conv. table Open error
Not be opened 233 Code conv. table Close error
Function 319 Dataset Open error
Delimiter setting is not Must be CR, LF or Crlf
350 Input file Open error
351 Output file Open error
Unix file 361 Output file Write error
360 Input file Read error
363 Get processing data error
Failed 370 Input file Close error
Volume Definition file is too long 400
Length error
399
Specify only one file name as the input file
4FCU Error Codes for Windows 2000/2003/Windows NT Systems
FCU Error Codes for Windows Systems
125 Volume definition MFtype Length error Incorrect
121 Volume definition file Length error
132 Dataset Information get error
133 Dataset Organization error
Mainframe file 170 Open system file Open error
154 Mainframe file Record format error
Check if any system error is reported
System file 174 Open system file No data error
301 Mainframe file name Length error
300 Parameter definition file Length error
302 Opensystem file name Length error
305 VSE record-format Length error
Specify the block length for VSE less than 6 characters
307 VSE block-length Length error
Calling the Support Center
Page
Continues on following
Table A-1 Default FCU EBCDIC-ASCII Conversions
Ebcdic Ascii Hex Ebcdic Ascii Hex Ebcdic Ascii Hex Ebcdic
EBCDIC-ASCII Code Conversion
Ebcdic Ascii Hex Ebcdic Ascii Hex Ebcdic Ascii
Ebcdic Ascii Hex Ebcdic Ascii
Hitachi USP V Cross-OS File Exchange User’s Guide
Page
Page
Acronyms and Abbreviations
Acronyms and Abbreviations
MVS TM
Acronyms-3
Acronyms-4
Index
Target code values, 2-8 TimeOutValue
Hitachi USP V Cross-OS File Exchange User’s Guide
Hitachi USP V Cross-OS File Exchange User’s Guide
Hitachi USP V Cross-OS File Exchange User’s Guide
Hitachi USP V Cross-OS File Exchange User’s Guide
Hitachi Data Systems Corporate Headquarters