Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Converting VB to FB z/OS DFSORT: Getting Started SC23-6880-00 |
|||
You can convert a VB data set to an FB data set with OUTFIL's VTOF and BUILD or OUTREC parameters. All of the PARSE, BUILD, or OUTREC features are available (input fields, strings, editing, and so on). For VTOF, you specify the input positions of the VB input record (with the RDW), and the output columns of the FB output record (without the RDW). DFSORT does not include the RDW in the FB output records. Attention: You cannot specify OVERLAY, FINDREP,
or IFTHEN with VTOF.
The following JCL and DFSORT control statements convert a VB data
set with LRECL=104 to an FB data set with LRECL=100:
Up to 100 bytes of data starting at position 5 (after the RDW)
of the VB input record appears in the FB output record starting at
position 1. The FB output records are all 100 bytes long. By default,
if a VB input record has less than 100 data bytes, DFSORT pads the
output data with blanks on the right to 100 bytes. However, you can
change the padding character to anything you like with OUTFIL's VLFILL
parameter. For example, VLFILL=C'*' pads with asterisks and VLFILL=X'00'
pads with binary zeros:
|
Copyright IBM Corporation 1990, 2014
|