Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is the purpose of 'CPYTOIMPF' command?

Answer Posted / yogesh

CPYTOIMPF – Copy to import file
The Copy To Import File (CPYTOIMPF) command copies an
externally-described file to an import file. The term
import file is used to describe a file created for purposes
of copying data between heterogeneous databases. The
import file (TOSTMF or TOFILE parameter) will be called the
to-file for this command.

TOSTMF: - Specifies the output stream file to which data is
to be copied
A stream file is a randomly accessible sequence of bytes,
with no further structure imposed by the system. The
integrated file system provides support for storing and
operating on information in the form of stream files.
Documents that are stored in your server's folders are
stream files. Other examples of stream files are PC files
and the files in UNIX systems. An integrated file system
stream file is a system object that has an object type of
*STMF.

TOFILE:- Specifies the database file to receive the copied
records.
The to-file can be any of the following file
types:

o source physical
file.

o if the file is not a source file, the file can have
only one non-numeric
field.
o program-described physical
file.

o externally-described physical file with one non-numeric
field.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the as400 called now?

937


what are the different types of data areas?

1627


What is the default access path of a file?

1033


how does the runqry show the output?

1345


how to define global parameter in ile ?

1115


when would you use or not use this approach?

1459


Difference Between Interactive & Batch Job?

1178


records can be read/update/deleted with which file?

1026


what are the limitations of cl (compare to rpg) ?

2220


what is the necessary keyword for non-join logical file?

1750


is their a difference in cobol400 for the release 5.2 and 6.1 at the as400.

2523


what keyword must be used with protect keyword ?

1677


how can I control the way a remote browser uses its cache?

1106


the maximum number of subfiles that can defined in a rpg program for one display file is ___ .

3191


http default port 80 is used by some other production http service. How can I create an http instance on another port to run cgidev2 and my future cgi developments?

1046