EasyManuals Logo

HP T6553 D45 User Manual

HP T6553 D45
326 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 #106 background imageLoading...
Page #106 background image
FUP Commands
File Utility Program (FUP) Reference Manual—523323-014
2-54
COPY: Copy Form Examples
COPY: Copy Form Examples
These examples demonstrate using the COPY command without tape DEFINES.
ï‚·
To copy the first 500 records of MYFILE to YOURFILE (two unstructured files in the
current default subvolume), where input records are 80 bytes and the data is
copied in 800-byte physical reads:
-COPY MYFILE, YOURFILE, COUNT 500, RECIN 80, BLOCKIN 800
ï‚·
To copy records from RELFILE (a relative IN file) to FILEB (FUP transfers zero-
length records and records containing data):
-COPY RELFILE, FILEB, NO COMPACT
ï‚·
To output the contents of the EDIT file MYTEXT to the printer $LASER:
10> FUP / OUT $S.#LASER, NOWAIT/ COPY MYTEXT
ï‚·
To copy a series of files onto magnetic tape, use a FUP COPY command for each
file and include the NO REWINDOUT option in each command except the last one:
-COPY FILE1, $TAPE, NO REWINDOUT
-COPY FILE2, $TAPE, NO REWINDOUT
-COPY FILE3, $TAPE
ï‚·
To return the files copied in the previous example from tape to disk:
-COPY $TAPE, NFILE1, NO REWINDIN
-COPY $TAPE, NFILE2, NO REWINDIN
-COPY $TAPE, NFILE3
ï‚·
To copy two records from the key-sequenced FILEX to FILEZ with a primary key
value specifying the starting record for FILEX:
-COPY FILEX, FILEZ, COUNT 2, FIRST KEY [ "U","P",89 ]
ï‚·
To copy all the files that have changed since a specified date (01/01/01) to a
backup tape:
-COPY $MOD.*.* WHERE MODTIME > 1 JAN 2001, $TAPE
ï‚·
To read records from a file (PERSONAL), translate them using a specific
translation table (MY_ENCRYPT), and copy them to another file (SECRET):
-COPY personal,secret,XLATE MY_ENCRYPT
ï‚·
To give the file you are copying a title and display four lines of the file (including the
title) on the terminal screen:
-COPY FILEZ, , TITLE, COUNT 4
Note. For examples of using the COPY command with tape DEFINEs, see the Guardian
User’s Guide .

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HP T6553 D45 and is the answer not in the manual?

HP T6553 D45 Specifications

General IconGeneral
BrandHP
ModelT6553 D45
CategorySoftware
LanguageEnglish

Related product manuals