Use the AFP2MVS utility to record-orient an AFP file that has been transferred to z/OS (MVS, OS/390) from a Windows or UNIX-based system.
When an AFP file such as a print stream, font, or a page segment is uploaded from Windows or UNIX to a z/OS system, the resulting AFP file is not oriented into separate records — instead it looks like one continuous record. For the AFP file to be properly processed on z/OS, it must be oriented into separate records.
Because of the structure of AFP records, these records can be separated fairly easily. Each AFP record usually begins with a 0x5A byte. In the EBCDIC character set, this value (code point) is displayed as an exclamation point (!). Following the 0x5A byte is the length of the record. The AFP2MVS utility reads through the AFP file, separates the file into records and writes the resulting record-oriented file out as an output file. If you were then to browse the file, the 0x5A records (first byte displayed as an exclamation point) would display one per row.
AFP2MVS /I /L
Keep in mind...
Data Set Name . . . . : FSI.V112.RPEX1.GENPRINT.PRTBAT1.FROMPC
General Data Current Allocation
Management class . : **None** Allocated cylinders : 1
Storage class . . . : STANDARD Allocated extents . : 1
Volume serial . . : DCI009
Device type. . . . :3390
Data class . . . . : **None** Current Utilization
Organization . . : PS Used cylinders . . : 0
Record format . . . : VBM Used extents . . . : 0
Record length . . :8209
Block size . . . . :23500
1st extent cylinders: 1
Secondary cylinders : 1
Data set name type : SMS Compressible.: NO
© Copyright 2015, Oracle and/or its affiliates. All rights reserved. Legal notices.