REFORMAT Examples


 

The following are examples of the REFORMAT utility:

Example 1:

REFORMAT MYFILE,YOURFILE

 

Copy all of the records in MYFILE.TXT into YOURFILE.TXT. The output file is space compressed.

Example 2:

REFORMAT MYFILE,YOURFILE -B3

 

As above, except the output file is blocked 3 records per sector with no space compression.

Example 3:

REFORMAT MYFILE,YOURFILE -PK

 

As above, except the output file is blocked 'n' records per sector with no space compression. MYFILE.TXT is deleted after completion of the REFORMAT.

Example 4:

REFORMAT XFILE,ZFILE -RL54T

 

Copy all of the records in XFILE.TXT into ZFILE.TXT. The output file is record compressed with all records 54 characters long. Any records shorter than 54 characters are padded with blanks. Any records longer than 54 characters are truncated.

 

 

See Also: REFORMAT, Utilities

 



System Utilities